Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

External extension can't call internally

Discussion in '3CX Phone System - General' started by teichhei, Oct 14, 2009.

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

    Joined:
    Oct 11, 2009
    Messages:
    29
    Likes Received:
    1
    Hi,

    I set up a GXP2000 and a S685IP as external connections according the youtube nugget. I don't know what the [x*]. is good for though. If I call the S685IP, it rings, but there is no audio at all. It registers to a dyndns domain and I put that domain name in everything, took it back out of Outgoing Proxy, but it's always the same.
    That's happening when I call the extension:

    19:50:40.385 [CM503008]: Call(10): Call is terminated
    19:50:35.886 [MS210007] C:10.2:Answer provided. Connection(by pass mode): 192.168.102.102:5024(5025)
    19:50:35.886 [MS210001] C:10.1:Answer received. RTP connection[unsecure]: 192.168.102.102:5024(5025)
    19:50:35.886 Remote SDP is set for legC:10.1
    19:50:35.745 [MS210006] C:10.1:Offer provided. Connection(by pass mode): 192.168.100.107:5014(5015)
    19:50:35.745 [MS210000] C:10.2:Offer received. RTP connection: 192.168.100.107:5014(5015)
    19:50:35.745 Remote SDP is set for legC:10.2
    19:50:34.121 Session 476 of leg C:10.1 is confirmed
    19:50:34.011 [CM503007]: Call(10): Device joined: sip:200@77.23.137.xx:5070
    19:50:34.011 [CM503007]: Call(10): Device joined: sip:102@192.168.102.102:5060;line=55326
    19:50:34.011 [MS210007] C:10.1:Answer provided. Connection(by pass mode): 77.23.137.xx:5014(5015)
    19:50:34.011 [MS210001] C:10.2:Answer received. RTP connection[unsecure]: 77.23.137.xx:5014(5015)
    19:50:34.011 Remote SDP is set for legC:10.2
    19:50:16.109 [CM505001]: Ext.200: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [S685IP021910000000] PBX contact: [sip:200@192.168.102.1:5060]
    19:50:16.093 [CM503002]: Call(10): Alerting sip:200@77.23.137.xx:5070
    19:50:15.546 [CM503025]: Call(10): Calling Ext:Ext.200@[Dev:sip:200@77.23.137.xx:5070]
    19:50:15.546 [MS210006] C:10.2:Offer provided. Connection(by pass mode): 192.168.102.102:5024(5025)
    19:50:15.500 [CM503004]: Call(10): Route 1: Ext:Ext.200@[Dev:sip:200@77.23.137.xx:5070]
    19:50:15.500 [MS210000] C:10.1:Offer received. RTP connection: 192.168.102.102:5024(5025)
    19:50:15.500 [CM503010]: Making route(s) to <sip:200@192.168.102.1>
    19:50:15.500 Remote SDP is set for legC:10.1
    19:50:15.484 [CM505001]: Ext.102: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, unable-no-sdp, no-recvonly] UserAgent: [snom-m3-SIP/02.02 (MAC=0004132A26CB; HW=1)] PBX contact: [sip:102@192.168.102.1:5060]
    19:50:15.484 [CM503001]: Call(10): Incoming call from Ext.102 to <sip:200@192.168.102.1>
    19:50:15.484 [CM500002]: Info on incoming INVITE:
    INVITE sip:200@192.168.102.1 SIP/2.0
    Via: SIP/2.0/UDP 192.168.102.102;rport=5060;branch=z9hG4bKzebix411ajgsqh20xv2g02sq
    Max-Forwards: 70
    Contact: <sip:102@192.168.102.102;line=55326>
    To: <sip:200@192.168.102.1>
    From: "Heinz Teichmann"<sip:102@192.168.102.1>;tag=t5.ktg
    Call-ID: 2iub2vyhi9l2wicwepkovyjj82qz@192.168.102.1
    CSeq: 56193 INVITE
    Allow: INVITE, CANCEL, BYE, ACK, REGISTER, OPTIONS, REFER, SUBSCRIBE, NOTIFY, MESSAGE, INFO, PRACK
    Proxy-Authorization: Digest username="102",realm="3CXPhoneSystem",nonce="414d535c00e64bf734:69c561c6dcdd69ea0048dbb462252087",uri="sip:200@192.168.102.1",response="e78628f573f53fe2d9655527ec95e1d3",algorithm=MD5
    Supported: replaces
    User-Agent: snom-m3-SIP/02.02 (MAC=0004132A26CB; HW=1)
    Content-Length: 0

    I have a port forward on the remote side for port 5060, 5014 to 5018 and on the local side for all recommended ports. On both sides are Linksys WRTs with DD-WRT. Firewalls are both off. Also tried it with "Audio via PBX" without a positive result.

    Thanks

    Heinz
     
  2. mhanson

    mhanson New Member

    Joined:
    Nov 6, 2008
    Messages:
    186
    Likes Received:
    1
    Make sure the RTP ports are open as well on the remote side. If they cant hear you remote, their audio is being stripped at their end.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. danj

    Joined:
    Oct 26, 2007
    Messages:
    16
    Likes Received:
    0
    Hi, if both extensions are remote make sure that the phones are using stun and are aware they're behind a NAT router. The grandstreams have specific options that make it aware it's behind NAT.

    These log entries should be joined to the external IP's

    19:50:34.011 [CM503007]: Call(10): Device joined: sip:200@77.23.137.xx:5070
    19:50:34.011 [CM503007]: Call(10): Device joined: sip:102@192.168.102.102:5060;line=55326

    Also use the Firewall checker in 3CX to make sure it's setup properly.

    Dan Jennings
    ____________
    Deerfield.com
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. SY

    SY Well-Known Member
    3CX Support

    Joined:
    Jan 26, 2007
    Messages:
    1,825
    Likes Received:
    2
    Heinz,

    Could you please provide complete information?
    The selected log messages mean that you, definitely, have changed default configuration. Am I wrong?

    Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. teichhei

    Joined:
    Oct 11, 2009
    Messages:
    29
    Likes Received:
    1
    Hi,

    OK, my configuration for that case. I must say the phone already worked, but through VPN on local addresses. VPN was a bit too slow though.

    S685 side:
    DD-WRT forwards port 5014 to 5018 and 5070 to 192.168.100.107, which is the siemens. It works perfectly with some sipgate accounts.

    Register Name: 200
    PW
    User Name: 200
    Showing Name: something
    Domain: mydyndnswith3cx.org
    Proxy: mydyndnswith3cx.org
    Server Port: 5060
    Register Server: mydyndnswith3cx.org
    Register Port: 5060
    Refresh: 180s
    Stun: yes
    Server: stun.3cx.com
    Port: 3478
    Refresh: 240s
    NAT refresh: 20s
    Outbound Proxy: Never (also tried always with mydyndnswith3cx.org:5060)

    Other settings:
    Listen Ports:
    Coincident ports: No
    Sip Port: 5070
    RTP Port: 5014 - 5018


    SNOM M3:
    Internal phone, works fine everywhere except Sipgate voicemail. Even 10005 works but that's another issue. Address is 192.168.102.102

    Server is local: yes
    Display name: something
    Account: 102
    PW:
    Account name: local
    Registrar: 192.168.102.1
    Outbound proxy: 192.168.102.1
    Authentication name: 102
    Server Port: 5060
    Outbound Proxy Pt: 5060
    Re-registrTime: 180
    Codec 729
    PCMU
    PCMA
    iLBC

    3CX Server, Win2003Server, receives 5060, 5061 UDP/TCP, 5090 TCP, 9000 to 9049 UDP from Gateway 192.168.102.254, DD-WRT, firewall disabled

    Default settings, except Audio via PBX, e164 settings and probably "Public IP to specify in Contact and SDP for external entities".
    I tried some things there like dyndns name, public IP and local IP without success, so I cleared this entry again.
    One thing is that this Sipgate Voicemail is not working from any phone behind the PBX that is doing Audio via PBX and the Server activity looks pretty much the same as with the external extensions.
    I even put the 3cx on DMZ to see what happens, made no difference.

    Thanks for all the help

    Heinz
     
  6. teichhei

    Joined:
    Oct 11, 2009
    Messages:
    29
    Likes Received:
    1
    This problem has been partly solved. I installed 3CX on a Notebook and configured it from scratch. After that the obove mentioned extension was working. After installing the 2003 Server from scratch 3CX ran from that server as well. It seems there was a problem coming from the operating system. However, the problem perists with my connection from work and I think I can't do anything about it since there is a port translation in place and the phone keeps registering with all kind of different ports. Tunnel is also not working. The only thing that works from that network is PPTP VPN and then a local conenction to the PBX.

    Conclusion: If the external extensions don't work try a totally different PC if you run out of ideas.
     
  7. webby

    Joined:
    Oct 20, 2009
    Messages:
    25
    Likes Received:
    0
    I have spent ages making my external extension work.

    I also have Grandstream phones.

    Make sure you use UDP and not TCP in the phones set up.
    Set "YES" to use stun server.
    Obviously forward the stun server port in your firewall.
    Enter the stun address in the Advanced settings.

    I will post a full write up after i install my system this weekend.

    I have also found i can only connect when i use the IP address and NOT the DNS name to direct my phone to the PBX WAN address.
     
  8. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    11,116
    Likes Received:
    329
    I use a DNS name to connect remote sets back to 3CX with no issues. What I suspect is causing problems is the remote phones lack of access to a DNS server. Setting the phone to use DHCP should cause it pick up DNS server info from the router. If you have used a fixed IP you can either try entering known DNS server IP's (or two) or the IP of the LOCAL router.
     
  9. teichhei

    Joined:
    Oct 11, 2009
    Messages:
    29
    Likes Received:
    1
    I think my case is really firewall related. I can't even get out with the 3CX Tunnel and the Softphone. Only a real VPN does the trick.
     
Thread Status:
Not open for further replies.