Return a channel snapshot when originating using ARI, and subscribe the Stasis applic...
authorJoshua Colp <jcolp@digium.com>
Sat, 19 Oct 2013 14:45:14 +0000 (14:45 +0000)
committerJoshua Colp <jcolp@digium.com>
Sat, 19 Oct 2013 14:45:14 +0000 (14:45 +0000)
commitd183c6e1346692bfd522bb8e2ab0f8599981189b
tree5b0546bd1d0e62fd412448c3ba1b20eed86a6b1d
parenta80a6a763166b5dbb69dedf042984ff5fda11673
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
main/pbx.c
res/ari/resource_channels.c
res/ari/resource_channels.h
res/res_ari_channels.c
rest-api/api-docs/channels.json