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

2013-05-02 Thread Carlos Alvarez
On Thu, May 2, 2013 at 5:24 PM, Richard Mudgett  wrote:
>
> You can also put dynamic feature group names into the DYNAMIC_FEATURES list.

I expected that to have the same limitation, but it doesn't.  Works
fine, thanks!


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


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

2013-05-02 Thread Michael L. Young
- Original Message -
> From: "Richard Mudgett" 
> To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
> 
> Sent: Thursday, May 2, 2013 8:24:49 PM
> Subject: Re: [asterisk-users] Playing a sound file during a call
> 
> > On Thu, May 2, 2013 at 3:37 PM, Carlos Alvarez
> > 
> > wrote:
> >
> > 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.
> >  
> 
> You can also put dynamic feature group names into the
> DYNAMIC_FEATURES list.

Also, I know this doesn't help you now but, in Asterisk 12 the limit has been 
eliminated.

Take a look at https://issues.asterisk.org/jira/browse/ASTERISK-20680

Michael--
_
-- 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

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

2013-05-02 Thread Richard Mudgett
> 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 
> 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.

You can also put dynamic feature group names into the DYNAMIC_FEATURES list.

Richard

> >
> > On Thu, May 2, 2013 at 3:07 PM, Kevin Larsen
> >  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 
> >> To:Asterisk Users Mailing List - Non-Commercial Discussion
> >> ,
> >> Date:05/02/2013 05:02 PM
> >> Subject:Re: [asterisk-users] Playing a sound file during a
> >> call
> >> Sent by:asterisk-users-boun...@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
> >>  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 
> >>> To:Asterisk Users Mailing List - Non-Commercial
> >>> Discussion
> >>> ,
> >>> Date:05/02/2013 04:53 PM
> >>> Subject:[asterisk-users] Playing a sound file during a
> >>> call
> >>> Sent by:asterisk-users-boun...@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


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

2013-05-02 Thread Carlos Alvarez
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  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
>  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 
>> To:Asterisk Users Mailing List - Non-Commercial Discussion
>> ,
>> Date:05/02/2013 05:02 PM
>> Subject:Re: [asterisk-users] Playing a sound file during a call
>> Sent by:asterisk-users-boun...@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
>>  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 
>>> To:Asterisk Users Mailing List - Non-Commercial Discussion
>>> ,
>>> Date:05/02/2013 04:53 PM
>>> Subject:[asterisk-users] Playing a sound file during a call
>>> Sent by:asterisk-users-boun...@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

--
_
-- 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


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

2013-05-02 Thread Carlos Alvarez
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
 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 
> To:Asterisk Users Mailing List - Non-Commercial Discussion
> ,
> Date:        05/02/2013 05:02 PM
> Subject:    Re: [asterisk-users] Playing a sound file during a call
> Sent by:asterisk-users-boun...@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
>  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 
>> To:Asterisk Users Mailing List - Non-Commercial Discussion
>> ,
>> Date:05/02/2013 04:53 PM
>> Subject:[asterisk-users] Playing a sound file during a call
>> Sent by:asterisk-users-boun...@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

--
_
-- 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


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

2013-05-02 Thread Kevin Larsen
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 
To: Asterisk Users Mailing List - Non-Commercial Discussion 
, 
Date:   05/02/2013 05:02 PM
Subject:Re: [asterisk-users] Playing a sound file during a call
Sent by:asterisk-users-boun...@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
 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 
> To:Asterisk Users Mailing List - Non-Commercial Discussion
> ,
> Date:05/02/2013 04:53 PM
> Subject:[asterisk-users] Playing a sound file during a call
> Sent by:asterisk-users-boun...@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

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

2013-05-02 Thread Carlos Alvarez
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
 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 
> To:Asterisk Users Mailing List - Non-Commercial Discussion
> ,
> Date:05/02/2013 04:53 PM
> Subject:[asterisk-users] Playing a sound file during a call
> Sent by:asterisk-users-boun...@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


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

2013-05-02 Thread Kevin Larsen
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 
To: Asterisk Users Mailing List - Non-Commercial Discussion 
, 
Date:   05/02/2013 04:53 PM
Subject:[asterisk-users] Playing a sound file during a call
Sent by:asterisk-users-boun...@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