[Freeswitch-users] Playing a file again and again

Anthony Minessale anthony.minessale at gmail.com
Sat Dec 6 08:54:18 PST 2008


you can set up an instance of mod_local_stream to endlessly play back a file
and many channels
can listen to it at the same time.

see ext 9999 in the default config.


On Sat, Dec 6, 2008 at 10:37 AM, Michael S Collins <msc at freeswitch.org>wrote:

> Faisal,
> Dennis makes a good point: you are mixing event socket syntax with
> dialplan syntax. I recommend starting with the dialplan example on the
> wiki. To get a single sound file to play over and over put it in a
> directory by itself.
>
> Also, there is an undocumented feature called ".loc files" that I am
> researching. I believe this feature might give you more options. As
> soon as I can test it and document it I will report back. If any
> community members are using .loc files please let me know how they are
> working for you.
>
> Thanks,
> MC
>
> Sent from my iPhone
>
> On Dec 6, 2008, at 8:13 AM, Dennis <odermann at googlemail.com> wrote:
>
> > although i do everything with socket outbound and php and not with the
> > xml-dialplans, i feel, that you are missing the basics.
> >
> > first you should find out how to make a basic dialplan and how fs is
> > working. then you can start with playing soundfiles and then, how to
> > do a looped playback and other nice built in features.
> > there are lots of dialplan samples delivered with fs and the wiki will
> > help you to start with the rest.
> >
> > dennis
> >
> > 2008/12/6 Faisal Maqsoodi <faisalmaqsoodi at yahoo.com>:
> >> I need some more help. I used send msg this way. Is there anything
> >> missing
> >> bcoz its not working. Plz let me know what else should i do. When i
> >> dial
> >> 2003, file is not played.
> >> <extension name="Music">
> >> sendmsg 2003
> >> call-command: execute
> >> execute-app-name: playback
> >> execute-app-arg: /usr/local/freeswitch/sounds/enter_plistnum.wav
> >> loops: -1
> >>  </extension>
> >>
> >> --- On Sat, 12/6/08, Dennis <odermann at googlemail.com> wrote:
> >>
> >> From: Dennis <odermann at googlemail.com>
> >> Subject: Re: [Freeswitch-users] Playing a file again and again
> >> To: freeswitch-users at lists.freeswitch.orgi
> >> Date: Saturday, December 6, 2008, 2:13 AM
> >>
> >> with sendmsg playback send: loops: -1
> >>
> >> 2008/12/6 Faisal Maqsoodi
> >> <faisalmaqsoodi at yahoo.com>:
> >>> Hi,
> >>>    Is there any built-in function, like playback, which plays a file
> >> again
> >>> and again unless interrupted. I want to use a simple function not
> >>> FIFO.
> >>>
> >>> Faisal
> >>>
> >>>
> >>> _______________________________________________
> >>> 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
> >>>
> >>>
> >>
> >> _______________________________________________
> >> 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
> >>
> >>
> >> _______________________________________________
> >> 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
> >>
> >>
> >
> > _______________________________________________
> > 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
>
> _______________________________________________
> 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/

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081206/80a6506d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list