[Freeswitch-users] Playing a file again and again
Michael S Collins
msc at freeswitch.org
Sat Dec 6 08:37:22 PST 2008
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
More information about the FreeSWITCH-users
mailing list