[Freeswitch-users] transfer_ringback from mod_managed
Diego Toro
dftoro at yahoo.com
Wed Jun 24 07:20:52 PDT 2009
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 at freeswitch.org> wrote:
From: Brian West <brian at freeswitch.org>
Subject: Re: [Freeswitch-users] transfer_ringback from mod_managed
To: freeswitch-users at 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
Brian West
brian at freeswitch.org
-- Meet us at ClueCon! http://www.cluecon.com
-----Inline Attachment Follows-----
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090624/5c35cd9e/attachment-0002.html
More information about the FreeSWITCH-users
mailing list