[asterisk-dev] Reject incoming call

Raj Roy Ghandhi roy.gandhi at gmail.com
Thu Feb 12 22:47:54 CST 2015


Hi,
Thanks for the response.
no one going to answer this call. We treat it as miss call.
we catch the CLI, call AGI to execute .sjp and hangup.

Regrads,
Roy

On Thu, Feb 12, 2015 at 5:14 PM, bala murugan <fightwithme at gmail.com> wrote:

> Who is responsible to answer ??
> On Feb 12, 2015 6:05 AM, "Raj Roy Ghandhi" <roy.gandhi at gmail.com> wrote:
>
>> 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
>> seconds.
>>
>> any idea what I have done wrong.
>>
>> here is my dial plan
>>
>> exten => 01XXXX,1,Ringing()
>> exten => 01XXXX,2,Wait(2)
>> exten =>
>> 01XXXX,3,Set(vxmlurl=http%3A%2F%2F127.0.0.1:8080%2Ftest%2Findex.jsp?ani=${CALLERID(num)})
>> exten => 01XXXX,4,Agi(agi://127.0.0.1/url=${vxmlurl}
>> <http://127.0.0.1/url=$%7Bvxmlurl%7D>)
>> exten => 01XXXX,5,Hangup()
>>
>> Please advice,
>>
>> Best Regards,
>> Roy.
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> asterisk-dev mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150213/c53ea7b5/attachment.html>


More information about the asterisk-dev mailing list