Localizing Asterisk for China

Posted by justdave on August 31st, 2007 filed in VoIP, Work

This last week, we set up a bunch of the IT infrastructure at Mozilla’s new Chinese office. My primary part of the process was setting up their phone system. We used Asterisk, of course, seeing as how we already use that for our phone systems in Mountain View and Toronto. Asterisk has a really cool feature that lets you put localized sound files in for the voice prompts, and each device and incoming phone line can be set up to default to a particular language. It will use the localized files for that language, if available, and fall back on the English ones if they aren’t. You can also allow users to change which language they get with a little careful scripting (”Press 1 for English”, etc). We set it up so that dialing from any phones in the Beijing office will get Chinese prompts, dialing into the Beijing office from outside will get Chinese prompts, and dialing into the Beijing office via the links to our other offices will get English prompts.

One of the difficulties we’ve run into is that there’s no official Chinese language pack for Asterisk, and the only unofficial Chinese language pack we could find is fairly incomplete. You’ll be listening to something in Chinese (like the instructions for voicemail) and suddenly get a word or two of English in the middle of it. :) I ended up spending a fair portion of this week trying to set up a nice friendly web app the folks in the office can use to easily see which files have been localized and which haven’t, and allow them to record their own localized files and have them automatically go where they need to go. Other folks might find it useful, so I’ll try to get it posted somewhere once I get it fixed up a little (it’s a bit of a quick and dirty hack still right now, but it’s getting there).


4 Responses to “Localizing Asterisk for China”

  1. gordon Says:

    Nice of you todo this work with asterisk. How can I assist in seeing you make it big.?

  2. Daniel Says:

    Hi Dave, I am on the cusp of an Asterisk server deployment in China. How did yours go?

  3. justdave Says:

    Pretty well actually, they’ve been enjoying it. The app I mentioned setting up I just actually got to the point of being usable a couple weeks ago. It’s still kind of incomplete. But it would make a nice tool for anyone trying to make a new language pack for Asterisk. I’ll see if I can get it packaged up any this next week.

  4. Daniel Says:

    I am not sure how much overlap there is between the voice-prompts on Asterisk and Fonality, but Fonality provides this list of voice-prompts and descriptions for PBXtra:
    http://help.fonality.com/index.php/Changing_the_Default_PBXtra_Voice_Prompt_Recordings

Leave a Comment