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
with sendmsg playback send: loops: -1 2008/12/6 Faisal Maqsoodi <faisalmaqsoodi@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@googlemail.com> wrote: From: Dennis <odermann@googlemail.com> Subject: Re: [Freeswitch-users] Playing a file again and again To: freeswitch-users@lists.freeswitch.orgi Date: Saturday, December 6, 2008, 2:13 AM with sendmsg playback send: loops: -1 2008/12/6 Faisal Maqsoodi <faisalmaqsoodi@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@googlemail.com> wrote:
From: Dennis <odermann@googlemail.com> Subject: Re: [Freeswitch-users] Playing a file again and again To: freeswitch-users@lists.freeswitch.orgi Date: Saturday, December 6, 2008, 2:13 AM
with sendmsg playback send: loops: -1
2008/12/6 Faisal Maqsoodi <faisalmaqsoodi@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@googlemail.com> wrote:
From: Dennis <odermann@googlemail.com> Subject: Re: [Freeswitch-users] Playing a file again and again To: freeswitch-users@lists.freeswitch.orgi Date: Saturday, December 6, 2008, 2:13 AM
with sendmsg playback send: loops: -1
2008/12/6 Faisal Maqsoodi <faisalmaqsoodi@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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@googlemail.com> wrote:
From: Dennis <odermann@googlemail.com> Subject: Re: [Freeswitch-users] Playing a file again and again To: freeswitch-users@lists.freeswitch.orgi Date: Saturday, December 6, 2008, 2:13 AM
with sendmsg playback send: loops: -1
2008/12/6 Faisal Maqsoodi <faisalmaqsoodi@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@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@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@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@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@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (4)
-
Anthony Minessale
-
Dennis
-
Faisal Maqsoodi
-
Michael S Collins