[asterisk-dev] [Code Review] 2548: Publish the outbound channel's application/data when dialing
svnbot
reviewboard at asterisk.org
Fri May 17 12:44:00 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2548/
-----------------------------------------------------------
(Updated May 17, 2013, 12:44 p.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers.
Changes
-------
Committed in revision 388976
Repository: Asterisk
Description
-------
This patch does two things:
* It fixes a bug where the outbound channel's application/data set by the dialing API/app_dial is not communicated until the channel hangs up. If that happens, AMI would incorrectly send a NewExten event immediately after a Hangup. This isn't really AMIs fault, as the dialing APIs never communicated that they changed data on the channel.
* It makes public sending a stasis message about a change in channel state.
Diffs
-----
/trunk/apps/app_dial.c 388920
/trunk/include/asterisk/stasis_channels.h 388920
/trunk/main/channel.c 388920
/trunk/main/dial.c 388920
/trunk/main/stasis_channels.c 388920
Diff: https://reviewboard.asterisk.org/r/2548/diff/
Testing
-------
The bug was found by using an optimizing Local channel to Dial another channel (say, a SIP one). With this patch, the problem no longer occurs.
Thanks,
Matt Jordan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130517/cc03d8a8/attachment.htm>
More information about the asterisk-dev
mailing list