[Freeswitch-users] sched_broadcast doesn't execute

Oscav oscav at hotmail.fr
Tue Nov 24 04:30:05 PST 2009


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 at 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 at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
> 
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400
> 
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.





More information about the FreeSWITCH-users mailing list