[asterisk-dev] Detecting B-leg channels

Nikša Baldun it at voxdiversa.hr
Mon Aug 23 05:29:34 CDT 2021


Hello,

I am trying to modify bridge.c (function ast_bridge_transfer_attended) 
in order to send channels involved in SIP attended transfer to the 
dialplan. If both transferee and transfer target are bridged, that is 
relatively easy. However, if transfer target is ringing, I don't know 
how to find B-leg channels (there could be multiple, I suppose). So the 
question is, having a reference to A-leg channel, how to obtain a list 
of B-leg channels?

Best regards,




More information about the asterisk-dev mailing list