Hello
Can anybody help me in finding the problem in my case.
I got “cannot-complete-as-dialed” but I can’t figure out why.
*numbers are dummy
===SIP Extension 10000
context=from-internal
Assigned DID/CID Section : 13334445555/13334445555
Inbound Route has been automatically created when I added this DID in “Assigned DID” section of the extension detail.
Dialing from any phone to 13334445555, I got cannot-complete-as-dialed error.
-- Executing [13334445555@from-internal:1] ResetCDR("SIP/trunk_be-000000a1", "") in new stack
-- Executing [13334445555@from-internal:2] NoCDR("SIP/trunk_be-000000a1", "") in new stack
-- Executing [13334445555@from-internal:3] Progress("SIP/trunk_be-000000a1", "") in new stack
-- Executing [13334445555@from-internal:4] Wait("SIP/trunk_be-000000a1", "1") in new stack
-- Executing [13334445555@from-internal:5] Progress("SIP/trunk_be-000000a1", "") in new stack
-- Executing [13334445555@from-internal:6] Playback("SIP/trunk_be-000000a1", "silence/1&cannot-complete-as-dialed&check-number-dial-again|noanswer") in new stack
-- <SIP/voxbone_be-000000a1> Playing 'silence/1' (language 'en')
-- <SIP/voxbone_be-000000a1> Playing 'cannot-complete-as-dialed' (language 'en')
-- <SIP/voxbone_be-000000a1> Playing 'check-number-dial-again' (language 'en')
– Executing [13334445555@from-internal:7] Wait(“SIP/trunk_be-000000a4”, “1”) in new stack
– Executing [13334445555@from-internal:8] Congestion(“SIP/trunk_be-000000a4”, “20”) in new stack
== Spawn extension (from-internal, 13334445555, 8) exited non-zero on ‘SIP/trunk_be-000000a4’
– Executing [h@from-internal:1] Macro(“SIP/trunk_be-000000a4”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/trunk_be-000000a4”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
==SIP Trunk
–> I added this from Trunk page and sip_additional.conf shows this:
[Trunk2]
context=from-trunk-sip-Trunk2
[trunk_be]
host=11.22.33.44
type=friend
insecure=port,invite
context=from-internal
canreinvite=no
qualify=no
==extension_additional.conf shows :
[from-trunk-sip-Trunk2]
include => from-trunk-sip-Trunk2-custom
exten => _.,1,Set(GROUP()=OUT_2)
exten => _.,n,Goto(from-trunk,${EXTEN},1)
DID 13334445555 is assigned from this provider call is properly forwared to my FreePBX but it does not ring
my extension SIP/10000. I don’t know which context is correct when configuration from FreePBX Gui.
If you need more information please let me know.
Thank you