Difference between revisions of "How to set language for Calling Cards"
Line 59: | Line 59: | ||
|} | |} | ||
NOTES: | <br> | ||
'''NOTES:''' | |||
# When Default is 'empty' that means that sip.conf file is messed up and is set language = | # When Default is 'empty' that means that sip.conf file is messed up and is set language = | ||
# When IVR is 'empty' that means IVR is used but no Language is changed in it OR IVR is not used at all | # When IVR is 'empty' that means IVR is used but no Language is changed in it OR IVR is not used at all | ||
# When DID is 'empty' that means Language field in DID configuration is empty | # When DID is 'empty' that means Language field in DID configuration is empty |
Revision as of 07:13, 21 May 2010
Description
Language in which Calling Card is played can be set in several places by such priority:
- Default (en)
- IVR
- DID
Explanation
Default language
By default language is en, it is set in /etc/asterisk/sip.conf as language = en
If Calling Card does not use IVR and DID language is set to empty, then default language will be used.
This image shows how to set to use default language (when IVR is not used and when DID has empty language):
Language set by IVR
If Calling Card Dial Plan (DP) is using IVR, then language set in IVR overwrites Default Language and is used IF DID language is empty.
This picture shows how Language (Voice) is set in IVR:
This example changes Language to es (Spanish).
Once again: it overwrites default Language (en) only when DID Language is empty!
Language set by DID
And most important is DID Language, which can be set in used DID:
This example shows ru language which will be used no matter what is Default Language and no matter which Language (Voice) is set in IVR.
Whole matrix
Language/Voice | ||||||||
Default | empty | empty | empty | empty | en | en | en | en |
IVR | empty | empty | es | es | empty | empty | es | es |
DID | empty | ru | empty | ru | empty | ru | empty | ru |
Which one will be used | en | ru | es | ru | en | ru | es | ru |
NOTES:
- When Default is 'empty' that means that sip.conf file is messed up and is set language =
- When IVR is 'empty' that means IVR is used but no Language is changed in it OR IVR is not used at all
- When DID is 'empty' that means Language field in DID configuration is empty