Outbound routes not work

Status
Not open for further replies.

develop90

New Member
Mar 19, 2019
6
1
3
33
hello friends, i writed in other thread but the thread is marked SOLVED so i don't have a reply
i have the same problem, with italian provider, eutelia /clouditalia

first all i tell you
for the inbound route and the gateway I followed the official guide
sorry for my english!
i added gateway , euteliavoip in the CONTEXT public and profile EXTERNAL
so in ->destination->new i created new inbound routes whit my DID on destination and TRANSFER 110XML x.x.x.x
CONTEXT PUBLIC and DOMAIN x.x.x.x
for last i added ICDR with IPPROVIDER/24
memcache flush
reloadacl
and inbound calls is OK for my extension


at last i've created outbound route for extensions, but any ext response: temporarily unaivable
my outbound route is correct, i've also ask on support telegram,
i attach IMG of my outbound route


in this image, i insert 9 prefix, so for calling outbound i try to call: 9->number

can anyone help me?? :-D


and now i past log:
16c2047a-9ce2-4e09-916d-ab67f5d0717d 2019-03-21 16:42:39.349290 [INFO] mod_dialplan_xml.c:637 Processing 110 <110>->000000 in context public
16c2047a-9ce2-4e09-916d-ab67f5d0717d Dialplan: sofia/internal/110@xxxxx parsing [public->caller-details] continue=true
16c2047a-9ce2-4e09-916d-ab67f5d0717d Dialplan: sofia/internal/110@xxxx Regex (PASS) [caller-details] () =~ // break=never
16c2047a-9ce2-4e09-916d-ab67f5d0717d Dialplan: sofia/internal/110@xxxx Action export(call_direction=inbound) INLINE
16c2047a-9ce2-4e09-916d-ab67f5d0717d EXECUTE sofia/internal/110@xxx export(call_direction=inbound)

16c2047a-9ce2-4e09-916d-ab67f5d0717d 2019-03-21 16:42:39.349290 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_direction]=[inbound]
16c2047a-9ce2-4e09-916d-ab67f5d0717d Dialplan: sofia/internal/110@xxxx Action set(caller_destination=${destination_number}) INLINE
16c2047a-9ce2-4e09-916d-ab67f5d0717d EXECUTE sofia/internal/110@xxxxx set(caller_destination=00000)
16c2047a-9ce2-4e09-916d-ab67f5d0717d 2019-03-21 16:42:39.349290 [DEBUG] mod_dptools.c:1598 SET sofia/internal/110@xxxx [caller_destination]=[000000]
16c2047a-9ce2-4e09-916d-ab67f5d0717d Dialplan: sofia/internal/110@xxxxx Action set(caller_id_name=${caller_id_name}) INLINE
16c2047a-9ce2-4e09-916d-ab67f5d0717d EXECUTE sofia/internal/110@xxxxxx set(caller_id_name=110)
16c2047a-9ce2-4e09-916d-ab67f5d0717d 2019-03-21 16:42:39.349290 [DEBUG] mod_dptools.c:1598 SET sofia/internal/110@xxxxx [caller_id_name]=[110]
16c2047a-9ce2-4e09-916d-ab67f5d0717d Dialplan: sofia/internal/110@xxxx Action set(caller_id_number=${caller_id_number}) INLINE
16c2047a-9ce2-4e09-916d-ab67f5d0717d EXECUTE sofia/internal/110@xxxx set(caller_id_number=110)
16c2047a-9ce2-4e09-916d-ab67f5d0717d 2019-03-21 16:42:39.349290 [DEBUG] mod_dptools.c:1598 SET sofia/internal/110@xxxx [caller_id_number]=[110]
16c2047a-9ce2-4e09-916d-ab67f5d0717d Dialplan: sofia/internal/110@xxx parsing [public->020000] continue=false
16c2047a-9ce2-4e09-916d-ab67f5d0717d Dialplan: sofia/internal/110@xxxx Regex (FAIL) [020000] destination_number(000000) =~ /^(020000)$/ break=on-false
16c2047a-9ce2-4e09-916d-ab67f5d0717d Dialplan: sofia/internal/110@xxxx parsing [public->not-found] continue=false
16c2047a-9ce2-4e09-916d-ab67f5d0717d Dialplan: sofia/internal/110@xxxx Regex (PASS) [not-found] () =~ // break=on-false
16c2047a-9ce2-4e09-916d-ab67f5d0717d Dialplan: sofia/internal/110@xxxx Action export(call_direction=inbound) INLINE
16c2047a-9ce2-4e09-916d-ab67f5d0717d EXECUTE sofia/internal/110@xxxx export(call_direction=inbound)
16c2047a-9ce2-4e09-916d-ab67f5d0717d 2019-03-21 16:42:39.349290 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_direction]=[inbound]
16c2047a-9ce2-4e09-916d-ab67f5d0717d Dialplan: sofia/internal/110@xxxx Action set(call_direction=inbound) INLINE
16c2047a-9ce2-4e09-916d-ab67f5d0717d EXECUTE sofia/internal/110@xxxx set(call_direction=inbound)
16c2047a-9ce2-4e09-916d-ab67f5d0717d 2019-03-21 16:42:39.349290 [DEBUG] mod_dptools.c:1598 SET sofia/internal/110@xxxx [call_direction]=[inbound]
16c2047a-9ce2-4e09-916d-ab67f5d0717d Dialplan: sofia/internal/110@xxxx Action log([inbound routes] 404 not found ${sip_network_ip}) INLINE
16c2047a-9ce2-4e09-916d-ab67f5d0717d EXECUTE sofia/internal/110@xxxx log([inbound routes] 404 not found 7xxxx)
 

