Don't forget Darren's excellent write-up in chapter 9 of the FreeSWITCH book. It covers events and ESL very well.
-MC

On Tue, Jan 11, 2011 at 7:30 AM, Holger Esser <hesser4900@gmail.com> wrote:
Many thanks Peter. Sometimes I do not see the forest for the trees.

On Tue, Jan 11, 2011 at 9:19 AM, Peter Olsson <peter.olsson@visionutveckling.se> wrote:

To play a sound file in ESL I simply use (when intended for one leg only, for instance in an IVR app).

 

SendMsg <uuid>

call-command: execute

execute-app-name: playback

execute-app-arg: /path/to/file.wav

 

/Peter

 

Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Holger Esser
Skickat: den 11 januari 2011 16:10
Till: FreeSWITCH-users@lists.freeswitch.org
Ämne: [Freeswitch-users] ESL mod_socket mod_commands

 

Hi guys,

 

What would be the best way to play an audio file with the ESL/mod_socket?

I assume it is uuid_broadcast. Would it be possible to use mod_shout with it like it does in uuid_displace?

Or should I just use uuid_displace for any audio file plays?

 

Kind regards,

holger

!DSPAM:4d2c73e032765465720928!


_______________________________________________
FreeSWITCH-users mailing listhttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
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