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 <brian@freeswitch.org> wrote:
From: Brian West <brian@freeswitch.org> Subject: Re: [Freeswitch-users] transfer_ringback from mod_managed To: freeswitch-users@lists.freeswitch.org 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 |
-----Inline Attachment Follows-----
|