I have check and triple check all my setting…
Here is my cli log
I have inbound issues only no matter what i change or tweak it wont work.
The only way i get it to work is to do allow ANY DID in the inbound then it work
Here is the CLI with the DID
-- Executing [2673508770@from-trunk:1] Set("SIP/VitelityINBOUND-00000006", "__FROM_DID=2673508770") in new stack
-- Executing [2673508770@from-trunk:2] NoOp("SIP/VitelityINBOUND-00000006", "Received an unknown call with DID set to 2673508770") in new stack
-- Executing [2673508770@from-trunk:3] Goto("SIP/VitelityINBOUND-00000006", "s,a2") in new stack
-- Goto (from-trunk,s,2)
-- Executing [s@from-trunk:2] Answer("SIP/VitelityINBOUND-00000006", "") in new stack
-- Executing [s@from-trunk:3] Wait("SIP/VitelityINBOUND-00000006", "2") in new stack
-- Executing [s@from-trunk:4] Playback("SIP/VitelityINBOUND-00000006", "ss-noservice") in new stack
-- <SIP/VitelityINBOUND-00000006> Playing 'ss-noservice.ulaw' (language 'en')
== Spawn extension (from-trunk, s, 4) exited non-zero on ‘SIP/VitelityINBOUND-00000006’
– Executing [h@from-trunk:1] Macro(“SIP/VitelityINBOUND-00000006”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/VitelityINBOUND-00000006”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/VitelityINBOUND-00000006”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“SIP/VitelityINBOUND-00000006”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/VitelityINBOUND-00000006’ in macro ‘hangupcall’
== Spawn extension (from-trunk, h, 1) exited non-zero on ‘SIP/VitelityINBOUND-00000006’
Here is the CLI with ANY DID
– Executing [2673508770@from-trunk:1] NoOp(“SIP/VitelityINBOUND-00000007”, “Catch-All DID Match - Found 2673508770 - You probably want a DID for this.”) in new stack
– Executing [2673508770@from-trunk:2] Goto(“SIP/VitelityINBOUND-00000007”, “ext-did,s,1”) in new stack
– Goto (ext-did,s,1)
– Executing [s@ext-did:1] ExecIf(“SIP/VitelityINBOUND-00000007”, “1?Set(__FROM_DID=s)”) in new stack
– Executing [s@ext-did:2] Gosub(“SIP/VitelityINBOUND-00000007”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/VitelityINBOUND-00000007”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“SIP/VitelityINBOUND-00000007”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“SIP/VitelityINBOUND-00000007”, “”) in new stack
– Executing [s@ext-did:3] Set(“SIP/VitelityINBOUND-00000007”, “CDR(did)=s”) in new stack
– Executing [s@ext-did:4] ExecIf(“SIP/VitelityINBOUND-00000007”, “0 ?Set(CALLERID(name)=2152710800)”) in new stack
– Executing [s@ext-did:5] Set(“SIP/VitelityINBOUND-00000007”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [s@ext-did:6] Set(“SIP/VitelityINBOUND-00000007”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [s@ext-did:7] Goto(“SIP/VitelityINBOUND-00000007”, “app-blackhole,musiconhold,1”) in new stack
– Goto (app-blackhole,musiconhold,1)
– Executing [musiconhold@app-blackhole:1] NoOp(“SIP/VitelityINBOUND-00000007”, “Blackhole Dest: Put caller on hold forever”) in new stack
– Executing [musiconhold@app-blackhole:2] Answer(“SIP/VitelityINBOUND-00000007”, “”) in new stack
– Executing [musiconhold@app-blackhole:3] MusicOnHold(“SIP/VitelityINBOUND-00000007”, “”) in new stack