[asterisk-users] Asterisk 12 Dialplan
Richard Mudgett
rmudgett at digium.com
Fri Oct 24 14:01:34 CDT 2014
On Fri, Oct 24, 2014 at 1:19 PM, Murthy Gandikota <mgandikota at nts.net>
wrote:
>
> In
> https://wiki.asterisk.org/wiki/display/AST/Introduction+to+ARI+and+Chann
> els
>
> it is stated:
>
> channel-dump.js in action
>
> Here's sample output from channel-dump.js. When it first connects there
> are no channels in Asterisk - (sad) - but afterwards a PJSIP channel
> from Alice enters into extension 1000. This prints out all the
> information about her channels. After hearing silence for a while, she
> hangs up - and our script notifies us that her channel has left the
> application.
>
> <end of quote>
> Is there some way the call can be moved to the next priority or context
> in the dial plan from the stasis app? It seems the caller is stuck in
> stasis.
>
Once a channel hangs up it is controlled by hangup handlers and h extens.
If however you want to kick an active channel out of your stasis application
to run dialplan then you use the
POST /channels/{channelId}/continue
ARI command.
Richard
[1]
https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Channels+REST+API#Asterisk12ChannelsRESTAPI-continueInDialplan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20141024/6efb4922/attachment.html>
More information about the asterisk-users
mailing list