Results 1 to 2 of 2

Thread: localization

  1. #1
    aatjan Guest

    Default localization

    Hi,

    How to localize the asterisk "sounds" (other language of prompts, system messages)?

  2. #2
    skar Guest

    Default Same as any asterisk system

    Asterisk users know that sound files are usually kept in the /var/lib/asterisk/sounds directory. If you look on the WARP, this directory is located at /persistent1/var/lib/asterisk/sound which may be linked to a folder on the SD card. You can create as many other directories as you need, such as de, nl, it, and so on for the storage of prompts in whatever language(s) you need.

    /persistent1/var/lib/asterisk/sounds/es/
    /persistent1/var/lib/asterisk/sounds/fr/

    Within these directories, the system prompts must be in the file names known to Asterisk. So, the file called /var/lib/asterisk/sounds/en/hello.ulaw will contain "Hello" whereas the file called /var/lib/asterisk/sounds/fr/hello.ulaw will contain "Bonjour".


    The way you select the prompts to be used during a call is by specifying it in the concerned channel configuration file. In sip.conf and iax.conf, you can set the language in the [general] section of the files:

    [general]
    language=en ;default language

    Or you can set the language for a given user:

    [203]
    type=friend
    language=fr ;user-specific language


    Thus you can have a default language (as identified in the [general] section) and/or select a language for each specific user, and as a call comes in through that channel, the language will be set. Just remeber that the WARP uses ulaw files by default so you should download the appropriate prompts from Digium for your language.
    Last edited by skar; 11-02-09 at 06:25 PM. Reason: formatting

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •