no_route_destination error with extension dial - fusionpbx 4.5.32

Status
Not open for further replies.

leean

New Member
Apr 11, 2019
17
1
3
52
vietvan.net
Fresh install a FusionPBX from master branch on bare metal with Debian 10.4, the Fusion is at latest of 4.5.32
everything seems OK, start creating extenstions for local calling
from clients ( Bria Mobile) registered, dial 1001 -> 1000 ( they are extension ranges) then got no_route_destination issue
===========
everything from default setting after fresh installation, nothing configure extra

Stuck at this 4.5.32 , can not moving far now
Anybody can help ?



=================
fs_cli log


2022-01-06 18:16:20.779770 99.33% [NOTICE] switch_channel.c:1123 New Channel sofia/internal/1001@myXXX.com [705793b2-c5d4-4449-beeb-d4b28289a7ff]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/1001@myXXX.com) Running State Change CS_NEW (Cur 1 Tot 2)
2022-01-06 18:16:20.779770 99.33% [INFO] sofia.c:10462 sofia/internal/1001@myXXX.com receiving invite from 192.168.99.1:64180 version: 1.10.7 -release-19-883d2cb662 64bit call-id: ZGU0MWExMDAyYjdkNDJhNGVhYzViYjlmM2RlMjU4OWI
2022-01-06 18:16:20.779770 99.33% [DEBUG] sofia.c:10556 verifying acl "domains" for ip/port 192.168.99.1:0.
2022-01-06 18:16:20.779770 99.33% [DEBUG] sofia.c:10585 IP 192.168.99.1 Approved by acl "domains[]". Access Granted.
2022-01-06 18:16:20.779770 99.33% [DEBUG] sofia.c:11672 Setting NAT mode based on via received
2022-01-06 18:16:20.779770 99.33% [DEBUG] sofia.c:7499 Channel sofia/internal/1001@myXXX.com entering state [received][100]
2022-01-06 18:16:20.779770 99.33% [DEBUG] sofia.c:7509 Remote SDP:
v=0
o=- 1641521780398902 1 IN IP4 192.168.99.15
s=Cpc session
c=IN IP4 192.168.99.15
t=0 0
m=audio 55052 RTP/AVP 0 8 120 9 103 18 101
a=rtpmap:120 opus/48000/2
a=fmtp:120 useinbandfec=1; usedtx=1; maxaveragebitrate=64000
a=rtpmap:103 AMR-WB/16000
a=fmtp:103 mode-change-capability=2
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:120:48000:20:0:2]/[G722:9:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:120:48000:20:0:2]/[PCMU:0:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [opus:120:48000:20:0:2]/[PCMA:8:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5705 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [AMR-WB:103:16000:20:0:1]/[G722:9:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [AMR-WB:103:16000:20:0:1]/[PCMU:0:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [AMR-WB:103:16000:20:0:1]/[PCMA:8:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5650 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1]
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5566 Set telephone-event payload to 101@8000
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:3870 Set Codec sofia/internal/1001@myXXX.com PCMU/8000 20 ms 160 samples 64000 bits 1 channels
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_codec.c:111 sofia/internal/1001@myXXX.com Original read codec set to PCMU:0
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5915 Set telephone-event payload to 101@8000
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_media.c:5973 sofia/internal/1001@myXXX.com Set 2833 dtmf send payload to 101 recv payload to 101
2022-01-06 18:16:20.779770 99.33% [DEBUG] sofia.c:7933 (sofia/internal/1001@myXXX.com) State Change CS_NEW -> CS_INIT
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_state_machine.c:600 (sofia/internal/1001@myXXX.com) State NEW
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/1001@myXXX.com) Running State Change CS_INIT (Cur 1 Tot 2)
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_state_machine.c:624 (sofia/internal/1001@myXXX.com) State INIT
2022-01-06 18:16:20.779770 99.33% [DEBUG] mod_sofia.c:97 sofia/internal/1001@myXXX.com SOFIA INIT
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_state_machine.c:40 sofia/internal/1001@myXXX.com Standard INIT
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1001@myXXX.com) State Change CS_INIT -> CS_ROUTING
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_state_machine.c:624 (sofia/internal/1001@myXXX.com) State INIT going to sleep
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_state_machine.c:581 (sofia/internal/1001@myXXXcom) Running State Change CS_ROUTING (Cur 1 Tot 2)
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_channel.c:2380 (sofia/internal/1001@myXXX.com) Callstate Change DOWN -> RINGING
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_state_machine.c:640 (sofia/internal/1001myXXX.com) State ROUTING
2022-01-06 18:16:20.779770 99.33% [DEBUG] mod_sofia.c:158 sofia/internal/1001@myXXX.com SOFIA ROUTING
2022-01-06 18:16:20.779770 99.33% [DEBUG] switch_core_state_machine.c:230 sofia/internal/1001@myXXX.com Standard ROUTING
2022-01-06 18:16:20.779770 99.33% [INFO] mod_dialplan_xml.c:639 Processing Quang Le <1001>->1000 in context public
Dialplan: sofia/internal/1001@myXXX.com parsing [public->] continue=false
Dialplan: sofia/internal/1001@myXXX.com Regex (FAIL) [] destination_number(1000) =~ /^\+(19096551686)$/ break=on-false
Dialplan: sofia/internal/1001@myXXX.com parsing [public->] continue=false
Dialplan: sofia/internal/1001@myXXX.com Regex (FAIL) [] destination_number(1000) =~ /^(842877766698)$/ break=on-false
Dialplan: sofia/internal/1001@myXXX.com parsing [public->] continue=false
Dialplan: sofia/internal/1001@myXXX.com Regex (FAIL) [] destination_number(1000) =~ /^(842877766501)$/ break=on-false
2022-01-06 18:16:20.799741 99.33% [INFO] switch_core_state_machine.c:306 No Route, Aborting





============

myXXX = my own domain name
 
Last edited:

Adrian Fretwell

Well-Known Member
Aug 13, 2017
1,498
413
83
It looks like you may have put your local IP address in the ACL, only your SIP providers should go in there.
 
  • Like
Reactions: rnpsh19

leean

New Member
Apr 11, 2019
17
1
3
52
vietvan.net
It looks like you may have put your local IP address in the ACL, only your SIP providers should go in there.
OK, maybe i put my network/24 in the domain,
i cant't just wait but re-fresh install and set it up to work now now
but the 4.5.32 seems to have problem that T38 had been broken, so can not send and receive faxes now. but just leave it for now

another quick question:
i have install the sms and follow the instruction in https://github.com/fusionpbx/fusionpbx-apps/tree/master/sms , the webhook in my domain is : https://myip/app/sms/hook/sms_hook_twilio.php and get the error : access denied

is that the permission issue ? and what is the correct permission i have to set manually to make it work ?

Thank you
 
Status
Not open for further replies.