diff options
author | Jason Parker <jparker@digium.com> | 2013-06-26 19:29:57 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2013-06-26 19:29:57 +0000 |
commit | 609c42c854c8880548571241b893604c02d513d4 (patch) | |
tree | 8e133c58a4a5040c67b61cafb03332c66cddf2a6 /res/stasis_http/resource_channels.c | |
parent | 5e27e13e284402d44d8e90051aba230ecf3c7547 (diff) |
ARI: Add support for continuing to a different location in dialplan.
This allows going elsewhere in the dialplan, so that the location can be
specified after exiting the Stasis application.
(closes issue ASTERISK-21870)
Review: https://reviewboard.asterisk.org/r/2644/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/stasis_http/resource_channels.c')
-rw-r--r-- | res/stasis_http/resource_channels.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/res/stasis_http/resource_channels.c b/res/stasis_http/resource_channels.c index c51696a28..4d2ebdfbd 100644 --- a/res/stasis_http/resource_channels.c +++ b/res/stasis_http/resource_channels.c @@ -97,7 +97,11 @@ void stasis_http_continue_in_dialplan( return; } - stasis_app_control_continue(control); + if (stasis_app_control_continue(control, args->context, args->extension, args->priority)) { + stasis_http_response_alloc_failed(response); + return; + } + stasis_http_response_no_content(response); } |