[asterisk-dev] [Code Review] 4066: stasis_channels.c: Resolve unfinished Dials when doing masquerades (Part 2)

rmudgett reviewboard at asterisk.org
Thu Oct 9 12:22:12 CDT 2014


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

Review request for Asterisk Developers.


Bugs: ASTERISK-24237 and ASTERISK-24394
    https://issues.asterisk.org/jira/browse/ASTERISK-24237
    https://issues.asterisk.org/jira/browse/ASTERISK-24394


Repository: Asterisk


Description
-------

Masquerades into and out of channels that are involved in a dial operation don't create the expected dial end event.  The missing dial end event goes against the model for things like CDRs and generating Dial end manager actions and such.


Diffs
-----

  /branches/12/main/stasis_channels.c 424943 

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


Testing
-------

There are four cases:
1) A channel masquerades into the caller channel.  The case happens when performing a blonde transfer using the channel driver's protocol.
2) A channel masquerades into a callee channel.  The case happens when performing a directed call pickup.
3) The caller channel masquerades out of dial.  The case happens when using the Bridge application on the caller channel.
4) A callee channel masquerades out of dial.  The case happens when using the Bridge application on a peer channel.

The four cases are now handled as expected from the dial events perspective by this patch.


Thanks,

rmudgett

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20141009/800f0a6c/attachment.html>


More information about the asterisk-dev mailing list