Hello folks,

 

I’m setting up in one server two AstCC IVRs with different sound files but in the same language: Spanish. As you may already know, Spanish differs slightly in syntax from English. I tried setting the language to the folder names and sounds are taken correctly, but the syntax used is still english...

 

I took a look in say.c and found the syntax section. It seems easy to patch so it supports this new scheme that uses multiple folders using the same syntax and different files; something like appending _es to the folder names so the module recognizes it is Spanish would do it for my case, but I can’t get to compile correctly the file.

 

In any case, this is the function that I would modify to include the new folders’ names:

static int ast_say_number_full_es

 

To be something like:

static int ast_say_number_full_new_folder_1_es

static int ast_say_number_full_new_folder_2_es

 

That would be a quick and good solution, considering that I won’t be adding IVRs everyday.

 

To make something better, I could write a function that called the original for every directory that ends in _es, or more likely to support every language searching for the suffix.

 

Could someone please guide me to recompile after making the modifications?

 

I’d be happy to publish whatever I come up with; it doesn’t really seem to be too complicated but it has been a very long time since I compiled my last C program J

 

Your help will be greatly appreciated.

 

With best regards,

 

Max Glucksmann

e-mail: [EMAIL PROTECTED]

Web: http://www.comtel-networks.com

 

Venezuela

Teléfono: (0500) MAXITEL – ext. 1011001

Fax: (0212) 953-0769

 

USA

Phone: 1 (877) 467-2877 – ext. 1011001

Fax: (954) 827-0990

 

 

Comtel Networks, Corp. - Proprietary and Confidential

 

BEGIN:VCARD
VERSION:2.1
N:Glucksmann;Max
FN:Max Glucksmann (Fax del trabajo)
ORG:ComTel Networks, Corp.
TITLE:Director
TEL;WORK;VOICE:+1 (877) 467-2877
TEL;HOME;VOICE:+58 (500) MAXITEL (629-4835)
TEL;CELL;VOICE:+58 (414) 250-0909
TEL;WORK;FAX:+1 (954) 671-6800
TEL;HOME;FAX:+58 (212) 285-3320
ADR;WORK:;;Aerocav 1614, PO Box 25304;Miami;FL.;33102-5304;Estados Unidos de América
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Aerocav 1614, PO Box 25304=0D=0AMiami, FL. 33102-5304=0D=0AEstados Unidos de=
 Am=E9rica
EMAIL;PREF;FAX:Max Glucksmann ([EMAIL PROTECTED])@+1 (954) 671-6800
REV:20051212T222729Z
END:VCARD
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to