[asterisk-dev] [Code Review] 4575: bridge.c: Hangup attended transfer target after it has been swapped out

Kevin Harwell reviewboard at asterisk.org
Thu Apr 2 14:32:39 CDT 2015


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

Review request for Asterisk Developers.


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


Repository: Asterisk


Description
-------

After completing an attended transfer the transfer target channel (the one that gets swapped out) was not being hung up after leaving the bridge. This resulted in a channel possibly being left around. Added an explicit softhangup for the channel in question after the transfer is successfully completed in order to make sure the channel is hung up.


Diffs
-----

  branches/13/main/bridge.c 433917 

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


Testing
-------

There was a testsuite test that initially caught the problem. Ran the modified test (had been set to always pass) after applying the patch and it worked as expected. Also did some manual testing with different attended transfer scenarios.


Thanks,

Kevin Harwell

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


More information about the asterisk-dev mailing list