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

Carlos Alvarez carlos at televolve.com
Thu May 2 18:40:14 CDT 2013


In case anyone else sees this discussion in the future, the
Set(__DYNAMIC_FEATURES) line can't be over a certain length or it
stops parsing anything after that.

Thanks for the tips, Kevin.


On Thu, May 2, 2013 at 3:37 PM, Carlos Alvarez <carlos at televolve.com> wrote:
> Good point, and that should be usable for the customer.
>
> However I'm finding that I can only have about 25 files available to
> play, and they need 30.  Still trying to figure out why that would be,
> seems like the set command can't parse all 30 possible feature names.
>
> On Thu, May 2, 2013 at 3:07 PM, Kevin Larsen
> <kevin.larsen at pioneerballoon.com> wrote:
>> 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
>>
>>
>> --
>> _____________________________________________________________________
>> -- 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



-- 
Carlos Alvarez
TelEvolve
602-889-3003



More information about the asterisk-users mailing list