@
Adrian Fretwell I changed the not found to a log and set a destination but when testing am getting this error log([inbound routes] 404 not found when testing calls. Is it a DID issue? the log is below the attachements.
I also set a destination
Dialplan: sofia/external/724816442@10.221.6.218 parsing [public->caller-details] continue=true
Dialplan: sofia/external/724816442@10.221.6.218 Regex (PASS) [caller-details] () =~ // break=never
Dialplan: sofia/external/724816442@10.221.6.218 Action export(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/external/724816442@10.221.6.218 export(call_direction=inbound)
2020-02-19 11:34:02.967021 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/external/724816442@10.221.6.218 Action set(caller_destination=${sip_to_user}) INLINE
EXECUTE [depth=0] sofia/external/724816442@10.221.6.218 set(caller_destination=+254709603000)
2020-02-19 11:34:02.967021 [DEBUG] mod_dptools.c:1672 SET sofia/external/724816442@10.221.6.218 [caller_destination]=[+254709603000]
Dialplan: sofia/external/724816442@10.221.6.218 Action set(caller_id_name=${caller_id_name}) INLINE
EXECUTE [depth=0] sofia/external/724816442@10.221.6.218 set(caller_id_name=724816442)
2020-02-19 11:34:02.967021 [DEBUG] mod_dptools.c:1672 SET sofia/external/724816442@10.221.6.218 [caller_id_name]=[724816442]
Dialplan: sofia/external/724816442@10.221.6.218 Action set(caller_id_number=${caller_id_number})
Dialplan: sofia/external/724816442@10.221.6.218 parsing [public->0800723723] continue=false
Dialplan: sofia/external/724816442@10.221.6.218 Regex (FAIL) [0800723723] destination_number(+254709603000) =~ /^(0800723723)$/ break=on-false
Dialplan: sofia/external/724816442@10.221.6.218 parsing [public->254709603019] continue=false
Dialplan: sofia/external/724816442@10.221.6.218 Regex (FAIL) [254709603019] destination_number(+254709603000) =~ /^(254709603019)$/ break=on-false
Dialplan: sofia/external/724816442@10.221.6.218 parsing [public->0709603019] continue=false
Dialplan: sofia/external/724816442@10.221.6.218 Regex (FAIL) [0709603019] destination_number(+254709603000) =~ /^(0709603019)$/ break=on-false
Dialplan: sofia/external/724816442@10.221.6.218 parsing [public->0709603000] continue=false
Dialplan: sofia/external/724816442@10.221.6.218 Regex (FAIL) [0709603000] destination_number(+254709603000) =~ /^(0709603000)$/ break=on-false
Dialplan: sofia/external/724816442@10.221.6.218 parsing [public->not-found] continue=false
Dialplan: sofia/external/724816442@10.221.6.218 Regex (PASS) [not-found] () =~ // break=on-false
Dialplan: sofia/external/724816442@10.221.6.218 Action export(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/external/724816442@10.221.6.218 export(call_direction=inbound)
2020-02-19 11:34:02.967021 [DEBUG] switch_channel.c:1310 EXPORT (export_vars) [call_direction]=[inbound]
Dialplan: sofia/external/724816442@10.221.6.218 Action set(call_direction=inbound) INLINE
EXECUTE [depth=0] sofia/external/724816442@10.221.6.218 set(call_direction=inbound)
2020-02-19 11:34:02.967021 [DEBUG] mod_dptools.c:1672 SET sofia/external/724816442@10.221.6.218 [call_direction]=[inbound]
Dialplan: sofia/external/724816442@10.221.6.218 Action log([inbound routes] 404 not found ${sip_network_ip})
2020-02-19 11:34:02.967021 [DEBUG] switch_core_state_machine.c:287 (sofia/external/724816442@10.221.6.218) State Change CS_ROUTING -> CS_EXECUTE
2020-02-19 11:34:02.967021 [DEBUG] switch_core_state_machine.c:644 (sofia/external/724816442@10.221.6.218) State ROUTING going to sleep
2020-02-19 11:34:02.967021 [DEBUG] switch_core_state_machine.c:585 (sofia/external/724816442@10.221.6.218) Running State Change CS_EXECUTE (Cur 1 Tot 40)
2020-02-19 11:34:02.967021 [DEBUG] switch_core_state_machine.c:651 (sofia/external/724816442@10.221.6.218) State EXECUTE
2020-02-19 11:34:02.967021 [DEBUG] mod_sofia.c:209 sofia/external/724816442@10.221.6.218 SOFIA EXECUTE
2020-02-19 11:34:02.967021 [DEBUG] switch_core_state_machine.c:329 sofia/external/724816442@10.221.6.218 Standard EXECUTE
EXECUTE [depth=0] sofia/external/724816442@10.221.6.218 set(caller_id_number=724816442)
2020-02-19 11:34:02.967021 [DEBUG] mod_dptools.c:1672 SET sofia/external/724816442@10.221.6.218 [caller_id_number]=[724816442]
EXECUTE [depth=0] sofia/external/724816442@10.221.6.218 log([inbound routes] 404 not found 10.66.57.75)
please help