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 <[email protected]> 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
>> [email protected]
>> 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:[email protected] <msn%[email protected]>
> GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:[email protected] <sip%[email protected]>
> iax:[email protected]/888
> googletalk:[email protected]<googletalk%3aconf%[email protected]>
> pstn:213-799-1400
>
> _______________________________________________
> FreeSWITCH-users mailing list
> [email protected]
> 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.
_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org