Hi, How can I play a sound file from the middle and end it after a certain number of seconds? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120125/15606bc3/attachment.htm>
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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120126/3894bf45/attachment.htm>
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. 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120126/87ed9cdf/attachment.htm>
You can use a combination of ChanSpy() and a local extension playing the required file to caller/callee. On Thu, Jan 26, 2012 at 2:11 PM, Eyal <eyal at mcr-m.com> wrote:> 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.**** > > ** ** > > ** ** > > *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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120126/c5edba35/attachment.htm>
You can use controlplayback On Jan 25, 2012 9:00 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120129/d416b757/attachment.htm>