Problem setting up Grandstream GXP 2000

Discussion in '3CX Phone System - General' started by Ralph, Jul 2, 2007.

  1. Ralph

    Ralph Member

    Joined:
    Jun 28, 2007
    Messages:
    417
    Likes Received:
    0
    I just recieved our first GXP 2000 for testing.
    I read the instructions for setting it up in the 3CX manual.

    The menus on the phone itself were different but I was able to setup the network configuration and log into the phone with Internet Explorer.

    I set up the phone per the instructions in the 3CX manual and the 3CX website.

    The phone says it is registered and I actually dialed out once successfully.
    Now when I attempt to dial out I get a busy signal and the phone display shows the number "480".

    I am also unable to recieve calls.

    Strangely enough I can dial extensions ok. I just can't seem to call out or recieve external calls.

    I have dialed into the system using external phones and they are answered properly etc. so the lines arent tied up.

    The phone is an external device and is set set up with an external extension.

    The phone staus page is as follows:
    MAC Address: xx.xx.xx.xx.xx.xx
    IP Address: xxx.xxx.x.x
    Product Model: GXP2000
    Software Version: Program-- 1.1.1.14 Bootloader-- 1.1.1.5
    System Up Time: 0 day(s) 0 hour(s) 4 minute(s)
    Registered: Account 1: Yes
    Account 2: No
    Account 3: No
    Account 4: No
    PPPoE Link Up: disabled
    detected NAT type is open Internet

    Any ideas?

    Thanks again.
     
  2. Ralph

    Ralph Member

    Joined:
    Jun 28, 2007
    Messages:
    417
    Likes Received:
    0
    I found the following additional information.

    I logged into the server and found these log entries:

    16:33:02.541 CallConf::Rejected [CM103005] Call(53) is rejected: Temporarily Not Available

    16:33:02.541 StratInOut::eek:nCancel [CM104008] Call(53): Call from Ext.xxx to xxxxxxxxxx terminated; cause: 480 Temporarily Not Available; from IP:xxx.xxx.xx.xxx

    16:33:02.416 CallLegImpl::initMSEndpoint [CM003001] Call(53): *!* Failed to create MediaServer endpoint for Ln:10001@BroadVoice 1

    16:33:02.401 MediaServerReporting::InitEndPoint [MS003005] Call(53) Ln:10001@BroadVoice 1: Failed to create Endpoint:

    16:33:02.401 MediaServerReporting::portMapper [MS006000] Call(53) Ln:10001@BroadVoice 1: No ports available to create EXTERNAL enpoint

    16:33:02.010 CallLegImpl::initMSEndpoint [CM003001] Call(53): *!* Failed to create MediaServer endpoint for Ln:10000@Vitelity

    16:33:02.010 MediaServerReporting::InitEndPoint [MS003005] Call(53) Ln:10000@Vitelity: Failed to create Endpoint:

    16:33:02.010 MediaServerReporting::portMapper [MS006000] Call(53) Ln:10000@Vitelity: No ports available to create EXTERNAL enpoint

    16:33:01.948 CallConf::eek:nIncoming [CM103002] Call(53): Incoming call from xxx (Ext.xxx) to sip:xxxxxxxxxx@xxx.xxx.xx.xxx

    I seem to be able to call in and recieve call fine when the GXP 2000 phone is attached to the local area network. It is when the phone is attached to an external network that the problem shows up. I can send and recieve calls from the same external network using a soft phone.

    Any help is greatly appreciated.
     
  3. Ralph

    Ralph Member

    Joined:
    Jun 28, 2007
    Messages:
    417
    Likes Received:
    0
    Additional Information -> Phone config?

    I switched the extension to a soft-phone (X-Lite) and everything works fine. It is only when attempting to use the GXP 2000 that I run into problems. The GXP 2000 appears to be registered and when I dial a number or an extension it will ring but then there is no sound. This same thing happens with incomming calls to it as well.

    Since the X-Lite soft phone works fine, I am beginning to think that it is an issue with the phone configuration?

    Keep in mind that this i an external extenion that is located at a satalite office. It connects to our main office where the PBX is located via the internet. When the GXP 2000 is on the same LAN as the PBX it works fine.

    Any thoughts?

    Thanks again,
     
  4. SY

    SY Well-Known Member
    3CX Staff

    Joined:
    Jan 26, 2007
    Messages:
    1,821
    Likes Received:
    1
    Reason is:

    16:33:02.010 MediaServerReporting::portMapper [MS006000] Call(53) Ln:10000@Vitelity: No ports available to create EXTERNAL enpoint

    1. How many calls were active at the time of test?
    2. How many ports are configured to use for external connections (range of ports)
    3. "netstat -a" report.

    Thanks,
    Stepan
     
  5. DaKhalli

    DaKhalli New Member

    Joined:
    Jun 2, 2007
    Messages:
    123
    Likes Received:
    0
    also heared some gxp2k's need a formware upgrade to work properly.

    Not sure might be a hint.
     
  6. Ralph

    Ralph Member

    Joined:
    Jun 28, 2007
    Messages:
    417
    Likes Received:
    0
    No other calls in progress and netstat-a

    There is only the one call in progress.

    There is only the one external extension registered at the time.

    No other calls are in progress and no other extensions are active.

    The phone has the latest Firmware.

    Netstat -a Report:

    C:>netstat -a

    Active Connections

    Proto Local Address Foreign Address State
    TCP 3cxServer:epmap 3cxServer:0 LISTENING
    TCP 3cxServer:microsoft-ds 3cxServer:0 LISTENING
    TCP 3cxServer:1031 3cxServer:0 LISTENING
    TCP 3cxServer:pptp 3cxServer:0 LISTENING
    TCP 3cxServer:2967 3cxServer:0 LISTENING
    TCP 3cxServer:3389 3cxServer:0 LISTENING
    TCP 3cxServer:5060 3cxServer:0 LISTENING
    TCP 3cxServer:5481 3cxServer:0 LISTENING
    TCP 3cxServer:5482 3cxServer:0 LISTENING
    TCP 3cxServer:5483 3cxServer:0 LISTENING
    TCP 3cxServer:1027 3cxServer:1028 ESTABLISHED
    TCP 3cxServer:1028 3cxServer:1027 ESTABLISHED
    TCP 3cxServer:1032 3cxServer:5480 ESTABLISHED
    TCP 3cxServer:1033 3cxServer:5480 ESTABLISHED
    TCP 3cxServer:1034 3cxServer:5482 ESTABLISHED
    TCP 3cxServer:1038 3cxServer:5480 ESTABLISHED
    TCP 3cxServer:1041 3cxServer:5482 ESTABLISHED
    TCP 3cxServer:1045 3cxServer:5482 ESTABLISHED
    TCP 3cxServer:1046 3cxServer:0 LISTENING
    TCP 3cxServer:1048 3cxServer:5483 ESTABLISHED
    TCP 3cxServer:1064 3cxServer:5482 ESTABLISHED
    TCP 3cxServer:5480 3cxServer:0 LISTENING
    TCP 3cxServer:5480 3cxServer:1032 ESTABLISHED
    TCP 3cxServer:5480 3cxServer:1033 ESTABLISHED
    TCP 3cxServer:5480 3cxServer:1038 ESTABLISHED
    TCP 3cxServer:5482 3cxServer:1034 ESTABLISHED
    TCP 3cxServer:5482 3cxServer:1041 ESTABLISHED
    TCP 3cxServer:5482 3cxServer:1045 ESTABLISHED
    TCP 3cxServer:5482 3cxServer:1064 ESTABLISHED
    TCP 3cxServer:5483 3cxServer:1048 ESTABLISHED
    TCP 3cxServer:netbios-ssn 3cxServer:0 LISTENING
    TCP 3cxServer:3389 MOBILE:1060 ESTABLISHED
    TCP 3cxServer:5481 MOBILE:1208 ESTABLISHED
    UDP 3cxServer:microsoft-ds *:*
    UDP 3cxServer:isakmp *:*
    UDP 3cxServer:1035 *:*
    UDP 3cxServer:1052 *:*
    UDP 3cxServer:1593 *:*
    UDP 3cxServer:l2tp *:*
    UDP 3cxServer:4500 *:*
    UDP 3cxServer:5060 *:*
    UDP 3cxServer:ntp *:*
    UDP 3cxServer:ntp *:*
    UDP 3cxServer:1026 *:*
    UDP 3cxServer:1050 *:*
    UDP 3cxServer:1051 *:*
    UDP 3cxServer:2962 *:*
    UDP 3cxServer:ntp *:*
    UDP 3cxServer:netbios-ns *:*
    UDP 3cxServer:netbios-dgm *:*

    Thanks again :D
     
  7. cjammer

    cjammer New Member

    Joined:
    Dec 21, 2006
    Messages:
    109
    Likes Received:
    0
    I had a problem with one of my GXP-2000 phones. The problem just did not make sense so I did a factory reset on the phone and then reconfigured it.
    It worked after that. I did have to change my firmware to fix another issue with registration.

    Also make sure you have either turned off ALL firewalls till you get it working. then turn it back on and go from there.
     
  8. SY

    SY Well-Known Member
    3CX Staff

    Joined:
    Jan 26, 2007
    Messages:
    1,821
    Likes Received:
    1
    Re: No other calls in progress and netstat-a

    Please specify, range of ports that is set for external connections. It is question 2 from my previous post. (see General Settings page)
     
  9. nickybrg

    nickybrg Well-Known Member
    3CX Staff

    Joined:
    Jun 7, 2007
    Messages:
    1,621
    Likes Received:
    15
    Re: Additional Information -> Phone config?

    You could try setting the extension in the 3CX phone system and set it to external. This can be set in:

    Edit extension page / other options / and tick "Extension is External".
    The PBX must know that the extension trying to connect to it is on another network. This way it will treat that particular extension as external allowing it to have properties of an internal extension.
     
  10. Ralph

    Ralph Member

    Joined:
    Jun 28, 2007
    Messages:
    417
    Likes Received:
    0
    Ok I can call out now but can't recieve calls

    Good morning,

    I reset the phone back to the factory defaults.

    I then reentered the data. IP, SIP server IP, Extension, etc.

    Now I can call out fine but I can't recieve calls.

    When an outside caller calls in and dials my extension the following happens:

    1. The line status for the phone line is shown as active.
    2. My phone rings but when I answer there is no sound either direction.
    3. The status for my extension doesn't change (still shows idle) when I answer the call.
    4. The caller is forwarded to voice mail (per instructions if no answer.).
    5. When I hang up or the calling party hangs up the phone continues to ring until I hang up 2-3 times.
    5. The status of the extension never changes from idle.

    The extension is set up as External and Bind to Media Server is checked as well.

    The following are call logs taken during a call:

    10:13:21.781 StratInOut::eek:nHangUp [CM104007] Call(87): Call from Ln:10001@BroadVoice 1 to 999 has been terminated by Ln:10001@BroadVoice 1; cause: BYE; from IP:xxx.xxx.xx.xxx

    10:12:51.453 MediaServerReporting::DTMFhandler [MS211000] Call(87) Ln:10001@BroadVoice 1: DTMF (in-band) from xxx.xxx.xx.xxx:26946 detected.

    10:12:51.046 MediaServerReporting::DTMFhandler [MS211000] Call(87) Ln:10001@BroadVoice 1: DTMF (in-band) from xxx.xxx.xx.xxx:26946 detected.

    10:12:50.750 MediaServerReporting::DTMFhandler [MS211000] Call(87) Ln:10001@BroadVoice 1: DTMF (in-band) from xxx.xxx.xx.xxx:26946 detected.

    10:12:44.515 CallLegImpl::eek:nConnected [CM103001] Call(87): Created audio channel for Ln:10001@BroadVoice 1 (xxx.xxx.xx.xxx:26946) with Media Server (xx.xxx.xx.xxx:9000)

    10:12:44.484 CallConf::eek:nIncoming [CM103002] Call(87): Incoming call from xxxxxxxxxx (Ln:10001@BroadVoice 1) to sip:xxxxxxxxxx@xxx.xxx.x.xxx


    So I guess I'm 50% there since I can call out? :lol:

    Should I be looking at Polycon phones instead?

    Thanks again
     
  11. Ralph

    Ralph Member

    Joined:
    Jun 28, 2007
    Messages:
    417
    Likes Received:
    0
    X-Lite works fine sending and receiving. GXP still a problem

    Just as an additional note.

    I set up X-Lite on the same extension and it works fine sending and receiving calls. It is only when the GXP is set up on an external extension that I run into this problem.

    Beginning to wonder if there is a setting on the phone or if I got a bad phone?

    Is there anyone that is successfully using a Grandstream GXP 2000 on an external extension??
     
  12. DaKhalli

    DaKhalli New Member

    Joined:
    Jun 2, 2007
    Messages:
    123
    Likes Received:
    0
    not on an external no, but you can specify a stunserver in the phones properties, try using a public one and see what happens.

    Maybe its a codec conflict with the phone, try to force it to use the correct codec.
     
  13. Ralph

    Ralph Member

    Joined:
    Jun 28, 2007
    Messages:
    417
    Likes Received:
    0
    The ports I have open are:, And other things I've tried.

    I have the following ports forwarded to the 3cx server:

    5060 - 5061
    10000 - 20000
    5480 - 5482
    9000 - 9007
    3478 - 3480

    Am I missing any?

    I have tried a few stun servers:
    stun.3cx.com
    stun.fwdnet.net

    When I attempt to use these I can't call out or call in.
    To use them I simply entered them into the advanced settings on the phone and checked the "Nat Traversal (Stun)" yes. click update for each entry and then reboot the phone (Grandstream GXP 2000).

    I have also tried using them on the PBX as well under both the general settings and for each line with no results.

    How exactly do I use a stun server? Do I put it on the phone only or do I need to enter it on the PBX as well? Are there other public stun servers I should try (West Coast, USA)?

    Looking at some network captures it appears that after recieving the call and the caller entering the extension, the PBX sends an invite to the phone but the phone doesn't respond. I am guessing that this is because it is behind a NAT? The phone is registering ok and does ring. It just doesn't get any audio either direction or acknowledge that the call is answered.

    I had thought that Stun would be the answer for this since it seems like a NAT problem. How do I implement Stun if this is the solution?

    One other thing. The phone lists the following codecs:
    PCMU
    PCMA
    GSM
    G723.1
    G726-32
    G729 A/B

    I assume since I can talk locally and make calls that these compatible with 3CX?

    Anyone else had any success hooking up Grandstream or PolyCom SIP phones with an external extension?

    Thanks again,
     
  14. DaKhalli

    DaKhalli New Member

    Joined:
    Jun 2, 2007
    Messages:
    123
    Likes Received:
    0
    yes another guy in the forum had a external gxp going on, in the end it turned out his initial stun server wasnt working.
    topic: http://www.3cx.com/forums/viewtopic.php?t=1677&postdays=0&postorder=asc&start=15


    But since you tryed 2 i assume that should not be the case.
    but maybe try one more..

    check my firewall faq to see if you missed something:
    http://www.3cx.com/forums/viewtopic.php?t=1697

    Hope it helps.
     
  15. SteveC

    Joined:
    Oct 14, 2007
    Messages:
    3
    Likes Received:
    0
    Hi

    I have exactly this problem with a GXP2000. It's on a external site behind a NAT (Restricted Cone). It can call out and to internal, including other softphones on same external site. I've checked the central firewall settings which look OK.

    There are no firewall forward/open settings on the external site. I have tried 3 different stun servers inc stun.sipgate.net, and looked at the Winstun results, which look OK.

    X-Lite works fine on the same site, as does Kapanga. The only problem is that no incoming calls terminate correctly at the GXP, but they work OK to the softphones on the same external site.

    What happens is that the phone rings, but the 3CX doesn't see it ringing on the status page (or in the debug logs as far as I can interpret them).

    If you pick up, there is no audio. Put it down and it will ring again, and so on a couple of times over 30-40 seconds. The caller gets a failed call message before this process completes.

    It must be possible to configure somehow because these phones work fine when configured directly to Sipgate, so why the problem with 3CX?

    Does anybody have a working config similar to this and could give me some tips, or could recommend a hardphone which works on external sites?

    Steve
     

Share This Page