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.html
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
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400