Cannot MakeOutbound Call from 3CX and GrandStream Gateway

Discussion in '3CX Phone System - General' started by lordmark, Jan 15, 2010.

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

    Joined:
    Nov 3, 2009
    Messages:
    7
    Likes Received:
    0
    Hello Guys. I Installed 3CX and Had it Configured to Use a GrandStream GWX-4108 Gateway for PSTN Calls. if Followed the Config Instruction found on Your Site on how to Set it up with 3CX SIP Server, i Can Recieve External Calls from 3CX but i Cant Call Out. The Phone Gives a Dialing Tone when i Call but the call Does Not Get through to the Called external PSTN Party. i have Attached a file Showing My Outbound Config Settings. Secondly My Call ID Displays The Internal Line Instead of The Callers Number. for Example if an External Caller with the Number: 0803xxxxxxx calls, the Softphone Displays:call From 012xxxxxx which is the PSTN LINE Connected to The GrandStream Gateway.How do i Correct That. Please i Really Need to get this Working :cry: . Thank You in Advance for your Help. :mrgreen:
     

    Attached Files:

  2. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,356
    Likes Received:
    224
    You might want to post a 3CX log showing an incoming call and a second showing an outgoing call attempt.
     
  3. lordmark

    Joined:
    Nov 3, 2009
    Messages:
    7
    Likes Received:
    0
    Please How Can I locate the 3CX log showing an incoming call and a second showing an outgoing call attempt. This is The Path to The 3CX installation on My Computer: C:\Program Files\3CX PhoneSystem :?:
     
  4. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,356
    Likes Received:
    224
    Click on "Server Activity Log", it shows a snapshot. If, in incoming calls you are getting 012xxxxxx and on a "normal" call display device you get a different number then has 012xxxxxx been datafilled (somewhere) in the Grandstream? I'm just wondering if the actual caller Id just isn't getting through and 012xxxxxx is being sent in it's place.
     
  5. lordmark

    Joined:
    Nov 3, 2009
    Messages:
    7
    Likes Received:
    0
    Thank you so Much for your Replies. this is my 3CX Server Activity Log bellow
    Pls can you tell me from this why i cant call out to an External Number? I really appreciate your help.

    TIME MESSAGE
    08:47:42.734 [CM503008]: Call(3): Call is terminated

    08:47:42.671 [CM503015]: Call(3): Attempt to reach <sip:1004@96.0.0.107:5060> failed. Reason: Temporarily Unavailable

    08:47:42.656 [CM503003]: Call(3): Call to sip:1004@96.0.0.107 has failed; Cause: 480 Temporarily Unavailable; warning: User reject; from IP:127.0.0.1:46856

    08:47:34.234 [CM505001]: Ext.1004: Device info: Device Identified: [Man: Counterpath;Mod: X-Lite;Rev: General] Capabilities:[reinvite, no-replaces, unable-no-sdp, recvonly] UserAgent: [X-Lite release 1104o stamp 56125] Transport: [sip:96.0.0.107:5060]

    08:47:34.218 [CM503002]: Call(3): Alerting sip:1004@96.0.0.107:46856;rinstance=9f752547d3371be4

    08:47:34.031 [CM503004]: Call(3): Calling: Ext:Ext.1004@[Dev:sip:1004@96.0.0.107:46856;rinstance=9f752547d3371be4]

    08:47:34.031 [CM503010]: Making route(s) to <sip:1004@96.0.0.107:5060>

    08:47:34.015 [CM505001]: Ext.1000: Device info: Device Identified: [Man: 3CX Ltd.;Mod: 3CXVoipPhone;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXVoipPhone 4.0.9340.0] Transport: [sip:96.0.0.107:5060]

    08:47:33.984 [CM503001]: Call(3): Incoming call from Ext.1000 to <sip:1004@96.0.0.107:5060>
    08:47:17.859 [CM504008]: Fax Service: registered as sip:8888@96.0.0.107:5060 with contact sip:8888@96.0.0.107:5100;user=phone

    08:42:17.625 [CM504008]: Fax Service: registered as sip:8888@96.0.0.107:5060 with contact sip:8888@96.0.0.107:5100;user=phone

    08:37:17.468 [CM504008]: Fax Service: registered as sip:8888@96.0.0.107:5060 with contact sip:8888@96.0.0.107:5100;user=phone

    08:32:12.703 [CM504008]: Fax Service: registered as sip:8888@96.0.0.107:5060 with contact sip:8888@96.0.0.107:5100;user=phone

    08:27:13.515 [CM504008]: Fax Service: registered as sip:8888@96.0.0.107:5060 with contact sip:8888@96.0.0.107:5100;user=phone

    08:22:13.328 [CM504008]: Fax Service: registered as sip:8888@96.0.0.107:5060 with contact sip:8888@96.0.0.107:5100;user=phone

    08:22:04.765 [CM503008]: Call(2): Call is terminated

    08:22:04.265 [CM505001]: Ext.1004: Device info: Device Identified: [Man: Counterpath;Mod: X-Lite;Rev: General] Capabilities:[reinvite, no-replaces, unable-no-sdp, recvonly] UserAgent: [X-Lite release 1104o stamp 56125] Transport: [sip:96.0.0.107:5060]

    08:22:04.250 [CM503002]: Call(2): Alerting sip:1004@96.0.0.107:46856;rinstance=9f752547d3371be4

    08:22:04.015 [CM503004]: Call(2): Calling: Ext:Ext.1004@[Dev:sip:1004@96.0.0.107:46856;rinstance=9f752547d3371be4]

    08:22:04.000 [CM503010]: Making route(s) to <sip:1004@96.0.0.107:5060>

    08:22:03.984 [CM505001]: Ext.1000: Device info: Device Identified: [Man: 3CX Ltd.;Mod: 3CXVoipPhone;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXVoipPhone 4.0.9340.0] Transport: [sip:96.0.0.107:5060]

    08:22:03.953 [CM503001]: Call(2): Incoming call from Ext.1000 to <sip:1004@96.0.0.107:5060>

    08:21:49.203 [CM503008]: Call(1): Call is terminated

    08:21:49.140 [CM503015]: Call(1): Attempt to reach "1000"<sip:1000@96.0.0.107> failed. Reason: Busy

    08:21:49.125 [CM503003]: Call(1): Call to sip:1000@96.0.0.107:5060 has failed; Cause: 486 Busy Here; from IP:127.0.0.1:1037

    08:21:41.843 [CM505001]: Ext.1000: Device info: Device Identified: [Man: 3CX Ltd.;Mod: 3CXVoipPhone;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXVoipPhone 4.0.9340.0] Transport: [sip:96.0.0.107:5060]

    08:21:41.812 [CM503002]: Call(1): Alerting sip:1000@127.0.0.1:1037;rinstance=694bf35f2ee868ed

    08:21:41.515 [CM503004]: Call(1): Calling: Ext:Ext.1000@[Dev:sip:1000@127.0.0.1:1037;rinstance=694bf35f2ee868ed]

    08:21:41.500 [CM503010]: Making route(s) to "1000"<sip:1000@96.0.0.107>

    08:21:41.484 [CM505001]: Ext.1004: Device info: Device Identified: [Man: Counterpath;Mod: X-Lite;Rev: General] Capabilities:[reinvite, no-replaces, unable-no-sdp, recvonly] UserAgent: [X-Lite release 1104o stamp 56125] Transport: [sip:96.0.0.107:5060]

    08:21:41.453 [CM503001]: Call(1): Incoming call from Ext.1004 to "1000"<sip:1000@96.0.0.107>

    08:17:13.140 [CM504008]: Fax Service: registered as sip:8888@96.0.0.107:5060 with contact sip:8888@96.0.0.107:5100;user=phone

    08:12:43.671 [CM504001]: Ext.9999: new contact is registered. Contact(s): [sip:9999@127.0.0.1:40600;rinstance=128d9185858a6b1d/9999]

    08:12:29.093 [CM504001]: Ext.*1: new contact is registered. Contact(s): [sip:*1@127.0.0.1:40000;rinstance=d9fec4f64ac9cca7/*1]

    08:12:29.000 [CM504001]: Ext.*0: new contact is registered. Contact(s): [sip:*0@127.0.0.1:40000;rinstance=ab19e5607e2a927a/*0]

    08:12:23.546 [CM112000] Media Server is connected

    08:12:14.828 IP(s) added:[96.0.0.107]

    08:12:13.812 [CM504001]: Ext.1004: new contact is registered. Contact(s): [sip:1004@96.0.0.107:46856;rinstance=9f752547d3371be4/1004]

    08:12:13.421 [CM504002]: Ext.1004: a contact is unregistered. Contact(s): [sip:1004@96.0.0.107:46856;rinstance=9f752547d3371be4/1004]

    08:12:13.015 [CM504001]: Ext.1004: new contact is registered. Contact(s): [sip:1004@127.0.0.1:46856;rinstance=d305d72749dbb67c/1004]

    08:12:12.953 [CM504001]: Ext.1000: new contact is registered. Contact(s): [sip:1000@127.0.0.1:1037;rinstance=694bf35f2ee868ed/1000]

    08:12:12.906 [CM504008]: Fax Service: registered as sip:8888@96.0.0.107:5060 with contact sip:8888@96.0.0.107:5100;user=phone

    08:12:12.250 [CM306002]: There is no valid STUN server specified! External IP can not be resolved.

    08:12:10.000 [CM306001]: Address of STUN server (stun.3cx.com) could not be resolved!

    08:12:04.843 [CM501002]: Version: 7.1.6537.0

    08:12:04.812 [CM501007]: *** Started Calls Controller thread ***
     
  6. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,356
    Likes Received:
    224
    Is this because you are not connected to the internet?

    The rest of the log doesn't show a call attempt to a trunk (outgoing call). It seems to show two extensions, 1000 and 1004, and calls attempting (but failing) between them.

    Outgoing calls, according to your outbound rule, will begin with "0" and be 7 to 11 digits long. I don't even see the Grandstream registering in the log. A trunk device, gateway or VoIP, should have a device number of 10000 and up (five digits). Is that supposed to be the Grandstream at IP 96.0.0.107 ?
     
Thread Status:
Not open for further replies.