3cxphone Destination not found when dialing outside number

Discussion in 'Windows' started by Buddyl, Nov 8, 2012.

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

    Joined:
    Nov 8, 2012
    Messages:
    12
    Likes Received:
    0
    The phone will not make out bound calls or ring for inbound calls. it works to call or receive calls from other phones in the office?

    What am I missing???
     
  2. Buddyl

    Joined:
    Nov 8, 2012
    Messages:
    12
    Likes Received:
    0
    Re: 3cxphone Destination not found when dialing outside numb

    I should clarify a bit. I have installed the 3cx windows phone on my PC at home. Trying to get it to work through the office system.

    I can call extensions and get calls from extensions but I cannot receive or make outside calls.
     
  3. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,357
    Likes Received:
    224
    Re: 3cxphone Destination not found when dialing outside numb

    The 3CX log, of a failed call would probably show what the problem was. As a guess, I would say it is something to do with how the outbound rules are set-up, since you can call other extensions.

    The inbound problem may be a firewall/router issue, or possibly a STUN, or even a local port conflict issue. Once again the 3CX log, of your remote sets registration may help. It should show your public IP and local port number.
     
  4. Buddyl

    Joined:
    Nov 8, 2012
    Messages:
    12
    Likes Received:
    0
    Re: 3cxphone Destination not found when dialing outside numb

    Where is the log kept?

    I have ports 5090, 5080 and 5060 open on my PC as they are in my router at work???

    Thank you

    Buddy
     
  5. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,357
    Likes Received:
    224
    Re: 3cxphone Destination not found when dialing outside numb

    By "office system". I assumed that you , meant a 3CX PBX. The log that I mentioned, is one in that particular PBX, that would explain the reason that your outside calls are not going through. If you are using another make of VoIP PBX, then you would have to have a chat with someone that maintains it, and see if they can trace what is happening with your failed calls. There may be something that recognizes that you are not located on the local LAN, and thus prevents you from placing outside calls, in an attempt to prevent toll fraud.

    The fact that you can call, and receive calls from, other extensions in the office, make me think that something like the above, may be in play here.
     
  6. Buddyl

    Joined:
    Nov 8, 2012
    Messages:
    12
    Likes Received:
    0
    Re: 3cxphone Destination not found when dialing outside numb

    (call28) Attempt to reach <sip 555-555-5555@192... > Failed. Reason Not Found

    I am connected via the tunnel (I don't want to use this but get Authentication failed) (same credentials connecting through the tunnel)

    Even connected through the tunnel I cannot make or receive outside calls.

    I have a Grandstream 2120 that connects and makes and recieves calls through the tunnel.

    The grandstream is very choppy though. I feel the tunnel does not provide enough Band Width. I would like to register it straight through the internet too but am lost up to this point.
     
  7. markshehan

    markshehan New Member

    Joined:
    Nov 14, 2012
    Messages:
    141
    Likes Received:
    0
    Re: 3cxphone Destination not found when dialing outside numb

    By default 3CX extensions are not allowed to make calls from outside the lan. I dont think it is your problem but check the Other tab for the extension and it down there.

    The phone made the connection to 3cx as you see a failed message in 3cx.

    It said Not Found. So maybe an outbound rule not set for this extension or the number dialled?

    Need to see more logs than that 1 line
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Buddyl

    Joined:
    Nov 8, 2012
    Messages:
    12
    Likes Received:
    0
    Re: 3cxphone Destination not found when dialing outside numb

    Sorry, It is a pain to extract.

    Here is what I have.

    I tried to register 1st without tunnel and got authentication failed then used tunnel and tried to call outside number.

    There is a box for "disallow calls from outside Lan in the extension setup but it is unchecked

    14:21:26.735|.\StunClient.cpp(356)|Log2|STUN|StunClient::eek:nInitTests:[CM506001]: STUN request to resolve SIP external IP:port mapping is sent to STUN server [ V4 199.192.206.228:3478 UDP target domain=unspecified mFlowKey=0 ] over Transport [ V4 192.168.16.50:5060 UDP target domain=unspecified mFlowKey=0 ]<br>
    14:21:28.704|.\Authorization.cpp(180)|Critical0|Authorization|AuthMgr::eek:nAuthFailure:[CM102001]: Authentication failed for SipReq: REGISTER 1xx.183.27.23:5060 tid=db5429305b244a38 cseq=REGISTER contact=404@68.22x.252.68:51215 / 2 from(wire); Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings<br>
    14:22:47.191|.\Authorization.cpp(180)|Critical0|Authorization|AuthMgr::eek:nAuthFailure:[CM102001]: Authentication failed for SipReq: REGISTER 1xx.183.27.23:5060 tid=464e9b71b63c6c61 cseq=REGISTER contact=404@68.22x.252.68:52949 / 2 from(wire); Reason: Credentials don't match, check that authorization-ID and password match the ones in extension settings<br>
    14:23:18.296|.\Extension.cpp(406)|Log2||ExtnCfg::updateContact:[CM504001]: Ext.404: new contact is registered. Contact(s): [sip:404@127.0.0.1:52952;rinstance=f738687d2fea3779/404]<br>
    14:23:29.826|.\CallCtrl.cpp(346)|Log2||CallCtrl::eek:nIncomingCall:[CM503001]: Call(45): Incoming call from Ext.404 to <sip:4807971069@192.168.16.50:5060><br>
    14:23:29.828|.\Extension.cpp(1407)|Log3||Extension::printEndpointInfo:[CM505001]: Ext.404: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXPhone 6.0.26523.0] PBX contact: [sip:404@192.168.16.50:5060]<br>
    14:23:29.829|.\CallCtrl.cpp(529)|Log3||CallCtrl::eek:nSelectRouteReq:[CM503010]: Making route(s) to <sip:4807971069@192.168.16.50:5060><br>
    14:23:29.830|.\CallCtrl.cpp(651)|Log2||CallCtrl::eek:nSelectRouteReq:[CM503014]: Call(45): No known route to target: <sip:4807971069@192.168.16.50:5060><br>
    14:23:29.830|.\Call.cpp(1091)|Log2||Call::RouteFailed:[CM503016]: Call(45): Attempt to reach <sip:4807971069@192.168.16.50:5060> failed. Reason: Not Found<br>
    14:23:29.830|.\Call.cpp(605)|Log2||Call::DoEndCall:[CM503020]: Normal call termination. Reason: Not found<br>
    14:23:35.294|.\CallCtrl.cpp(346)|Log2||CallCtrl::eek:nIncomingCall:[CM503001]: Call(46): Incoming call from Ext.404 to <sip:4807971069@192.168.16.50:5060><br>
    14:23:35.296|.\Extension.cpp(1407)|Log3||Extension::printEndpointInfo:[CM505001]: Ext.404: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXPhone 6.0.26523.0] PBX contact: [sip:404@192.168.16.50:5060]<br>
    14:23:35.298|.\CallCtrl.cpp(529)|Log3||CallCtrl::eek:nSelectRouteReq:[CM503010]: Making route(s) to <sip:4807971069@192.168.16.50:5060><br>
    14:23:35.298|.\CallCtrl.cpp(651)|Log2||CallCtrl::eek:nSelectRouteReq:[CM503014]: Call(46): No known route to target: <sip:4807971069@192.168.16.50:5060><br>
    14:23:35.298|.\Call.cpp(1091)|Log2||Call::RouteFailed:[CM503016]: Call(46): Attempt to reach <sip:4807971069@192.168.16.50:5060> failed. Reason: Not Found<br>
    14:23:35.299|.\Call.cpp(605)|Log2||Call::DoEndCall:[CM503020]: Normal call termination. Reason: Not found<br>
    14:23:37.824|.\CallCtrl.cpp(346)|Log2||CallCtrl::eek:nIncomingCall:[CM503001]: Call(47): Incoming call from Ext.404 to <sip:4807971069@192.168.16.50:5060><br>
    14:23:37.825|.\Extension.cpp(1407)|Log3||Extension::printEndpointInfo:[CM505001]: Ext.404: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXPhone 6.0.26523.0] PBX contact: [sip:404@192.168.16.50:5060]<br>
    14:23:37.827|.\CallCtrl.cpp(529)|Log3||CallCtrl::eek:nSelectRouteReq:[CM503010]: Making route(s) to <sip:4807971069@192.168.16.50:5060><br>
    14:23:37.828|.\CallCtrl.cpp(651)|Log2||CallCtrl::eek:nSelectRouteReq:[CM503014]: Call(47): No known route to target: <sip:4807971069@192.168.16.50:5060><br>
    14:23:37.828|.\Call.cpp(1091)|Log2||Call::RouteFailed:[CM503016]: Call(47): Attempt to reach <sip:4807971069@192.168.16.50:5060> failed. Reason: Not Found<br>
    14:23:37.828|.\Call.cpp(605)|Log2||Call::DoEndCall:[CM503020]: Normal call termination. Reason: Not found<br>
     
  9. markshehan

    markshehan New Member

    Joined:
    Nov 14, 2012
    Messages:
    141
    Likes Received:
    0
    Re: 3cxphone Destination not found when dialing outside numb

    14:23:29.830|.\CallCtrl.cpp(651)|Log2||CallCtrl::eek:nSelectRouteReq:[CM503014]: Call(45): No known route to target: <sip:4807971069@192.168.16.50:5060><br>

    You have that a lot - No Known Route To Target. So you dont match an outbound rule.

    You have to have an outbound rule and each rule has to have at least 1 criteria in it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Buddyl

    Joined:
    Nov 8, 2012
    Messages:
    12
    Likes Received:
    0
    Re: 3cxphone Destination not found when dialing outside numb

    Where is the outbound rule placed? I have a grandstream here at the house connected through the tunnel and it will place or receive calls???

    I am able to register it without the tunnel now but still cannot place or receive calls.


    08:41:42.975|.\CallCtrl.cpp(346)|Log2||CallCtrl::eek:nIncomingCall:[CM503001]: Call(10): Incoming call from Ext.102 to <sip:17195651000@192.168.16.50><br>
    08:41:42.977|.\Extension.cpp(1407)|Log3||Extension::printEndpointInfo:[CM505001]: Ext.102: Device info: Device Identified: [Man: Grandstream;Mod: GXP Series;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [Grandstream GXP2120 1.0.4.9] PBX contact: [sip:102@192.168.16.50:5060]<br>
    08:41:42.978|.\CallCtrl.cpp(529)|Log3||CallCtrl::eek:nSelectRouteReq:[CM503010]: Making route(s) to <sip:17195651000@192.168.16.50><br>
    08:41:42.980|.\CallCtrl.cpp(708)|Log2||CallCtrl::eek:nSelectRouteReq:[CM503004]: Call(10): Route 1: PSTNline:17195651000@(Ln.10000@Cox)@[Dev:sip:10000@192.168.16.51:5060;transport=udp;user=phone,Dev:sip:10002@192.168.16.51:5064;transport=udp;user=phone,Dev:sip:10003@192.168.16.51:5066;transport=udp;user=phone,Dev:sip:10004@192.168.16.51:5068;transport=udp;user=phone,Dev:sip:10005@192.168.16.51:5070;transport=udp;user=phone]<br>
    08:41:43.026|.\Target.cpp(441)|Log2||Target::makeOneInvite:[CM503025]: Call(10): Calling PSTNline:17195651000@(Ln.10000@Cox)@[Dev:sip:10000@192.168.16.51:5060;transport=udp;user=phone]<br>
    08:41:48.971|.\CallLeg.cpp(315)|Log3||CallLeg::eek:nAnswer:[CM503002]: Call(10): Alerting sip:10000@192.168.16.51:5060;transport=udp;user=phone<br>
    08:41:48.972|.\Line.cpp(1452)|Log2||Line::printEndpointInfo:[CM505002]: Gateway:[Cox] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [Grandstream GXW4108 (HW 2.0, Ch:8) 1.3.4.13] PBX contact: [sip:10000@192.168.16.50:5060]<br>
    08:41:50.674|.\CallCtrl.cpp(885)|Log2||CallCtrl::eek:nLegConnected:[CM503007]: Call(10): Device joined: sip:102@192.168.16.152:5060<br>
    08:41:50.676|.\CallCtrl.cpp(885)|Log2||CallCtrl::eek:nLegConnected:[CM503007]: Call(10): Device joined: sip:10000@192.168.16.51:5060;transport=udp;user=phone<br>
    08:41:50.713|.\SLServer.cpp(868)|Log2|MediaServer|MediaServerReporting::DTMFhandler:[MS211000] C:10.2: 192.168.16.51:5032 is delivering DTMF using RTP payload (RFC2833). In-Band DTMF tone detection is disabled for this call segment.<br>
    08:42:08.364|.\Call.cpp(42)|Log3||??:Currently active calls - 2: [7,10]<br>
    08:42:40.366|.\Call.cpp(42)|Log3||??:Currently active calls - 2: [7,10]<br>
    08:43:10.367|.\Call.cpp(42)|Log3||??:Currently active calls - 2: [7,10]<br>
    08:43:16.975|.\Call.cpp(1396)|Log2||Call::Terminate:[CM503008]: Call(10): Call is terminated<br>
    08:43:42.369|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:44:14.371|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:44:44.373|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:45:16.375|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:45:48.376|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:46:18.378|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:46:50.380|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:47:22.382|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:47:54.384|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:48:26.386|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:48:31.782|.\Extension.cpp(406)|Log2||ExtnCfg::updateContact:[CM504001]: Ext.203: new contact is registered. Contact(s): [sip:203@192.168.2.250:5060/203]<br>
    08:48:58.387|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:49:28.389|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:50:00.391|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:50:32.393|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:51:02.394|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:51:34.396|.\Call.cpp(42)|Log3||??:Currently active calls - 1: [7]<br>
    08:52:00.667|.\Line.cpp(357)|Log2||LineCfg::getInboundTarget:[CM503012]: Inbound office hours rule (unnamed) for 10002 forwards to DN:800<br>
    08:52:00.674|.\CallCtrl.cpp(346)|Log2||CallCtrl::eek:nIncomingCall:[CM503001]: Call(11): Incoming call from 4807971070@(Ln.10002@Cox) to <sip:800@192.168.16.50:5060><br>
    08:52:00.676|.\Line.cpp(1452)|Log2||Line::printEndpointInfo:[CM505002]: Gateway:[Cox] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [Grandstream GXW4108 (HW 2.0, Ch:0) 1.3.4.13] PBX contact: [sip:10002@192.168.16.50:5060]<br>
    08:52:00.678|.\CallCtrl.cpp(529)|Log3||CallCtrl::eek:nSelectRouteReq:[CM503010]: Making route(s) to <sip:800@192.168.16.50:5060><br>
    08:52:00.683|.\CallCtrl.cpp(708)|Log2||CallCtrl::eek:nSelectRouteReq:[CM503004]: Call(11): Route 1: RingAll800[Ext.101,Ext.102,Ext.103,Ext.104,Ext.105,Ext.110,Ext.304,Ext.203]@[Dev:sip:101@192.168.16.151:5060,Dev:sip:102@192.168.16.152:5060,Dev:sip:103@192.168.16.153:5060,Dev:sip:104@192.168.16.154:5060,Dev:sip:105@192.168.16.155:5060,Dev:sip:110@192.168.16.160:5060,Dev:sip:203@192.168.2.250:5060]<br>
    08:52:00.720|.\Target.cpp(441)|Log2||Target::makeOneInvite:[CM503025]: Call(11): Calling RingAll800[Ext.101,Ext.102,Ext.103,Ext.104,Ext.105,Ext.110,Ext.304,Ext.203]@[Dev:sip:101@192.168.16.151:5060]<br>
    08:52:00.726|.\Target.cpp(441)|Log2||Target::makeOneInvite:[CM503025]: Call(11): Calling RingAll800[Ext.101,Ext.102,Ext.103,Ext.104,Ext.105,Ext.110,Ext.304,Ext.203]@[Dev:sip:102@192.168.16.152:5060]<br>
    08:52:00.731|.\Target.cpp(441)|Log2||Target::makeOneInvite:[CM503025]: Call(11): Calling RingAll800[Ext.101,Ext.102,Ext.103,Ext.104,Ext.105,Ext.110,Ext.304,Ext.203]@[Dev:sip:103@192.168.16.153:5060]<br>
    08:52:00.736|.\Target.cpp(441)|Log2||Target::makeOneInvite:[CM503025]: Call(11): Calling RingAll800[Ext.101,Ext.102,Ext.103,Ext.104,Ext.105,Ext.110,Ext.304,Ext.203]@[Dev:sip:104@192.168.16.154:5060]<br>
    08:52:00.742|.\Target.cpp(441)|Log2||Target::makeOneInvite:[CM503025]: Call(11): Calling RingAll800[Ext.101,Ext.102,Ext.103,Ext.104,Ext.105,Ext.110,Ext.304,Ext.203]@[Dev:sip:105@192.168.16.155:5060]<br>
    08:52:00.747|.\Target.cpp(441)|Log2||Target::makeOneInvite:[CM503025]: Call(11): Calling RingAll800[Ext.101,Ext.102,Ext.103,Ext.104,Ext.105,Ext.110,Ext.304,Ext.203]@[Dev:sip:110@192.168.16.160:5060]<br>
    08:52:00.752|.\Target.cpp(441)|Log2||Target::makeOneInvite:[CM503025]: Call(11): Calling RingAll800[Ext.101,Ext.102,Ext.103,Ext.104,Ext.105,Ext.110,Ext.304,Ext.203]@[Dev:sip:203@192.168.2.250:5060]<br>
    08:52:00.830|.\CallLeg.cpp(315)|Log3||CallLeg::eek:nAnswer:[CM503002]: Call(11): Alerting sip:103@192.168.16.153:5060<br>
    08:52:00.830|.\Extension.cpp(1407)|Log3||Extension::printEndpointInfo:[CM505001]: Ext.103: Device info: Device Identified: [Man: Grandstream;Mod: GXP Series;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [Grandstream GXP2120 1.0.4.9] PBX contact: [sip:103@192.168.16.50:5060]<br>
    08:52:00.833|.\CallLeg.cpp(315)|Log3||CallLeg::eek:nAnswer:[CM503002]: Call(11): Alerting sip:110@192.168.16.160:5060<br>
    08:52:00.833|.\Extension.cpp(1407)|Log3||Extension::printEndpointInfo:[CM505001]: Ext.110: Device info: Device Identified: [Man: Grandstream;Mod: GXP Series;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [Grandstream GXP2120 1.0.4.9] PBX contact: [sip:110@192.168.16.50:5060]<br>
     
  11. markshehan

    markshehan New Member

    Joined:
    Nov 14, 2012
    Messages:
    141
    Likes Received:
    0
    Re: 3cxphone Destination not found when dialing outside numb

    So your Grandstream was dialling 17195651000 and went out through your Grandstream gateway over the PSTN line.

    But you dialled a 4807971069 number and was refused.

    So firstly on was an 11 digit and one was 10 digit (that does make a difference if rules not set up). Also one was to 480 and the other to 719 area code. Does the Gateway only allow to 719?

    You should have outbound rules in 3cx (there is an outbound rule menu)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Buddyl

    Joined:
    Nov 8, 2012
    Messages:
    12
    Likes Received:
    0
    Re: 3cxphone Destination not found when dialing outside numb

    Ok, I think I got it.

    I checked the outbound rule, Added my extension (it fell outside the prefig exts)

    Decided to check the ring groups and added it to them also.

    It is now working.

    Thank you for your help.
     
  13. Buddyl

    Joined:
    Nov 8, 2012
    Messages:
    12
    Likes Received:
    0
    Re: 3cxphone Destination not found when dialing outside numb

    I tried to setup my Grandstream direct instead of tunnel before and It did not work. I unchecked the disallow box in 3cx and will look for the procedures to set it up again and see if it works. The calls get real choppy through the tunnel.

    If not then at least the soft phone works.

    Thank you again for your help.

    Buddy
     
  14. markshehan

    markshehan New Member

    Joined:
    Nov 14, 2012
    Messages:
    141
    Likes Received:
    0
    Re: 3cxphone Destination not found when dialing outside numb

    Glad you got it working.

    Always easier when we can see the logs - even if it is a pain to post. Helps us narrow it down quickly
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. markshehan

    markshehan New Member

    Joined:
    Nov 14, 2012
    Messages:
    141
    Likes Received:
    0
    Re: 3cxphone Destination not found when dialing outside numb

    I have hundreds of Grandstreams as remote connections and straight out the box.

    The easiest way to do it (with the latest firmware) is as follows:

    1. Configure the extension in 3cx
    2. Configure the public ip in 3cx (under network in setting)
    3. Open the ports needed in your firewall (looks like you have that as you can connect)
    4. Take the Grandstream into the office to the same lan and plug it in
    5. Go to the Phones menu in 3cx, find the phone, highlight it and click add to existing extension
    6. When it opens the extension, tell it to provision it outside the lan with stun.
    7. Test it (doesnt always work as you are internal trying to connect to your public ip from your public ip - known as hairpinning, which a lot of firewalls wont allow)
    8. Take it home and it should work and you can now configure changes from inside 3cx.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.