[Freeswitch-users] variable to know who initiated call transfer

Ryan Harris ryharris at airmail.cc
Wed Aug 22 16:14:11 UTC 2018


On 08/20/2018 02:42 AM, Bipin Patel wrote:
> im stuck in one scenarion where A calls B and either of them can
> initiate a transfer using *3 and bind_meta_app in features.xml but i
> need a variable which can tell me which leg initiated the transfer,
> like was it A or B coz no matter who did i always see call going to
> features from A as A dialed B.

IIRC You can do bind_meta_app multiple times. In this case, you could
call it twice with one setting the flag to respond on the A leg and the
other setting the flag to respond on the B leg. Distinguish with
whatever variable you want :) I think it will work
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180822/7cd2f752/attachment.html>


More information about the FreeSWITCH-users mailing list