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

--- On Wed, 6/24/09, Brian West <[email protected]> wrote:


From: Brian West <[email protected]>
Subject: Re: [Freeswitch-users] transfer_ringback from mod_managed
To: [email protected]
Date: Wednesday, June 24, 2009, 8:32 AM


Well its the same you use ${us-ring} in both cases.


/b



On Jun 24, 2009, at 8:07 AM, Diego Toro wrote:






Greetings
 
When I use Session.SetVariable("transfer_ringback", "us-ring") from managed 
code the bridge fails with "NO_ANSWER" cause. If I use <action 
application="set" data="transfer_ringback=${us-ring}"/> from xml dial plan the 
call is stablished.
 
I have FS rev 13750 running on Windows.
 
This is a issue or I don't use properly transfer_ringback variable ?
 
Diego





Brian West
[email protected]

-- Meet us at ClueCon!  http://www.cluecon.com






-----Inline Attachment Follows-----


_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



      
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to