[asterisk-dev] [Code Review] 3040: bridge transfers: Make sure ATTENDEDTRANSFER variable gets set for all the expected channels when doing bridge attended transfers. Also make sure BLINDTRANSFER is set when doing externally intiated transfers (such as SIP or PJSIP transfers) in a three or more party call.

Jonathan Rose reviewboard at asterisk.org
Fri Dec 13 14:14:24 CST 2013


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

(Updated Dec. 13, 2013, 2:14 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers, Mark Michelson and rmudgett.


Repository: Asterisk


Description
-------

There were still a few cases in which ATTENDEDTRANSFER and BLINDTRANSFER wouldn't be set on channels involved with blind and attended transfers. This would happen with features that were initialized by channel driver specific mechanisms in multiparty calls. This patch resolves those cases while attempted to keep the behavior for setting those variables as consistent as possible.


Diffs
-----

  /branches/12/res/parking/parking_manager.c 403068 
  /branches/12/res/parking/parking_bridge_features.c 403068 
  /branches/12/main/bridge_basic.c 403068 
  /branches/12/main/bridge.c 403068 
  /branches/12/include/asterisk/bridge.h 403068 

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


Testing
-------

Test One - single peer tansfers
1. Started a two way call between two chan_sip channels.
2. SIP atxfer'd it to an extension that would display the ATTENDEDTRANSFER and BLINDTRANSFER variables
3. repeated test with SIP blindxfer and compared the results.

Without patch:
Blind transfer variable would be present on blind transfer, attended transfer variable would be present on attended transfer.

With patch:
No behavioral change

Test Two - transferring three party calls
1. Started a two way call between two chan_sip channels.
2. Feature ATXfer'd to a local channel that would screech something about weasels every few seconds. Merged into a 3 way call with *3.
3. SIP atxfer'd the bridge to an extension that would display ATTENDEDTRANSFER and BLINDTRANSFER variables
3. repeated test with SIP blindxfer and compared the results.

Without patch:
Attended transfer variables weren't set at all.
Blind transfer variables would be set on the channels that were already in the bridge, but not on the local channel that was used to transfer.

With patch:
Attended transfer variable set for all channels in the bridge as well as the local channel used for the transfer.
Blind transer variables set for all channels in the bridge as well as the local channel used for the transfer.


Thanks,

Jonathan Rose

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


More information about the asterisk-dev mailing list