Re: [asterisk-users] HOW to record saynumber output

2009-12-19 Thread mickael ropars
ok thanks a lot Danny. for your helpfull advice.

your are with Steve my technical guardian angels :)




2009/12/18 Danny Nicholas da...@debsinc.com

  Saynumber just does an “EXECUTE BACKGROUND” on the files in
 /var/lib/asterisk/sounds/digits. So to “record” a saynumber output of 23 to
 a moh file, you would do sox /var/lib/asterisk/sounds/digits/20.gsm
 /var/lib/asterisk/sounds/digits/3.gsm /var/lib/asterisk/moh/23.wav.  If your
 moh processes randomly, the 23 would come up every x times.  If you use
 classes to control moh, you can make it come up each time.


  --

 *From:* asterisk-users-boun...@lists.digium.com [mailto:
 asterisk-users-boun...@lists.digium.com] *On Behalf Of *mickael ropars
 *Sent:* Friday, December 18, 2009 11:30 AM

 *To:* Asterisk Users Mailing List - Non-Commercial Discussion
 *Subject:* Re: [asterisk-users] HOW to record saynumber output



 Hi Danny,

 I've already have a look to those tools, but I cannot see how I can record
 the saynumber output audio into a file

 Mickael

 2009/12/18 Danny Nicholas da...@debsinc.com

 If you have SOX, LAME and time, you can do about anything you want.   The
 default moh files are wav, but a lot of folks use mp3 with the mpg123
 player.


  --

 *From:* asterisk-users-boun...@lists.digium.com [mailto:
 asterisk-users-boun...@lists.digium.com] *On Behalf Of *mickael ropars
 *Sent:* Friday, December 18, 2009 11:05 AM
 *To:* Asterisk Users Mailing List - Non-Commercial Discussion
 *Subject:* [asterisk-users] HOW to record saynumber output



 Hi all,

 the aims of this mail is to use saynumber fonctionality during Music On
 Hold while dialing.

 Music On Hold can only play a music file

 So Is there a way to pre-record the saynumber output and other .gsm file
 and then play the record file during Music On Hold ?

 all solutions are welcome

 regards

 Mickael


 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

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

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

[asterisk-users] HOW to record saynumber output

2009-12-18 Thread mickael ropars
Hi all,

the aims of this mail is to use saynumber fonctionality during Music On Hold
while dialing.

Music On Hold can only play a music file

So Is there a way to pre-record the saynumber output and other .gsm file and
then play the record file during Music On Hold ?

all solutions are welcome

regards

Mickael
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] HOW to record saynumber output

2009-12-18 Thread Danny Nicholas
If you have SOX, LAME and time, you can do about anything you want.   The
default moh files are wav, but a lot of folks use mp3 with the mpg123
player.

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of mickael ropars
Sent: Friday, December 18, 2009 11:05 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] HOW to record saynumber output

 

Hi all,

the aims of this mail is to use saynumber fonctionality during Music On Hold
while dialing.

Music On Hold can only play a music file

So Is there a way to pre-record the saynumber output and other .gsm file and
then play the record file during Music On Hold ?

all solutions are welcome

regards

Mickael



___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

Re: [asterisk-users] HOW to record saynumber output

2009-12-18 Thread mickael ropars
Hi Danny,

I've already have a look to those tools, but I cannot see how I can record
the saynumber output audio into a file

Mickael

2009/12/18 Danny Nicholas da...@debsinc.com

  If you have SOX, LAME and time, you can do about anything you want.   The
 default moh files are wav, but a lot of folks use mp3 with the mpg123
 player.


  --

 *From:* asterisk-users-boun...@lists.digium.com [mailto:
 asterisk-users-boun...@lists.digium.com] *On Behalf Of *mickael ropars
 *Sent:* Friday, December 18, 2009 11:05 AM
 *To:* Asterisk Users Mailing List - Non-Commercial Discussion
 *Subject:* [asterisk-users] HOW to record saynumber output



 Hi all,

 the aims of this mail is to use saynumber fonctionality during Music On
 Hold while dialing.

 Music On Hold can only play a music file

 So Is there a way to pre-record the saynumber output and other .gsm file
 and then play the record file during Music On Hold ?

 all solutions are welcome

 regards

 Mickael


 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

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

Re: [asterisk-users] HOW to record saynumber output

2009-12-18 Thread Danny Nicholas
Saynumber just does an EXECUTE BACKGROUND on the files in
/var/lib/asterisk/sounds/digits. So to record a saynumber output of 23 to
a moh file, you would do sox /var/lib/asterisk/sounds/digits/20.gsm
/var/lib/asterisk/sounds/digits/3.gsm /var/lib/asterisk/moh/23.wav.  If your
moh processes randomly, the 23 would come up every x times.  If you use
classes to control moh, you can make it come up each time.

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of mickael ropars
Sent: Friday, December 18, 2009 11:30 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] HOW to record saynumber output

 

Hi Danny,

I've already have a look to those tools, but I cannot see how I can record
the saynumber output audio into a file

Mickael

2009/12/18 Danny Nicholas da...@debsinc.com

If you have SOX, LAME and time, you can do about anything you want.   The
default moh files are wav, but a lot of folks use mp3 with the mpg123
player.

 

  _  

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of mickael ropars
Sent: Friday, December 18, 2009 11:05 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] HOW to record saynumber output

 

Hi all,

the aims of this mail is to use saynumber fonctionality during Music On Hold
while dialing.

Music On Hold can only play a music file

So Is there a way to pre-record the saynumber output and other .gsm file and
then play the record file during Music On Hold ?

all solutions are welcome

regards

Mickael


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

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