[asterisk-users] Playing a sound file during a call

Kevin Larsen kevin.larsen at pioneerballoon.com
Thu May 2 17:07:53 CDT 2013


Add MOH_Class onto the example and the idle channel will hear music on 
hold until the playback is complete on the other channel.

Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208



From:   Carlos Alvarez <carlos at televolve.com>
To:     Asterisk Users Mailing List - Non-Commercial Discussion 
<asterisk-users at lists.digium.com>, 
Date:   05/02/2013 05:02 PM
Subject:        Re: [asterisk-users] Playing a sound file during a call
Sent by:        asterisk-users-bounces at lists.digium.com



Unfortunately that only plays the file to one side according to the
examples, so there's no way for the other person to know when it's
done.  The caller on the Asterisk server would start the playback, and
would need to know when it's done.

On Thu, May 2, 2013 at 2:58 PM, Kevin Larsen
<kevin.larsen at pioneerballoon.com> wrote:
> I think features.conf has what you want under the [applicationmap] 
setting.
> They even have an example that would be almost exactly like what you 
want.
> From the example:
>
> ;testfeature => #9,peer,Playback,tt-monkeys  ;Allow both the caller and
> callee to play
> ;                                            ;tt-monkeys to the opposite
> channel
>
> Kevin Larsen - Systems Analyst - Pioneer Balloon - Ph: 316-688-8208
>
>
>
> From:        Carlos Alvarez <carlos at televolve.com>
> To:        Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users at lists.digium.com>,
> Date:        05/02/2013 04:53 PM
> Subject:        [asterisk-users] Playing a sound file during a call
> Sent by:        asterisk-users-bounces at lists.digium.com
> ________________________________
>
>
>
> I have a customer who would like to play a series of sound files
> during a phone call on demand.  There would be several played in order
> during a call.  Any simple ideas on doing that without developing a
> whole web app to do it via AMI?
>
> --
> Carlos Alvarez
> TelEvolve
> 602-889-3003
>
> --
> _____________________________________________________________________
> -- 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



-- 
Carlos Alvarez
TelEvolve
602-889-3003

--
_____________________________________________________________________
-- 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/20130502/9149f338/attachment.htm>


More information about the asterisk-users mailing list