[asterisk-users] HOW to record saynumber output

Danny Nicholas danny at debsinc.com
Fri Dec 18 11:37:20 CST 2009


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-bounces at lists.digium.com
[mailto:asterisk-users-bounces at 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 <danny at 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-bounces at lists.digium.com
[mailto:asterisk-users-bounces at 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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091218/895250ac/attachment.htm 


More information about the asterisk-users mailing list