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@xxxxxxxxxxxxxxxx http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev