Sound files

From Kolmisoft Wiki
Revision as of 12:25, 15 August 2008 by Mindaugas (talk | contribs)
Jump to navigationJump to search

Sound files which MOR uses are located in /var/lib/asterisk/sounds/mor

Add another language

Translation/recording

  • Translate and record sound file to your language (example: french (fr))


There are necessary files presented with transcription what they say:

  • enter_dest.wav - "Please enter the number you wish to call followed by hash key, if making an international call- include international codes".
  • euro.wav - "euro".
  • euros.wav - "euros".
  • hang-on-a-second.wav - "hang on a second".
  • you_have.wav - "you have".
  • minus.wav - "minus".
  • minute.wav - "minute".
  • minutes.wav - "minutes".
  • mor_enter_dest.wav <-> enter_dest.wav (the same).
  • mor_enter_pin_number.wav - "please, enter the pin number".
  • mor_your_balance_was_increased_by.wav - "your balance was increased by".
  • mor_please_enter_voucher_number.wav - "please enter voucher number".
  • mor_pls_entr_num_uwish2_call.wav - "please enter the number you wish to call".
  • mor_pls_wait_connect_call.wav - "please wait while I connect call".
  • mor_thank_you.wav - "thank you"
  • mor_voucher_not_found.wav - "voucher not found".
  • morcc_and.wav - "and".
  • morcc_auth_failed.wav - "authorization failed"
  • morcc_busy.wav - "the number is busy".
  • morcc_credit_low.wav - "your credit is low"
  • morcc_enter_card_num.wav - "please enter your card and pin number"
  • morcc_enter_dest.wav - <-> enter_dest.gsm (the same).
  • morcc_EUR_cents.wav - "cents"
  • morcc_EUR_many.wav - "euros"
  • morcc_EUR_one.wav - "euro".
  • morcc_GBP_cents.wav - "pences".
  • morcc_GBP_many.wav - "pounds".
  • morcc_GBP_one.wav - "pound"
  • morcc_invalid_digits.wav - "invalid digits".
  • morcc_you_have.wav - "you have".
  • morcc_minute.wav - "minute".
  • morcc_minutes.wav - "minutes".
  • morcc_pence.wav - "pences".
  • morcc_pounds.wav - "pounds".
  • morcc_unreachable.wav - "the number is unreachable".
  • morcc_USD_cents.wav - "cents"
  • morcc_USD_many.wav - "dollars"
  • morcc_USD_one.wav - "dollar".
  • prepaid-enter-dest.wav - "zabirite kod strani i nomer abonenta , posle nabora nazmite risotku".
  • unlimited_minutes.wav - "unlimited minutes"


Converting

In order to Asterisk to play files, they should be converted to Bit rate: 8bit, Sample rate: 8000.

It can be done using sox command:

/usr/bin/sox file1.wav -r 8000 -c 1 -s -w file2.wav resample -ql 

and put them into /var/lib/asterisk/sounds/mor/fr


Digits

Also you need digit sounds recorded in french (fr)

Put all digit recordings into /var/lib/asterisk/sounds/digits/fr


Setting language

  • In DID settings set language = fr


Remove some default sound file from MOR logic

Just make appropriate sound file to contain silence.