[Freeswitch-users] Play the Ring Tone on a Javascript Bridge
Stéphane Lasserre
lasserrestephane at hotmail.fr
Fri Jul 27 05:08:27 PDT 2007
Hello
Is it possible to open play the ring tones on a Javascript on a bridge because this script do not play the ringtones
new_session.originate(session, "sofia/default/"+Number2Dial);
new_session.ring_ready;
new_session.setCallerData("ringback","%(2000, 4000, 440.0, 480.0)");
new_session.waitForAnswer(60000);
if (session.ready() && new_session.ready()) {
bridge(session, new_session);
}
I try on a xml file he work but not on the javascript
<action application="ring_ready"/>
<action application="set" data="ringback=%(2000, 4000, 440.0, 480.0)"/>
<action application="bridge" data="sofia/default/003"/Number2Dial>
Thanks
_________________________________________________________________
David Guetta a réuni les sons les plus connus de Messenger dans le Mix Messenger, le son de l’été ! Téléchargez-le gratuitement !
http://specials.divertissements.fr.msn.com/mixmessenger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070727/70f9819a/attachment-0002.html
More information about the FreeSWITCH-users
mailing list