IVR no route

Status
Not open for further replies.

Daniele

Member
Feb 1, 2017
45
0
6
43
Hi,
I just installed a fresh installation of FusionPBX. I'm checking a bit of functions but I found a problem defining an inbound rule that go to a IVR.

In the IVR I set a greet long and I defined 2 buttons (1 and 2) that should play others audio.

Unfortunately when the call arrive and is sent to the IVR I see this in logs:

67490c1c-5778-4429-ab55-67a6b6bd9d09 2017-02-01 23:18:22.690219 [NOTICE] switch_core_state_machine.c:312 Hangup sofia/external/number@ip [CS_ROUTING] [NO_ROUTE_DESTINATION]
67490c1c-5778-4429-ab55-67a6b6bd9d09 2017-02-01 23:18:22.690219 [INFO] switch_core_state_machine.c:311 No Route, Aborting

So the call fails with NO_ROUTE_DESTINATION failure code.
Some hints?

Thanks
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
Well, firstly, you need to create a destination and point that to IVR then you need to pint the IVR to some extension or other, you haven't mentioned that. You need to send the IVR to somewhere
 

Daniele

Member
Feb 1, 2017
45
0
6
43
Hi,
I already created the destination to point that to the IVR. Infact in logs I see

ccc66ba7-6fb7-4a3c-aefa-5d9bba00e297 EXECUTE sofia/external/number@ip transfer(IVR opening time XML hostname)

I forgot to mention before. So I'm sure the call is correctly redirected to the IVR.
In the IVR I created 2 lines for 1 and 2 button that play a prompt. That should be enough I think....and moreover I should at least ear the first greet message....but this don't happen and the call is hang out immediatly.

thanks
 

Daniele

Member
Feb 1, 2017
45
0
6
43
Hi,
this is the complete log of the call incoming.

Thanks

