[Freeswitch-users] transfer_ringback from mod_managed

Brian West brian at freeswitch.org
Wed Jun 24 07:33:04 PDT 2009


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 at freeswitch.org

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




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090624/8a8fb06f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list