Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Playing a file again and again


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
faisalmaqsoodi at yaho...
Guest





PostPosted: Sat Dec 06, 2008 5:11 am    Post subject: [Freeswitch-users] Playing a file again and again Reply with quote

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
Back to top
odermann at googlemail...
Guest





PostPosted: Sat Dec 06, 2008 5:18 am    Post subject: [Freeswitch-users] Playing a file again and again Reply with quote

with sendmsg playback send: loops: -1

2008/12/6 Faisal Maqsoodi <faisalmaqsoodi@yahoo.com>:
Quote:
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
Back to top
faisalmaqsoodi at yaho...
Guest





PostPosted: Sat Dec 06, 2008 9:54 am    Post subject: [Freeswitch-users] Playing a file again and again Reply with quote

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:
Quote:
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

Quote:
with sendmsg playback send: loops: -12008/12/6 Faisal Maqsoodi
<faisalmaqsoodi@yahoo.com>:> Hi,> Is there any built-in function, like playback, which plays a fileagain> 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 listFreeswitch-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
Back to top
odermann at googlemail...
Guest





PostPosted: Sat Dec 06, 2008 11:15 am    Post subject: [Freeswitch-users] Playing a file again and again Reply with quote

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>:
Quote:
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>:
Quote:
Hi,
Is there any built-in function, like playback, which plays a file
again
Quote:
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
Back to top
msc at freeswitch.org
Guest





PostPosted: Sat Dec 06, 2008 11:43 am    Post subject: [Freeswitch-users] Playing a file again and again Reply with quote

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:

Quote:
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>:
Quote:
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>:
Quote:
Hi,
Is there any built-in function, like playback, which plays a file
again
Quote:
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Sat Dec 06, 2008 12:02 pm    Post subject: [Freeswitch-users] Playing a file again and again Reply with quote

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 (msc@freeswitch.org)> wrote:
Quote:
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 (odermann@googlemail.com)> wrote:

Quote:
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 (faisalmaqsoodi@yahoo.com)>:
Quote:
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 (odermann@googlemail.com)> wrote:

From: Dennis <odermann@googlemail.com (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 (faisalmaqsoodi@yahoo.com)>:
Quote:
Hi,
Is there any built-in function, like playback, which plays a file
again
Quote:
and again unless interrupted. I want to use a simple function not
FIFO.

Faisal


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services