[Freeswitch-users] sched_broadcast doesn't execute

2009-11-18 Thread Oscav
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 spec

Re: [Freeswitch-users] sched_broadcast doesn't execute

2009-11-18 Thread Anthony Minessale
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 wrote: > > Hi, > > I'm writing a

Re: [Freeswitch-users] sched_broadcast doesn't execute

2009-11-24 Thread Oscav
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