[asterisk-dev] Reject incoming call

Raj Roy Ghandhi roy.gandhi at gmail.com
Thu Feb 12 05:04:45 CST 2015

Hi Friends,

I am trying to implement a simple dial plan with asterisk.
1. Ring the inbound call
2. wait for 2 seconds
3. call agi script with cli
4. hangup

But when it gets hangup I see the Declined is passed from the asterisk.
But my PSTN provider keep waiting in dialing state with no noise until 60

any idea what I have done wrong.

here is my dial plan

exten => 01XXXX,1,Ringing()
exten => 01XXXX,2,Wait(2)
exten =>
exten => 01XXXX,4,Agi(agi://${vxmlurl})
exten => 01XXXX,5,Hangup()

Please advice,

Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150212/71bc1e21/attachment.html>

More information about the asterisk-dev mailing list