[Freeswitch-users] javascript bridge

stephen at stephenjc stephen at stephenjc.com
Sun Jun 6 11:55:48 PDT 2010


I have the following code, and after the bridge the javascript seems to
stop.

 outsession = new
Session("{ringback=\'%(2000,4000,440.0,480.0)\',instant_ringback=true,ignore_early_media=false}sofia/gateway/"
+ providerhash["providername0"] + "/XXXXXXXXXXXX");
bridge(session,outsession);
while(outsession.ready())
{
console_log("notice","ping");
}

I am looking to manage the b leg, should i use execute_on_answer instead? or
is there a way to make the code continue after the bridge.

Thanks,
Stephen C
-All of my email addresses go to the same place
-Save Paper, think before you print
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100606/1b1bf95c/attachment.html 


More information about the FreeSWITCH-users mailing list