It would use these functions:

1) answer
2) sched_hangup -> +400 (e.g. 400 seconds, or set a specific time)
3) endless_playback->file.wav

-Avi


On Thu, Mar 1, 2012 at 7:23 PM, Milos Jovanovic <development.milos@gmail.com> wrote:
Hello.

I need a simple dialplan extension that will do the following:

1) answer the call
2) play a sound file in loop (unlimited loops)
3) hangup the call after X seconds (number of seconds should be defined in extension)

What's the simplest way to do that?

Thanks in advance,
Milos

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.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