Hey, see below, i have this in my dialplan
I first send a push message to activate the registraion on my android, i wait 3 sec , then i dial
When i answer, all is fine
When i decline the call , it should go to line 11 => hangup, this was working on chan_sip
Now i use PJSIP, i decline the call, it starts ringing again… seems the BUSY status is different?
exten => s,1,Set(CURL_RESULT=${SHELL(curl -X POST -H "Content-Type: application/json" -d '{ "user" : "notify.registration" }' http://webhook)})
exten => s,2,Wait(3)
exten => s,3,Dial(PJSIP/6000,45)
exten => s,4,GotoIf($[${DIALSTATUS} = CHANUNAVAIL]?9)
exten => s,5,GotoIf($[${DIALSTATUS} = NOANSWER]?11)
exten => s,6,GotoIf($[${DIALSTATUS} = CONGESTION]?11)
exten => s,7,GotoIf($[${DIALSTATUS} = BUSY]?11)
exten => s,8,GotoIf($[${DIALSTATUS} = CANCEL]?11)
exten => s,9,Wait(2)
exten => s,10,Dial(PJSIP/6000,45)
exten => s,11,Hangup()
exten => s,12,NoOp(reporting noanswer returning to caller)
exten => s,13,Verbose(2, Dial status ${DIALSTATUS})
thnx for the info