From d183c6e1346692bfd522bb8e2ab0f8599981189b Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Sat, 19 Oct 2013 14:45:14 +0000 Subject: Return a channel snapshot when originating using ARI, and subscribe the Stasis application to it. This change allows a user of ARI to know what channel it has originated and also follow any progress. If a Stasis application is provided it will be automatically subscribed to the originated channel immediately. (closes issue ASTERISK-22485) Reported by: David Lee Review: https://reviewboard.asterisk.org/r/2910/ ........ Merged revisions 401281 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@401282 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_ari_channels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/res_ari_channels.c') diff --git a/res/res_ari_channels.c b/res/res_ari_channels.c index dced6d65a..af7f17df2 100644 --- a/res/res_ari_channels.c +++ b/res/res_ari_channels.c @@ -160,7 +160,7 @@ static void ast_ari_originate_cb( break; default: if (200 <= code && code <= 299) { - is_valid = ast_ari_validate_void( + is_valid = ast_ari_validate_channel( response->message); } else { ast_log(LOG_ERROR, "Invalid error response %d for /channels\n", code); -- cgit v1.2.3