Hi Anthony, Now it works very well. Thank you so much for your help. I'm having a lot of fun with this platform. Regards. Anthony Minessale-2 wrote:
is that your exact code?
${uuid} will not be expanded by javascript
var uuid = session.getVariable(uuid);
new_session.execute("sched_broadcast", "+20 alloted_timeout " + uuid + " playback:ivr-welcome_to_freeswitch.wav");
On Wed, Nov 18, 2009 at 10:07 AM, Oscav <oscav@hotmail.fr> wrote:
Hi,
I'm writing a script in Javascript that plays a message during a bridge. I'm trying to use a sched_broadcast to do it. The job is scheduled and then deleted but I never hear the wav file and I don't get the "OK Message Scheduled" in the log. It even doesn't display any error message if I specify a wrong file name. Someone could help me on this issue ??
new_session.execute("sched_broadcast", "+20 alloted_timeout ${uuid} playback:ivr-welcome_to_freeswitch.wav");
I already did some posts but I got no answer. This is very difficult to progress without help.
Many thanks -- View this message in context: http://old.nabble.com/sched_broadcast-doesn%27t-execute-tp26408422p26408422.... Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- View this message in context: http://old.nabble.com/sched_broadcast-doesn%27t-execute-tp26408422p26495078.... Sent from the Freeswitch-users mailing list archive at Nabble.com.