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

opticron reviewboard at asterisk.org
Thu Dec 12 10:38:33 CST 2013


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

Ship it!



/branches/12/main/stasis_channels.c
<https://reviewboard.asterisk.org/r/3054/#comment19800>

    I seem to remember a function call that performed this type of operation named stasis_topic_wait or something similar, but I can't find it so it may have been removed.


- opticron


On Dec. 6, 2013, 10:48 a.m., Joshua Colp wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3054/
> -----------------------------------------------------------
> 
> (Updated Dec. 6, 2013, 10:48 a.m.)
> 
> 
> 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/20131212/3e14c768/attachment.html>


More information about the asterisk-dev mailing list