Cant dial outbound number but echo123 works

Discussion in '3CX Phone System - General' started by gscherer, Sep 1, 2009.

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

    Joined:
    Aug 29, 2009
    Messages:
    6
    Likes Received:
    0
    I can dial 8echo123 and i have a perfect call. When I try to dial 86319999999 I get this message in the skype gateway log. I see it says slave in the log. Is this a normal entry? Not sure if that is affecting this or not.

    19:41:34:208 - Info : Skype connection status is ONLINE
    19:41:34:218 - Info : Expected Skype user logged in: [username]
    19:41:34:248 - Info : Skype user status is ONLINE
    19:41:34:258 - Info : Skype authorization request succeeded
    19:41:34:318 - Info : Slave channel [username] has been registered
    19:41:34:318 - Info : - registered slave channels: [username]
    19:42:25:261 - Info : Incoming call from PBX ringing
    19:42:25:261 - Info : Outbound call requested
    19:42:25:261 - Info : Creating a Skype call to account [6319999999]
    19:42:25:281 - Error : Exception: Skype call creation failed for [6319999999]: CALL: Unrecognised identity
    19:42:25:281 - Info : PBX call has been ended by PBX
    19:43:15:043 - Info : Incoming call from PBX ringing
    19:43:15:043 - Info : Outbound call requested
    19:43:15:043 - Info : Creating a Skype call to account [6319999999]
    19:43:15:053 - Error : Exception: Skype call creation failed for [6319999999]: CALL: Unrecognised identity
    19:43:15:053 - Info : PBX call has been ended by PBX

    This is a server activity log entry as well

    19:43:15.173 [CM503015]: Call(8): Attempt to reach <sip:86319999999@192.168.1.8:5060> failed. Reason: Temporarily Unavailable
     
  2. StefanW

    StefanW Head of Customer Support and Training
    Staff Member 3CX Support

    Joined:
    Jun 2, 2009
    Messages:
    1,216
    Likes Received:
    88
    Try to make the call with INTernational PreFix Always

    86319999999 you dailed
    8-0049-6319999999 must be dailed
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. gscherer

    Joined:
    Aug 29, 2009
    Messages:
    6
    Likes Received:
    0
    Getting the same result with country code. I can dial out fine using Skype on the server itself. The server log shows phone system version
    09:36:47.419 [CM501002]: Version: 7.1.7060.0
    but the phone system update checker in the web management console shows Installed Version:7.1.7139.0


    server log:
    09:38:55.983 [CM503008]: Call(1): Call is terminated

    09:38:55.943 [CM503015]: Call(1): Attempt to reach <sip:800496317676533@192.168.1.8:5060> failed. Reason: Reason Unknown

    09:38:55.943 [CM503003]: Call(1): Call to sip:00496317676533@127.0.0.1:6060 has failed; Cause: 200 OK; from IP:127.0.0.1:6060

    09:38:54.181 [CM505002]: Gateway:[skypegw] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXSkypeGateway 2.0.8742.0] Transport: [sip:127.0.0.1:5060]

    09:38:54.181 [CM503002]: Call(1): Alerting sip:10000@127.0.0.1:6060

    09:38:53.981 [CM503024]: Call(1): Calling PSTNline:00496317676533@(Ln.10000@skypegw)@[Dev:sip:10000@127.0.0.1:6060]

    09:38:53.960 [CM503004]: Call(1): Route 1: PSTNline:00496317676533@(Ln.10000@skypegw)@[Dev:sip:10000@127.0.0.1:6060]

    09:38:53.890 [CM503010]: Making route(s) to <sip:800496317676533@192.168.1.8:5060>

    09:38:53.880 [CM505001]: Ext.11: Device info: Device Identified: [Man: 3CX Ltd.;Mod: 3CXVoipPhone;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXVoipPhone 4.0.8913.0] Transport: [sip:192.168.1.8:5060]

    09:38:53.830 [CM503001]: Call(1): Incoming call from Ext.11 to <sip:800496317676533@192.168.1.8:5060>

    09:38:32.860 [CM504001]: Ext.11: new contact is registered. Contact(s): [sip:11@192.168.1.101:1186;rinstance=fde2d6980f8fa8f1/11]


    here is the skype tracelog
    09:38:54:031 - Info : Incoming call from PBX ringing
    09:38:54:031 - Info : Outbound call requested
    09:38:54:031 - Info : Creating a Skype call to account [00496317676533]
    09:38:54:081 - Info : Call (skypeid 5453) created for account [00496317676533]
    09:38:54:091 - Info : Port check - Port [127.0.0.1:22500] is free
    09:38:54:211 - Info : Call (skypeid 5453) identified, [Gary] calls [00496317676533]
    09:38:54:241 - Info : Call (skypeid 5453) identified, [Gary] calls [00496317676533]
    09:38:54:241 - Warning : Slave channel [gary_scherer] has been removed
    09:38:54:241 - Info : - registered slave channels: []
    09:38:55:863 - Info : Call (skypeid 5453) has been ended by Skype, reason: finished [misc. error]
    09:38:55:863 - Info : Slave channel [gary_scherer] has been registered
    09:38:55:863 - Info : - registered slave channels: [gary_scherer]
    09:38:55:863 - Info : PBX call has been ended by PBX
     
  4. StefanW

    StefanW Head of Customer Support and Training
    Staff Member 3CX Support

    Joined:
    Jun 2, 2009
    Messages:
    1,216
    Likes Received:
    88
    is the Port 10000 (the fist port) set up as Master and have credits?
    When its a Master you can not dail out of there!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. gscherer

    Joined:
    Aug 29, 2009
    Messages:
    6
    Likes Received:
    0
    I changed it from master to no master. I have a skype out subscription and i can call out using skype directly on the server.
    Also shouldnt my country code be 1 since i am in usa. i tried dialing all combinations of 816319999999, 819999999 and nothing seems to work through the softphone. See in the log where is says it cant identify the user. You can see all the ways i tried to dial.

    10:40:37:115 - Info : Logger started
    -------------------------------------------------------------------------
    10:40:37:115 - Info : All channels synchronization initialized
    10:40:37:115 - Info : This channel synchronization initialized
    10:40:37:125 - Warning : Channel started in OPERATIONAL mode
    10:40:37:205 - Info : Skype support started
    10:40:37:205 - Info : Loading channel settings from C:\Documents and Settings\All Users\Application Data\_3CXSkypeGateway\3CXSkypeGateway.ini
    10:40:37:205 - Info : Attempting to load settings for account 3cxskypeacc01
    10:40:37:205 - Info : - network card: [localhost]
    10:40:37:205 - Info : - PBX address: [localhost]
    10:40:37:205 - Info : - PBX port: [5060]
    10:40:37:205 - Info : - RTP range: [22500]-[23000]
    10:40:37:205 - Info : - codecs: [PCMU;PCMA;GSM;]
    10:40:37:205 - Info : - registration interval: [10] min
    10:40:37:205 - Info : - registration retry: [10] min
    10:40:37:205 - Info : - SIP transport: [0]
    10:40:37:205 - Info : - RTP mode: [0]
    10:40:37:205 - Info : - monitor port: [5544]
    10:40:37:205 - Info : - service port: [5545]
    10:40:37:205 - Info : - master port: [5546]
    10:40:37:205 - Info : - master channel: [-1]
    10:40:37:216 - Info : Settings loaded OK
    10:40:37:216 - Warning : ----------- Logging is now filtered according to option "info warning error time" -----------
    10:40:37:366 - Info : Specified network card OK, set to 127.0.0.1
    10:40:37:366 - Info : Port check - Port [127.0.0.1:6060] is free
    10:40:37:386 - Warning : RTP last port should be odd, fixed to [23001]
    10:40:37:386 - Info : RTP port range set to [22500-23001]
    10:40:37:386 - Info : PBX server [127.0.0.1:5060] is reachable
    10:40:37:386 - Info : Port check - Port [127.0.0.1:22500] is free
    10:40:37:586 - Info : RTP engine started OK
    10:40:37:586 - Info : SIP: Channel has been asked if allow secure, returning [true]
    10:40:37:586 - Info : SIP: Channel has been asked for CA path, returning [C:\Documents and Settings\All Users\Application Data\_3CXSkypeGateway\Certificates]
    10:40:37:596 - Info : SIP: Channel has been asked for transport type, returning []
    10:40:37:606 - Info : SIP engine started OK
    10:40:37:606 - Info : Starting channel:
    10:40:37:606 - Info : - master channel: [no]
    10:40:37:606 - Info : - monitor port: [5544]
    10:40:37:606 - Info : - service port: [5545]
    10:40:37:606 - Info : - master port: [5546]
    10:40:37:606 - Info : - expected Skype user: [gary_scherer]
    10:40:37:676 - Info : Attempting to listen for Skype events
    10:40:37:676 - Info : Sending registration request to PBX:
    10:40:37:676 - Info : - display name: [3CX Gateway for Skype]
    10:40:37:676 - Info : - user agent: [3CXSkypeGateway 2.0.8742.0]
    10:40:37:676 - Info : - user: [10000]
    10:40:37:676 - Info : - auth.ID: [10000]
    10:40:37:676 - Info : - auth.pass: [10000]
    10:40:37:676 - Info : - domain: [127.0.0.1]
    10:40:37:676 - Info : - proxy: [127.0.0.1:5060]
    10:40:37:676 - Info : - transport: [0]
    10:40:39:238 - Info : Synchronization thread is running
    10:40:39:509 - Info : Registration to PBX succeeded
    10:40:41:291 - Info : Skype client attached, now waiting for Skype events
    10:40:50:124 - Info : Processing Skype attach request
    10:40:50:164 - Info : Skype attach succeeded
    10:40:50:164 - Warning : >>>>>>>>>>>>>>> AttachementStatus [4] - overtimed operation with 141 msec
    10:40:50:164 - Info : Waiting for Skype authorization
    10:40:50:755 - Info : Skype connection status is ONLINE
    10:40:50:775 - Info : Expected Skype user logged in: [gary_scherer]
    10:40:50:805 - Info : Skype user status is ONLINE
    10:40:50:825 - Info : Skype authorization request succeeded
    10:40:56:583 - Info : Incoming call from PBX ringing
    10:40:56:583 - Info : Outbound call requested
    10:40:56:583 - Info : Creating a Skype call to account [1637676533]
    10:40:56:603 - Error : Exception: Skype call creation failed for [16317676533]: CALL: Unrecognised identity
    10:40:56:603 - Info : PBX call has been ended by PBX
    10:41:11:465 - Info : Incoming call from PBX ringing
    10:41:11:465 - Info : Outbound call requested
    10:41:11:465 - Info : Creating a Skype call to account [00016317676533]
    10:41:11:475 - Error : Exception: Skype call creation failed for [00016317676533]: CALL: Unrecognised identity
    10:41:11:475 - Info : PBX call has been ended by PBX
    10:41:21:119 - Info : Incoming call from PBX ringing
    10:41:21:119 - Info : Outbound call requested
    10:41:21:119 - Info : Creating a Skype call to account [17676533]
    10:41:21:129 - Error : Exception: Skype call creation failed for [17676533]: CALL: Unrecognised identity
    10:41:21:129 - Info : PBX call has been ended by PBX
     
  6. StefanW

    StefanW Head of Customer Support and Training
    Staff Member 3CX Support

    Joined:
    Jun 2, 2009
    Messages:
    1,216
    Likes Received:
    88
    it does not matter if u are in the usa or in germany.
    u have to put the full country code in witch is 001 and not 1.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. gscherer

    Joined:
    Aug 29, 2009
    Messages:
    6
    Likes Received:
    0
    If you look at the log above you will see that I tried that and it failed. It seems that if I use a number instead of echo123 it fails and the error in the log shows unrecognized identity. When I call echo123 it shows my skype username making a call to echo123. Im sorry but I dont know how to explain it any better. If you look in the logs I posted you will see that.

    Ive reinstalled 3cx and the gateway following the instructions exactly and I is still not working. Honestly I am ready to give up after 2 weeks of reading all of these forums and not finding the answer.
     
  8. Vali_3CX

    Vali_3CX Well-Known Member
    Staff Member 3CX Support

    Joined:
    Dec 12, 2008
    Messages:
    1,479
    Likes Received:
    67
    Hi
    Scherer, there is the the answer, in the log you provided - Skype doesn't "like" the number you dialed and it (Skype) says "Unrecognised identity":

    10:40:56:603 - Error : Exception: Skype call creation failed for [16317676533]: CALL: Unrecognised identity
    10:41:11:475 - Error : Exception: Skype call creation failed for [00016317676533]: CALL: Unrecognised identity
    10:41:21:129 - Error : Exception: Skype call creation failed for [17676533]: CALL: Unrecognised identity

    There is NOTHING, absolutely nothing related to the gateway itself. Please do the following - useful - test:
    - open a standalone skype client (that means, gateway stopped) and from this one try to dial 16317676533, 00016317676533 and 17676533 respectively.
    Once you will be able to successfully call, in this way, these numbers, you will know what to type on your extension when you will start the gateway.

    Regards
    vali
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. MrKoen

    Joined:
    Jul 3, 2009
    Messages:
    61
    Likes Received:
    0
    I encountered the same problem here and indeed, it was solved by configuring the outbound rule to correctly prepend the country code. I'm using Betamax SIP gateways and they require the number to be dialed as <countrycode><number without first zero>. For example for the Dutch phone number 020 660 6600 it would be 31206606600. Instead, Skype requires this number to be dialed as 00<countrycode><number without first zero>, i.e. 0031206606600. In order to be able to dial the "normal" number (0206606600) and have 3CX correctly translate it into this Skype format, the outbound rule in the 3CX Management Console should be created as:

    Strip digits 1 (to remove the first 0)
    Prepend 0031 (to add the international prefix and country code)

    Now I can dial 0206606600 on my phone and 3CX will correctly translate it into 0031206606600 and pass this on to Skype. the 3CX Skype Gateway now shows me in the log:

    Call (skypeid 3501) identified, [Test Voip Device #1] calls [0031206606600]

    Obviously, change 31 to your country code or adjust the dial plan to be more advanced and recognize international calls and apply the correct number formatting to those.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.