[asterisk-users] play sound file

Eyal eyal at mcr-m.com
Sun Jan 29 01:51:52 CST 2012


Thanks

Any more ideas?

 

 

אייל מהלל

מתכנת IVR

משרד: 03-6034293 שלוחה 220

נייד: 054-4793007

פקס: 03-6006081

 

From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Johan Wilfer
Sent: Thursday, January 26, 2012 11:24 AM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] play sound file

 

2012-01-26 10:11, Eyal skrev: 

Thanks

 

But this is not what I am looking for, in this way I can start the sound file from some point in the file but the callers must hear the file until the end.

I need something that allows me to start from some place in the file and end it in some other place in the file (say song from time 01:32 until 01:57),

Or

Like the controlplayback doing fast-forward but without having to click any key by caller.


You can do that by combining ControlPlayback and use TIMEOUT function.

If you don't want the user to be able to use any keys you can use all keys as stop-keys in ControlPlayback and have some logic restart the playback at position ${CPLAYBACKOFFSET}. 

For more details do:

core show application ControlPlayback 
core show function TIMEOUT 

/Johan






 

 

From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Nasir Iqbal
Sent: Thursday, January 26, 2012 10:53 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] play sound file

 

check this http://www.voip-info.org/wiki/view/Asterisk+cmd+ControlPlayback


Nasir Iqbal

ICTBroadcast

SMS, Fax and Voice broadcasting solution

http://www.ictbroadcast.com/






On Wed, Jan 25, 2012 at 8:29 PM, Eyal <eyal at mcr-m.com> wrote:

Hi,

How can I play a sound file from the middle and end it after a certain number of seconds?


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

 






--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello
 
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users






-- 
Johan Wilfer                 email: johan at jttech.se
JT Tech | Developer          webb: http://jttech.se
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120129/237aa9df/attachment.htm>


More information about the asterisk-users mailing list