HI all, Can anyone tell me why call is not getting triggered? for below dial plan
[outbound]
exten => _9X.,1,SipAddHeader(P-Preferred-Identity:sip:+914043792233@ap.ims.airtel.in)
;same => n,Answer()
same => n,Set(DESTINATION_NUMBER=${FILTER(A-Za-z0-9,${EXTEN})})
same => n,NoOp(peer : ${DESTINATION_NUMBER})
;same => n,Set(CALLERID(all)=+914043792233)
same => n,NoOp(my callerid is ${CALLERID(num)} ${CALLERID(all)} AND ${CALLERID(name)} ${DIALSTATUS})
;same => n,Dial(SIP/${EXTEN:1}@airtel,50,G(trunkoutbound,${EXTEN},1))
;same => n,Originate(SIP/airtel/${DESTINATION_NUMBER},exten,trunkinbound,1001,50)
same => n,Originate(SIP/airtel/${DESTINATION_NUMBER},app,Playback,custom/opening,50)
same => n,Log(NOTICE, Alice call result: ${DIALSTATUS})
same => n,Hangup()
Below is asterisk logs
console dial 90XXXXXXXXXX@outbound
[Jun 30 06:58:23] WARNING[1747]: chan_oss.c:500 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
[Jun 30 06:58:23] NOTICE[1747]: console_video.c:137 console_video_start: voice only, console video support not present
– Executing [90XXXXXXXXXX@outbound:1] SIPAddHeader(“Console/dsp”, “P-Preferred-Identity:sip:+91XXXXXXXXXX@ap.ims.airtel.in”) in new stack
– Executing [90XXXXXXXXXX@outbound:2] Set(“Console/dsp”, “DESTINATION_NUMBER=90XXXXXXXXXX”) in new stack
– Executing [90XXXXXXXXXX@outbound:3] NoOp(“Console/dsp”, “peer : 90XXXXXXXXXX”) in new stack
– Executing [90XXXXXXXXXX@outbound:4] NoOp(“Console/dsp”, "my callerid is “” <> AND ") in new stack
– Executing [90XXXXXXXXXX@outbound:5] Originate(“Console/dsp”, “SIP/airtel/90XXXXXXXXXX,app,Playback,custom/opening,50”) in new stack
== Using SIP RTP CoS mark 5
– Called airtel/90XXXXXXXXXX
> 0x7f03fc008050 – Strict RTP learning after remote address set to: 10.5.64.99:6494
– SIP/airtel-00000000 is making progress
> 0x7f03fc008050 – Strict RTP switching to RTP target address 10.5.64.99:6494 as source
I’m not getting any call after 50 seconds (as mentioned in timeout) it is going to Hangup() application, more over Originate is not allowing me to trigger more than one call at a time