[asterisk-dev] [Code Review] 3054: ARI: Add call forwarding events and automatically follow new channel

Joshua Colp reviewboard at asterisk.org
Fri Dec 6 10:48:50 CST 2013


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

Review request for Asterisk Developers.


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


Repository: Asterisk


Description
-------

Currently the event which is emitted when a call is forwarded currently does not contain the newly created channel, which is sad. This change provides a snapshot in the event for this channel. This event is now also forwarded out over the ARI WebSocket. Finally, stasis will now automatically subscribe to forwarded channels on behalf of the application.


Diffs
-----

  /branches/12/rest-api/api-docs/events.json 403425 
  /branches/12/res/stasis/app.c 403425 
  /branches/12/res/ari/ari_model_validators.c 403425 
  /branches/12/res/ari/ari_model_validators.h 403425 
  /branches/12/main/stasis_channels.c 403425 
  /branches/12/main/dial.c 403425 
  /branches/12/include/asterisk/stasis_channels.h 403425 
  /branches/12/apps/app_queue.c 403425 
  /branches/12/apps/app_dial.c 403425 

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


Testing
-------

Originated a call to a target that call forwarded to a different extension. Confirmed that a Dial event was received in the ARI WebSocket. Confirmed that further channel events from the newly created channel as a result of the call forwarding was also received over the ARI WebSocket.


Thanks,

Joshua Colp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131206/8c1ec717/attachment.html>


More information about the asterisk-dev mailing list