variable to know who initiated call transfer
hi, 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. the reason i need this is so i can add a hash value for the ext that dialed *3 i have been searching for such a variable like crazy but not able to find, i just want to know the ext number of the person initiating call transfer -- Regards, Bipin
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
hi, thanks, i was just about to try that only coz i was waiting for a response from the community and all this delay in mails caused no reply to come in soon enough Regards, Bipin ------------------------------------------------------------------------ -------- Original Message -------- Subject: Re: [Freeswitch-users] variable to know who initiated call transfer From: Ryan Harris <ryharris@airmail.cc> To: freeswitch-users@lists.freeswitch.org Date: 8/22/2018, 8:14:11 PM
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
_________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
participants (2)
-
Bipin Patel
-
Ryan Harris