Difference between revisions of "How to set language for Calling Cards"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Description =
= Description =


Language in which Calling Card is played can be set in several places by such priority:
The language in which Calling Card is played can be set in several places in the following order of priority:


# Default (en)
# Default (en).
# IVR
# IVR.
# DID
# DID.


<br><br>
<br><br>
= Explanation =


<br><br>
 
== Default language ==
== 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 the DID language is set to empty, the default language will be used. You can also leave language field empty (delete the default value) if you don't want any language to be set.


[[Image:sip_conf_language.png]]
This image shows how to set to "use default language" (when IVR is not used and DID Language is set to empty):
 
'''IMPORTANT: DO NOT change this setting by editing sip.conf file directly! It can ruin all the system!
'''
 
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):


[[Image:did_empty_language.png]]
[[Image:did_empty_language.png]]
Line 30: Line 22:
== Language set by IVR ==
== 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.
If Calling Card Dial Plan (DP) is using IVR, then the 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 picture shows how Language (Voice) is set in IVR:
Line 36: Line 28:
[[Image:did_ivr_language.png]]
[[Image:did_ivr_language.png]]


This example changes Language to es (Spanish).
This example changes Language to Spanish (es).


Once again: it overwrites default Language (en) only when DID Language is empty!
Once again: it overwrites Default Language (en) only when DID Language is empty!


<br><br>
<br><br>
== Language set by DID ==
== Language set by DID ==


And most important is DID Language, which can be set in used DID:
Most important is DID Language, which can be set in user DID:


[[Image:did_ru_language.png]]
[[Image:did_ru_language.png]]


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.
This example shows ru language which will be used no matter what Default Language is and no matter which Language (Voice) is set in IVR.


<br><br>
<br><br>
== Language set by Calling Card ==
Calling Card language can be set in Calling Card settings:
[[Image:cc_language.png]]
This example shows en language which will be used for Calling Card menu. Only DID language can overwrite Calling Card language.
<br><br>
= Examples =
= Examples =


{| border="1" cellpadding="5" cellspacing="0"  
{| border="1" cellpadding="5" cellspacing="0"  
| '''Language/Voice'''  || || || || || || || ||  
| '''Language/Voice'''  || || || || || || || || ||
|-
| Default                                                  || empty || empty || empty || empty || empty || zn    || zn    || zn    || zn
|-  
|-  
| Default                || empty || empty || empty || empty || en   || en   || en    || en
| DID                                                      || empty || empty || ru    || empty || ru   || empty || ru   || empty || ru
|-  
|-  
| IVR                   || empty || empty || es   || es   || empty || empty || es   || es
| IVR                                                       || empty || empty || empty || fr   || fr   || empty || empty || fr   || fr
|-  
|-  
| DID                    || empty || ru   || empty || ru   || empty || ru   || empty || ru
| CC                                                        || empty || es   || es    || es    || es   || es    || es   || es    || es
|-  
|-  
| '''Which one will be used''' || '''en   ''' || '''ru   ''' || '''es  ''' || '''ru  ''' || '''en  ''' || '''ru   ''' || '''es  ''' || '''ru'''  
| '''Which one will be used for "Please enter card/PIN number"''' || '''en''' || '''en'''    || '''ru'''   || '''fr'''   || '''fr'''   || '''zn'''   || '''ru'''   || '''fr'''   || '''fr'''  
|-  
|-  
| '''Which one will be used for Calling Card menu'''              || '''en''' || '''es'''    || '''ru'''    || '''es'''    || '''es'''    || '''es'''    || '''ru'''    || '''es'''    || '''es'''
|-
|}
|}


Line 68: Line 76:
'''NOTES:'''
'''NOTES:'''


# When Default is 'empty' that means that sip.conf file is messed up and is set language =  
# When Default is 'empty' it means that sip.conf file is messed up and is set to 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' it 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' it means the Language field in DID configuration is empty.
 
 
<br><br>
= See also =
* [[Calling Cards Addon]]

Latest revision as of 11:48, 12 December 2012

Description

The language in which Calling Card is played can be set in several places in the following order of priority:

  1. Default (en).
  2. IVR.
  3. DID.




Default language

If Calling Card does not use IVR and the DID language is set to empty, the default language will be used. You can also leave language field empty (delete the default value) if you don't want any language to be set.

This image shows how to set to "use default language" (when IVR is not used and DID Language is set to empty):

Did empty language.png



Language set by IVR

If Calling Card Dial Plan (DP) is using IVR, then the 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:

Did ivr language.png

This example changes Language to Spanish (es).

Once again: it overwrites Default Language (en) only when DID Language is empty!



Language set by DID

Most important is DID Language, which can be set in user DID:

Did ru language.png

This example shows ru language which will be used no matter what Default Language is and no matter which Language (Voice) is set in IVR.



Language set by Calling Card

Calling Card language can be set in Calling Card settings:

Cc language.png

This example shows en language which will be used for Calling Card menu. Only DID language can overwrite Calling Card language.



Examples

Language/Voice
Default empty empty empty empty empty zn zn zn zn
DID empty empty ru empty ru empty ru empty ru
IVR empty empty empty fr fr empty empty fr fr
CC empty es es es es es es es es
Which one will be used for "Please enter card/PIN number" en en ru fr fr zn ru fr fr
Which one will be used for Calling Card menu en es ru es es es ru es es


NOTES:

  1. When Default is 'empty' it means that sip.conf file is messed up and is set to language = .
  2. When IVR is 'empty' it means IVR is used but no Language is changed in it, OR IVR is not used at all.
  3. When DID is 'empty' it means the Language field in DID configuration is empty.




See also