24 Jun
2009
24 Jun
'09
2:33 p.m.
Chances are you need to get var us-ring then use that to set the transfer_ringback /b On Jun 24, 2009, at 9:20 AM, Diego Toro wrote:
Hi Brian, with Session.SetVariable("transfer_ringback", ${us-ring}); I have message: "[CRIT] switch_channel.c:633 Invalid data ($ {transfer_ringback} contains a variable)".
Using from managed code:
string stUsRing = _Session.GetVariable("us-ring"); Session.SetVariable("ringback", stUsRing); Session.SetVariable("transfer_ringback", stUsRing);
The bridge works fine.
The question is, using Session is not possible acces directly global vars way ${var_name} ?
Thanks
Diego
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com