help with asterisk prompts

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

help with asterisk prompts

Postby agabr » Sat Nov 05, 2005 5:32 pm

I need to modify asterisk to read numbers that match the right to left reading, for example when you check your voice mail the sound is "you have twenty two messages" but in arabic it read something like "you have two twenty messages" it is just the way it works. i've been reading about the asterisk apps and don't know exactly how to modify this, at the CLI i see VoicemailMain saying these numbers in specific order. i really appreciate if someone could help me to get it modified with some instructions or link to it. if it is a c programming please let me know how to start.
Thank you in advance[/b]
agabr
Newsterisk
 
Posts: 36
Joined: Fri Dec 01, 2006 1:33 am

Postby srt » Sun Nov 06, 2005 9:15 am

Have a look at say.c in Asterisk's source code. It already contains a lot of other locales that need special handling.
Should be pretty easy to adopt that to your needs.
srt
Oldsterisk
 
Posts: 71
Joined: Thu Dec 21, 2006 10:56 pm

Postby agabr » Sun Nov 06, 2005 9:06 pm

thank you for your reply but i couldn't find say.c in asterisk, i really appreciate it if you can tell me where to find it and if i modify it do i need to compile the file again or just save it after modification.
agabr
Newsterisk
 
Posts: 36
Joined: Fri Dec 01, 2006 1:33 am

Postby srt » Mon Nov 07, 2005 4:12 am

did you ever do some programming? if not you might better ask someone who already has some C-experience to do it for you.

say.c is in the source directory of Asterisk. The thing you get when you unpack http://ftp.digium.com/pub/asterisk/aste ... ta2.tar.gz

and of course if you modify the source code of an application written in C you have to recompile, relink and reinstall the application.
srt
Oldsterisk
 
Posts: 71
Joined: Thu Dec 21, 2006 10:56 pm


Return to Asterisk Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest