<div dir="ltr"><div>What's the overall scenario you are trying to solve? Perhaps there is another way to do what you want to do without even modifying Asterisk code? For example, maybe this is something an ARI application could handle, or even straight dialplan using a combination of app_dial, pre-dial handlers, and such.</div><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 23, 2021 at 5:29 AM Nikša Baldun <<a href="mailto:it@voxdiversa.hr">it@voxdiversa.hr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I am trying to modify bridge.c (function ast_bridge_transfer_attended) <br>
in order to send channels involved in SIP attended transfer to the <br>
dialplan. If both transferee and transfer target are bridged, that is <br>
relatively easy. However, if transfer target is ringing, I don't know <br>
how to find B-leg channels (there could be multiple, I suppose). So the <br>
question is, having a reference to A-leg channel, how to obtain a list <br>
of B-leg channels?<br>
<br>
Best regards,<br>
<br>
<br>
-- <br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-dev mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="noreferrer" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></blockquote></div></div>