you can set up an instance of mod_local_stream to endlessly play back a file and many channels<br>can listen to it at the same time.<br><br>see ext 9999 in the default config.<br><br><br><div class="gmail_quote">On Sat, Dec 6, 2008 at 10:37 AM, Michael S Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Faisal,<br>
Dennis makes a good point: you are mixing event socket syntax with<br>
dialplan syntax. I recommend starting with the dialplan example on the<br>
wiki. To get a single sound file to play over and over put it in a<br>
directory by itself.<br>
<br>
Also, there is an undocumented feature called ".loc files" that I am<br>
researching. I believe this feature might give you more options. As<br>
soon as I can test it and document it I will report back. If any<br>
community members are using .loc files please let me know how they are<br>
working for you.<br>
<br>
Thanks,<br>
MC<br>
<br>
Sent from my iPhone<br>
<div><div></div><div class="Wj3C7c"><br>
On Dec 6, 2008, at 8:13 AM, Dennis <<a href="mailto:odermann@googlemail.com">odermann@googlemail.com</a>> wrote:<br>
<br>
> although i do everything with socket outbound and php and not with the<br>
> xml-dialplans, i feel, that you are missing the basics.<br>
><br>
> first you should find out how to make a basic dialplan and how fs is<br>
> working. then you can start with playing soundfiles and then, how to<br>
> do a looped playback and other nice built in features.<br>
> there are lots of dialplan samples delivered with fs and the wiki will<br>
> help you to start with the rest.<br>
><br>
> dennis<br>
><br>
> 2008/12/6 Faisal Maqsoodi <<a href="mailto:faisalmaqsoodi@yahoo.com">faisalmaqsoodi@yahoo.com</a>>:<br>
>> I need some more help. I used send msg this way. Is there anything<br>
>> missing<br>
>> bcoz its not working. Plz let me know what else should i do. When i<br>
>> dial<br>
>> 2003, file is not played.<br>
>> <extension name="Music"><br>
>> sendmsg 2003<br>
>> call-command: execute<br>
>> execute-app-name: playback<br>
>> execute-app-arg: /usr/local/freeswitch/sounds/enter_plistnum.wav<br>
>> loops: -1<br>
>> </extension><br>
>><br>
>> --- On Sat, 12/6/08, Dennis <<a href="mailto:odermann@googlemail.com">odermann@googlemail.com</a>> wrote:<br>
>><br>
>> From: Dennis <<a href="mailto:odermann@googlemail.com">odermann@googlemail.com</a>><br>
>> Subject: Re: [Freeswitch-users] Playing a file again and again<br>
>> To: freeswitch-users@lists.freeswitch.orgi<br>
>> Date: Saturday, December 6, 2008, 2:13 AM<br>
>><br>
>> with sendmsg playback send: loops: -1<br>
>><br>
>> 2008/12/6 Faisal Maqsoodi<br>
>> <<a href="mailto:faisalmaqsoodi@yahoo.com">faisalmaqsoodi@yahoo.com</a>>:<br>
>>> Hi,<br>
>>> Is there any built-in function, like playback, which plays a file<br>
>> again<br>
>>> and again unless interrupted. I want to use a simple function not<br>
>>> FIFO.<br>
>>><br>
>>> Faisal<br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> Freeswitch-users mailing list<br>
>>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>>><br>
>><br>
>> _______________________________________________<br>
>> Freeswitch-users mailing list<br>
>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Freeswitch-users mailing list<br>
>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
><br>
> _______________________________________________<br>
> Freeswitch-users mailing list<br>
> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>