VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
dftoro at yahoo.com Guest
|
Posted: Wed Jun 24, 2009 8:12 am Post subject: [Freeswitch-users] transfer_ringback from mod_managed |
|
|
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Jun 24, 2009 8:34 am Post subject: [Freeswitch-users] transfer_ringback from mod_managed |
|
|
Well its the same you use ${us-ring} in both cases.
/b
On Jun 24, 2009, at 8:07 AM, Diego Toro wrote:
Quote: | 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@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
dftoro at yahoo.com Guest
|
Posted: Wed Jun 24, 2009 9:25 am Post subject: [Freeswitch-users] transfer_ringback from mod_managed |
|
|
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_managedTo: freeswitch-users@lists.freeswitch.orgDate: 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@freeswitch.org (brian@freeswitch.org) -- Meet us at ClueCon! Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)http://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Wed Jun 24, 2009 9:42 am Post subject: [Freeswitch-users] transfer_ringback from mod_managed |
|
|
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:
Quote: | 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 (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|