develop90

New Member
Mar 19, 2019
6
1
3
33
@develop90 please post a screenshot of your outbound route and the number you are trying to call.
hello easyBB, thanks for your reply
ok now i post screen of configuration and log
outbound.JPG

instead this is log viewer

PHP:
de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [INFO] mod_dialplan_xml.c:637 Processing 110 <110>->90289038740 in context public
0de18521-c54f-4cea-9cf8-dce230bdacaa Dialplan: sofia/internal/110@51.83.xxx.xxx parsing [public->caller-details] continue=true
0de18521-c54f-4cea-9cf8-dce230bdacaa Dialplan: sofia/internal/110@51.83.xxx.xxx Regex (PASS) [caller-details] () =~ // break=never
0de18521-c54f-4cea-9cf8-dce230bdacaa Dialplan: sofia/internal/110@51.83.xxx.xxx Action export(call_direction=inbound) INLINE
0de18521-c54f-4cea-9cf8-dce230bdacaa EXECUTE sofia/internal/110@51.83.xxx.xxx export(call_direction=inbound)
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_direction]=[inbound]
0de18521-c54f-4cea-9cf8-dce230bdacaa Dialplan: sofia/internal/110@51.83.xxx.xxx Action set(caller_destination=${destination_number}) INLINE
0de18521-c54f-4cea-9cf8-dce230bdacaa EXECUTE sofia/internal/110@51.83.xxx.xxx set(caller_destination=90289038740)
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] mod_dptools.c:1598 SET sofia/internal/110@51.83.xxx.xxx [caller_destination]=[90289038740]
0de18521-c54f-4cea-9cf8-dce230bdacaa Dialplan: sofia/internal/110@51.83.xxx.xxx Action set(caller_id_name=${caller_id_name}) INLINE
0de18521-c54f-4cea-9cf8-dce230bdacaa EXECUTE sofia/internal/110@51.83.xxx.xxx set(caller_id_name=110)
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] mod_dptools.c:1598 SET sofia/internal/110@51.83.xxx.xxx [caller_id_name]=[110]
0de18521-c54f-4cea-9cf8-dce230bdacaa Dialplan: sofia/internal/110@51.83.xxx.xxx Action set(caller_id_number=${caller_id_number}) INLINE
0de18521-c54f-4cea-9cf8-dce230bdacaa EXECUTE sofia/internal/110@51.83.xxx.xxx set(caller_id_number=110)
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] mod_dptools.c:1598 SET sofia/internal/110@51.83.xxx.xxx [caller_id_number]=[110]
0de18521-c54f-4cea-9cf8-dce230bdacaa Dialplan: sofia/internal/110@51.83.xxx.xxx parsing [public->0289959499] continue=false
0de18521-c54f-4cea-9cf8-dce230bdacaa Dialplan: sofia/internal/110@51.83.xxx.xxx Regex (FAIL) [0289959499] destination_number(90289038740) =~ /^(0289959499)$/ break=on-false
0de18521-c54f-4cea-9cf8-dce230bdacaa Dialplan: sofia/internal/110@51.83.xxx.xxx parsing [public->not-found] continue=false
0de18521-c54f-4cea-9cf8-dce230bdacaa Dialplan: sofia/internal/110@51.83.xxx.xxx Regex (PASS) [not-found] () =~ // break=on-false
0de18521-c54f-4cea-9cf8-dce230bdacaa Dialplan: sofia/internal/110@51.83.xxx.xxx Action export(call_direction=inbound) INLINE
0de18521-c54f-4cea-9cf8-dce230bdacaa EXECUTE sofia/internal/110@51.83.xxx.xxx export(call_direction=inbound)
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_channel.c:1296 EXPORT (export_vars) [call_direction]=[inbound]
0de18521-c54f-4cea-9cf8-dce230bdacaa Dialplan: sofia/internal/110@51.83.xxx.xxx Action set(call_direction=inbound) INLINE
0de18521-c54f-4cea-9cf8-dce230bdacaa EXECUTE sofia/internal/110@51.83.xxx.xxx set(call_direction=inbound)
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] mod_dptools.c:1598 SET sofia/internal/110@51.83.xxx.xxx [call_direction]=[inbound]
0de18521-c54f-4cea-9cf8-dce230bdacaa Dialplan: sofia/internal/110@51.83.xxx.xxx Action log([inbound routes] 404 not found ${sip_network_ip}) INLINE
0de18521-c54f-4cea-9cf8-dce230bdacaa EXECUTE sofia/internal/110@51.83.xxx.xxx log([inbound routes] 404 not found 87.19.101.198)
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] mod_dptools.c:1792 routes] 404 not found 87.19.101.198
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/110@51.83.xxx.xxx) State Change CS_ROUTING -> CS_EXECUTE
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/110@51.83.xxx.xxx) State ROUTING going to sleep
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/110@51.83.xxx.xxx) Running State Change CS_EXECUTE (Cur 1 Tot 135)
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/110@51.83.xxx.xxx) State EXECUTE
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] mod_sofia.c:209 sofia/internal/110@51.83.xxx.xxx SOFIA EXECUTE
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:328 sofia/internal/110@51.83.xxx.xxx Standard EXECUTE
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [NOTICE] switch_core_state_machine.c:385 sofia/internal/110@51.83.xxx.xxx has executed the last dialplan instruction, hanging up.
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [NOTICE] switch_core_state_machine.c:387 Hangup sofia/internal/110@51.83.xxx.xxx [CS_EXECUTE] [NORMAL_CLEARING]
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/110@51.83.xxx.xxx) State EXECUTE going to sleep
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/110@51.83.xxx.xxx) Running State Change CS_HANGUP (Cur 1 Tot 135)
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:847 (sofia/internal/110@51.83.xxx.xxx) Callstate Change RINGING -> HANGUP
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/110@51.83.xxx.xxx) State HANGUP
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] mod_sofia.c:449 Channel sofia/internal/110@51.83.xxx.xxx hanging up, cause: NORMAL_CLEARING
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] mod_sofia.c:589 Responding to INVITE with: 480
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:60 sofia/internal/110@51.83.xxx.xxx Standard HANGUP, cause: NORMAL_CLEARING
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/110@51.83.xxx.xxx) State HANGUP going to sleep
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/110@51.83.xxx.xxx) State Change CS_HANGUP -> CS_REPORTING
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/110@51.83.xxx.xxx) Running State Change CS_REPORTING (Cur 1 Tot 135)
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.369243 [DEBUG] switch_core_state_machine.c:935 (sofia/internal/110@51.83.xxx.xxx) State REPORTING
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.409225 [DEBUG] switch_core_state_machine.c:174 sofia/internal/110@51.83.xxx.xxx Standard REPORTING, cause: NORMAL_CLEARING
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.409225 [DEBUG] switch_core_state_machine.c:935 (sofia/internal/110@51.83.xxx.xxx) State REPORTING going to sleep
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.409225 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/110@51.83.xxx.xxx) State Change CS_REPORTING -> CS_DESTROY
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.409225 [DEBUG] switch_core_session.c:1715 Session 135 (sofia/internal/110@51.83.xxx.xxx) Locked, Waiting on external entities
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.409225 [NOTICE] switch_core_session.c:1733 Session 135 (sofia/internal/110@51.83.xxx.xxx) Ended
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.409225 [NOTICE] switch_core_session.c:1737 Close Channel sofia/internal/110@51.83.xxx.xxx [CS_DESTROY]
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.409225 [DEBUG] switch_core_state_machine.c:738 (sofia/internal/110@51.83.xxx.xxx) Running State Change CS_DESTROY (Cur 0 Tot 135)
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.409225 [DEBUG] switch_core_state_machine.c:748 (sofia/internal/110@51.83.xxx.xxx) State DESTROY
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.409225 [DEBUG] mod_sofia.c:354 sofia/internal/110@51.83.xxx.xxx SOFIA DESTROY
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.409225 [DEBUG] switch_core_state_machine.c:181 sofia/internal/110@51.83.xxx.xxx Standard DESTROY
0de18521-c54f-4cea-9cf8-dce230bdacaa 2019-03-27 13:42:26.409225 [DEBUG] switch_core_state_machine.c:748 (sofia/internal/110@51.83.xxx.xxx) State DESTROY going to sleep
 
Status
Not open for further replies.