On Fri, Oct 24, 2014 at 1:19 PM, Murthy Gandikota <[email protected]>
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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to