Hi,
I want to route incoming DID from Asterisk to CUCM. On Asterisk I have 100Did’s, two of them need to be routed to CUCM. SIP trunk btw asterisk and cucm is UP. On asterisk inound route for DID 5101586 I have set destination (SIP trunk to CUCM).
Asterisk trunk details:
host=172.31.252.205
type=friend
canreinvite=no
insecure=port,invite
qualify=yes
nat=no
disallow=all
allow=ulaw&alaw
trustrpid=yes
sendrpid=pai
context=from-trunk
When I call 5101586 from my mobile070303024 I didnt get to CUCM.
Log from the call:
Connected to Asterisk 1.8.24.0-8 currently running on MiSwitch (pid = 2261)
Verbosity is at least 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [5101586@from-trunk-sip-VipONE:1] Set(“SIP/VipONE-000043fb”, “GROUP()=OUT_3”) in new stack
– Executing [5101586@from-trunk-sip-VipONE:2] Goto(“SIP/VipONE-000043fb”, “from-trunk,5101586,1”) in new stack
– Goto (from-trunk,5101586,1)
– Executing [5101586@from-trunk:1] Set(“SIP/VipONE-000043fb”, “__FROM_DID=5101586”) in new stack
– Executing [5101586@from-trunk:2] Gosub(“SIP/VipONE-000043fb”, “app-blacklist-check,s,1()”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/VipONE-000043fb”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“SIP/VipONE-000043fb”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“SIP/VipONE-000043fb”, “”) in new stack
– Executing [5101586@from-trunk:3] ExecIf(“SIP/VipONE-000043fb”, “0 ?Set(CALLERID(name)=070303024)”) in new stack
– Executing [5101586@from-trunk:4] Set(“SIP/VipONE-000043fb”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [5101586@from-trunk:5] Set(“SIP/VipONE-000043fb”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [5101586@from-trunk:6] Goto(“SIP/VipONE-000043fb”, “ext-trunk,7,1”) in new stack
– Goto (ext-trunk,7,1)
– Executing [7@ext-trunk:1] Set(“SIP/VipONE-000043fb”, “TDIAL_STRING=SIP/KonSI”) in new stack
– Executing [7@ext-trunk:2] Set(“SIP/VipONE-000043fb”, “DIAL_TRUNK=7”) in new stack
– Executing [7@ext-trunk:3] Goto(“SIP/VipONE-000043fb”, “ext-trunk,tdial,1”) in new stack
– Goto (ext-trunk,tdial,1)
– Executing [tdial@ext-trunk:1] Set(“SIP/VipONE-000043fb”, “OUTBOUND_GROUP=OUT_7”) in new stack
– Executing [tdial@ext-trunk:2] GotoIf(“SIP/VipONE-000043fb”, “1?nomax”) in new stack
– Goto (ext-trunk,tdial,4)
– Executing [tdial@ext-trunk:4] ExecIf(“SIP/VipONE-000043fb”, “1?Set(CALLERPRES()=allowed_not_screened)”) in new stack
– Executing [tdial@ext-trunk:5] Set(“SIP/VipONE-000043fb”, “DIAL_NUMBER=5101586”) in new stack
– Executing [tdial@ext-trunk:6] GosubIf(“SIP/VipONE-000043fb”, “0?sub-flp-7,s,1”) in new stack
– Executing [tdial@ext-trunk:7] Set(“SIP/VipONE-000043fb”, “OUTNUM=5101586”) in new stack
– Executing [tdial@ext-trunk:8] Dial(“SIP/VipONE-000043fb”, “SIP/KonSI/5101586,300,”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/KonSI/5101586
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [tdial@ext-trunk:9] Set(“SIP/VipONE-000043fb”, “CALLERID(number)=070303024”) in new stack
– Executing [tdial@ext-trunk:10] Set(“SIP/VipONE-000043fb”, “CALLERID(name)=070303024”) in new stack
– Executing [tdial@ext-trunk:11] Hangup(“SIP/VipONE-000043fb”, “”) in new stack
== Spawn extension (ext-trunk, tdial, 11) exited non-zero on ‘SIP/VipONE-000043fb’
Can you please advice how to configure above?
Thanks.
Regards.