No connection from clients to 3CX server, test firewall OK.

Discussion in '3CX Phone System - General' started by philduvlu, Sep 5, 2013.

Thread Status:
Not open for further replies.
  1. philduvlu

    Joined:
    Sep 4, 2013
    Messages:
    4
    Likes Received:
    0
    Hello,

    I spend lot of time to find the response to my problems on the internet, without success.
    I rent a VPS with Windows 2012 Std where I installed 3cx phone system.
    The Windows's Firewall is done in these test session because my VPS is protected by a hardware firewall where I opened ports 5060 and 5090 TCP and UDP (INPUT), I let also the 5060 opened in OUTPUT but I can deleted it, only 9000 ports can be configured in Output. I opened ports from 9000 to 9007 (I'm limited to 20 others free ports to configure on the firewall), so I will be limited to 4 simultaneous calls, enough for us, and too much for the test version.

    Firewall test is OK, green for all lines.

    Here is the two logs that come when I try to connect my 3CX phone client on my Iphone, thanks to help me to configure 3CX (maybe the server of firewall) in order to be able to test 3CX:

    10.0.0.41 is the local IP address of the server and 185.7.214.48 the Public IP.

    ----- first log:

    SIP request (SUBSCRIBE) from 178.254.99.137 was rejected. Reason: Block WAN requests is ON.
    Message:
    SUBSCRIBE sip:21@10.0.0.41:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.36:5060;rport=61086;branch=z9hG4bKPjn6abJwZtqrzgLXh8SPxefvuVq9wWXqWt;received=178.254.99.137
    Max-Forwards: 70
    Route: <sip:10.0.0.41:5060;lr>
    Contact: "Philippe Duvivier"<sip:21@192.168.1.36:5060;ob>
    To: "Philippe Duvivier"<sip:21@10.0.0.41:5060>
    From: "Philippe Duvivier"<sip:21@10.0.0.41:5060>;tag=LpBwLfg3J43uNtO4yt9ohRagASEyHHuS
    Call-ID: AmDSoXYTbTuQkL5aq8NL7xV0BZ1CCz3x
    CSeq: 31399 SUBSCRIBE
    Expires: 3600
    Accept: application/simple-message-summary
    Proxy-Authorization: Digest username="21",realm="3CXPhoneSystem",nonce="414d535c08390f4258:8141d6cffcf8ec75c3798a07094d2997",uri="sip:21@185.7.214.48:5060",response="542529dd7fe7100da004c237bcc0c95d",algorithm=MD5
    Supported: replaces, 100rel, timer, norefersub
    User-Agent: 3CXPhone for iPhone 3.0.41
    Event: message-summary
    Allow-Events: presence, message-summary, refer
    Content-Length: 0

    -------- second log:

    SIP request (REGISTER) from 178.254.99.137 was rejected. Reason: Block WAN requests is ON.
    Message:
    REGISTER sip:10.0.0.41:5060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.1.36:5060;rport=61086;branch=z9hG4bKPjL0YgsQPjfYjBH5f8g4Cxj7NVOiUr.lib;received=178.254.99.137
    Max-Forwards: 70
    Route: <sip:10.0.0.41:5060;lr>
    Contact: "Philippe Duvivier"<sip:21@192.168.1.36:5060;ob>
    To: "Philippe Duvivier"<sip:21@10.0.0.41:5060>
    From: "Philippe Duvivier"<sip:21@10.0.0.41:5060>;tag=FZunnqh8w6aAGEhX-js5Y0adXZU5yF8d
    Call-ID: btPEkbr2D7MWfqNHO8cfsWRSqoFKrqw9
    CSeq: 12908 REGISTER
    Expires: 3600
    Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
    Proxy-Authorization: Digest username="21",realm="3CXPhoneSystem",nonce="414d535c08390f4213:bb3c4678c47ab4c91903210b3113a85d",uri="sip:185.7.214.48:5060",response="ca59cf229aafc473a35911ef8a196fe0",algorithm=MD5
    User-Agent: 3CXPhone for iPhone 3.0.41
    Content-Length: 0

    --------
    Thanks for your help.

    Kind Regards
    Ph. Duvivier
     
  2. ian.watts

    ian.watts Active Member

    Joined:
    Apr 8, 2011
    Messages:
    532
    Likes Received:
    0
    Re: No connection from clients to 3CX server, test firewall

    Check your extension config.. by default you cannot register an extension outside of the LAN.. and you run it on a VPS, you have no LAN really..

    Same thing when I set it up on an Amazon instance.. it is common.
     
  3. philduvlu

    Joined:
    Sep 4, 2013
    Messages:
    4
    Likes Received:
    0
    Re: No connection from clients to 3CX server, test firewall

    Thank you Ian,

    You help me to search more in the extension options.
    In the French interface, the label is cutted, so you can just read "Unabled the recording of this extension outside".
    When you put the mouse cursor on the Hint link, you can read the end "of the LAN network", rrrhrr.
    They have to pay attention with the show labels, with all the options of this fabulous software.

    Kind Regards.
    Ph. Duvivier
     
  4. philduvlu

    Joined:
    Sep 4, 2013
    Messages:
    4
    Likes Received:
    0
    Re: No connection from clients to 3CX server, test firewall

    Hello,

    That's crazy, extensions are connected, VoIp provider too, and when I call the number, 3cx system doesn't receive the call.
    My configuration was perfectly working two years before, my problem was just to authorize extention to be logged on the 3cx server. Now it's working, 3cx doesn't respond to call.
    I configure my Fritzbox like an extension in 3cx, in this way, we can continue to send call through the 3CX system who will record them.
    I tried with and with or without STUN started in network parameters, 3cx system doesn't receive the calls. I tried from two providers who was already working before, same problem. I can just call between the extension, but from Iphone 3cx phone application to extension of the Fritzbox. From Fritzbox extension (correctly registered on the 3cx server) to my Iphone, it is not working.
    Do you have an idea ?

    Kind Regards.
    Ph. Duvivier
     
Thread Status:
Not open for further replies.