Code:
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.135746 [DEBUG] switch_core_state_machine.c:751 (sofia/external/02991122@myprovider.com) State DESTROY going to sleep
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.135746 [DEBUG] switch_core_state_machine.c:181 sofia/external/02991122@myprovider.com Standard DESTROY
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.135746 [DEBUG] mod_sofia.c:343 sofia/external/02991122@myprovider.com SOFIA DESTROY
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.135746 [DEBUG] switch_core_state_machine.c:751 (sofia/external/02991122@myprovider.com) State DESTROY
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.135746 [DEBUG] switch_core_state_machine.c:741 (sofia/external/02991122@myprovider.com) Running State Change CS_DESTROY (Cur 0 Tot 16)
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.135746 [NOTICE] switch_core_session.c:1669 Close Channel sofia/external/02991122@myprovider.com [CS_DESTROY]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.135746 [NOTICE] switch_core_session.c:1665 Session 16 (sofia/external/02991122@myprovider.com) Ended
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.135746 [DEBUG] switch_core_session.c:1647 Session 16 (sofia/external/02991122@myprovider.com) Locked, Waiting on external entities
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.135746 [DEBUG] switch_core_state_machine.c:610 (sofia/external/02991122@myprovider.com) State Change CS_REPORTING -> CS_DESTROY
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.135746 [DEBUG] switch_core_state_machine.c:938 (sofia/external/02991122@myprovider.com) State REPORTING going to sleep
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.135746 [DEBUG] switch_core_state_machine.c:174 sofia/external/02991122@myprovider.com Standard REPORTING, cause: NO_ROUTE_DESTINATION
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:938 (sofia/external/02991122@myprovider.com) State REPORTING
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:584 (sofia/external/02991122@myprovider.com) Running State Change CS_REPORTING (Cur 1 Tot 16)
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:619 (sofia/external/02991122@myprovider.com) State Change CS_HANGUP -> CS_REPORTING
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:852 (sofia/external/02991122@myprovider.com) State HANGUP going to sleep
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:60 sofia/external/02991122@myprovider.com Standard HANGUP, cause: NO_ROUTE_DESTINATION
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] mod_sofia.c:577 Responding to INVITE with: 404
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] mod_sofia.c:438 Channel sofia/external/02991122@myprovider.com hanging up, cause: NO_ROUTE_DESTINATION
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:852 (sofia/external/02991122@myprovider.com) State HANGUP
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:850 (sofia/external/02991122@myprovider.com) Callstate Change RINGING -> HANGUP
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:584 (sofia/external/02991122@myprovider.com) Running State Change CS_HANGUP (Cur 1 Tot 16)
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:643 (sofia/external/02991122@myprovider.com) State ROUTING going to sleep
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [NOTICE] switch_core_state_machine.c:312 Hangup sofia/external/02991122@myprovider.com [CS_ROUTING] [NO_ROUTE_DESTINATION]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [INFO] switch_core_state_machine.c:311 No Route, Aborting
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:236 sofia/external/02991122@myprovider.com Standard ROUTING
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] mod_sofia.c:143 sofia/external/02991122@myprovider.com SOFIA ROUTING
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:643 (sofia/external/02991122@myprovider.com) State ROUTING
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:584 (sofia/external/02991122@myprovider.com) Running State Change CS_ROUTING (Cur 1 Tot 16)
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:650 (sofia/external/02991122@myprovider.com) State EXECUTE going to sleep
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [NOTICE] switch_ivr.c:2167 Transfer sofia/external/02991122@myprovider.com to apertura[IVR@02123456]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_ivr.c:2160 (sofia/external/02991122@myprovider.com) State Change CS_EXECUTE -> CS_ROUTING
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 EXECUTE sofia/external/02991122@myprovider.com transfer(IVR apertura 02123456 XML myserver.com)
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:328 sofia/external/02991122@myprovider.com Standard EXECUTE
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] mod_sofia.c:198 sofia/external/02991122@myprovider.com SOFIA EXECUTE
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:650 (sofia/external/02991122@myprovider.com) State EXECUTE
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:584 (sofia/external/02991122@myprovider.com) Running State Change CS_EXECUTE (Cur 1 Tot 16)
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:643 (sofia/external/02991122@myprovider.com) State ROUTING going to sleep
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:286 (sofia/external/02991122@myprovider.com) State Change CS_ROUTING -> CS_EXECUTE
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 Dialplan: sofia/external/02991122@myprovider.com Action transfer(IVR apertura 02123456 XML myserver.com)
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] mod_dptools.c:1527 SET sofia/external/02991122@myprovider.com [domain_name]=[myserver.com]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 EXECUTE sofia/external/02991122@myprovider.com set(domain_name=myserver.com)
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 Dialplan: sofia/external/02991122@myprovider.com Action set(domain_name=myserver.com) INLINE
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] mod_dptools.c:1527 SET sofia/external/02991122@myprovider.com [domain_uuid]=[3fd4bdb7-2034-4277-a173-838d1bed629b]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 EXECUTE sofia/external/02991122@myprovider.com set(domain_uuid=3fd4bdb7-2034-4277-a173-838d1bed629b)
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 Dialplan: sofia/external/02991122@myprovider.com Action set(domain_uuid=3fd4bdb7-2034-4277-a173-838d1bed629b) INLINE
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] mod_dptools.c:1527 SET sofia/external/02991122@myprovider.com [call_direction]=[inbound]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 EXECUTE sofia/external/02991122@myprovider.com set(call_direction=inbound)
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 Dialplan: sofia/external/02991122@myprovider.com Action set(call_direction=inbound) INLINE
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 Dialplan: sofia/external/02991122@myprovider.com Regex (PASS) [02123456] destination_number(02123456) =~ /^(02123456)$/ break=on-false
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 Dialplan: sofia/external/02991122@myprovider.com parsing [public->02123456] continue=false
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [INFO] mod_dialplan_xml.c:637 Processing 02991122 <02991122>->02123456 in context public
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:236 sofia/external/02991122@myprovider.com Standard ROUTING
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] mod_sofia.c:143 sofia/external/02991122@myprovider.com SOFIA ROUTING
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:643 (sofia/external/02991122@myprovider.com) State ROUTING
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_channel.c:2249 (sofia/external/02991122@myprovider.com) Callstate Change DOWN -> RINGING
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:584 (sofia/external/02991122@myprovider.com) Running State Change CS_ROUTING (Cur 1 Tot 16)
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:627 (sofia/external/02991122@myprovider.com) State INIT going to sleep
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:48 (sofia/external/02991122@myprovider.com) State Change CS_INIT -> CS_ROUTING
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:40 sofia/external/02991122@myprovider.com Standard INIT
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] mod_sofia.c:90 sofia/external/02991122@myprovider.com SOFIA INIT
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:627 (sofia/external/02991122@myprovider.com) State INIT
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:584 (sofia/external/02991122@myprovider.com) Running State Change CS_INIT (Cur 1 Tot 16)
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:603 (sofia/external/02991122@myprovider.com) State NEW
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] sofia.c:7464 (sofia/external/02991122@myprovider.com) State Change CS_NEW -> CS_INIT
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4696 sofia/external/02991122@myprovider.com Set 2833 dtmf send payload to 101 recv payload to 101
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4637 Set telephone-event payload to 101@8000
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_codec.c:111 sofia/external/02991122@myprovider.com Original read codec set to PCMA:8
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:3043 Set Codec sofia/external/02991122@myprovider.com PCMA/8000 20 ms 160 samples 64000 bits 1 channels
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4294 Set telephone-event payload to 101@8000
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4378 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4378 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4433 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4378 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4378 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4378 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[GSM:3:8000:20:13200:1]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4433 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4378 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4378 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4378 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4378 Audio Codec Compare [G729:18:8000:20:8000:1]/[GSM:3:8000:20:13200:1]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4378 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4378 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_media.c:4378 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 a=ptime:20
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 a=fmtp:101 0-15
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 a=rtpmap:101 telephone-event/8000
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 a=rtpmap:0 PCMU/8000/1
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 a=rtpmap:8 PCMA/8000/1
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 a=fmtp:18 annexb=no
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 a=rtpmap:18 G729/8000/1
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 b=AS:26
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 m=audio 35894 RTP/AVP 18 8 0 101
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 t=0 0
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 c=IN IP4 125.220.11.150
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 s=SIP Call
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 o=anonymous 148615603767 148615603767 IN IP4 125.220.11.100
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 v=0
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] sofia.c:7051 Remote SDP:
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] sofia.c:7041 Channel sofia/external/02991122@myprovider.com entering state [received][100]
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] sofia.c:9815 sofia/external/02991122@myprovider.com receiving invite from 125.220.11.100:5060 version: 1.6.14 -23-e460bf8 64bit
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [DEBUG] switch_core_state_machine.c:584 (sofia/external/02991122@myprovider.com) Running State Change CS_NEW (Cur 1 Tot 16)
ce85ac06-666a-4ef1-9c9b-9d3c197f0670 2017-02-03 22:07:17.075753 [NOTICE] switch_channel.c:1104 New Channel sofia/external/02991122@myprovider.com [ce85ac06-666a-4ef1-9c9b-9d3c197f0670]
 

Daniele

Member
Feb 1, 2017
45
0
6
43
I think I solved the problem. Was my fault: I exchanged the extension number with the name in the IVR form. So I guess freeswitch was not able to find the extension.
I think maybe the extension number should be checked during the insert so to avoid this silly errors. What do you think?
Should I open a enhancement request to fusionPbx?
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,044
565
113
I wouldn't bother ticketing it, we always use extension numbers.
 
Status
Not open for further replies.