[asterisk-dev] [Code Review] 2910: ARI: Return snapshot of channel when originating and allow optional app subscription

svnbot reviewboard at asterisk.org
Sat Oct 19 09:43:42 CDT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2910/
-----------------------------------------------------------

(Updated Oct. 19, 2013, 9:43 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers and David Lee.


Changes
-------

Committed in revision 401281


Bugs: ASTERISK-22485
    https://issues.asterisk.org/jira/browse/ASTERISK-22485


Repository: Asterisk


Description
-------

Currently when originating a call using ARI no feedback is provided. This makes it extremely difficult to know what channel you just originated.

The attached patch tweaks functionality in two ways to help with this:

1. A snapshot of the newly originated channel is returned.
2. The originator may optionally subscribe a Stasis application to an originated channel.

Using these an originator can know what channel it originated, and also follow it if it so chooses.


Diffs
-----

  /branches/12/rest-api/api-docs/channels.json 400957 
  /branches/12/res/res_ari_channels.c 400957 
  /branches/12/res/ari/resource_channels.c 400957 
  /branches/12/res/ari/resource_channels.h 400957 
  /branches/12/main/pbx.c 400957 

Diff: https://reviewboard.asterisk.org/r/2910/diff/


Testing
-------

Did some originations and confirmed that the snapshot is returned, and that the Stasis application is subscribed.


Thanks,

Joshua Colp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131019/4eb844ea/attachment-0001.html>


More information about the asterisk-dev mailing list