[asterisk-app-dev] Ignoring channels in the Stasis application
Nitesh Bansal
nitesh.bansal at gmail.com
Thu Apr 21 03:21:49 CDT 2016
Thanks Joshua, ContinueInDialplan worked really well for my use case.
Regards,
Nitesh
On Wed, Apr 20, 2016 at 3:06 PM, Joshua Colp <jcolp at digium.com> wrote:
> Nitesh Bansal wrote:
>
>> Hello,
>>
>> In my ARI based application, once the channels enter the Stasis app, if my
>> business logic allows, I'll accept the call, but in the -ve case, what
>> is the best
>> way to deal with the channel?
>> Shall I explicitly remove the channel from Stasis App (how will that
>> work?) or is
>> there any other magically way to silently ignore the channel and pass
>> the control
>> back to dialplan?
>>
>
> There is a continue operation[1] which will return the channel to the
> dialplan. It can accept where you want to direct it.
>
> [1]
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Channels+REST+API#Asterisk13ChannelsRESTAPI-continueInDialplan
>
> --
> Joshua Colp
> Digium, Inc. | Senior Software Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - US
> Check us out at: www.digium.com & www.asterisk.org
>
>
> _______________________________________________
> asterisk-app-dev mailing list
> asterisk-app-dev at lists.digium.com
> http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20160421/83a2a0e3/attachment.html>
More information about the asterisk-app-dev
mailing list