freetdm: OPENZAP-158 --resolve map operator calling party category in the openr2 module
This commit is contained in:
parent
17099473a3
commit
af31a8cb61
|
@ -436,6 +436,13 @@ static __inline openr2_calling_party_category_t ftdm_r2_ftdm_cpc_to_openr2_cpc(f
|
|||
case FTDM_CPC_PAYPHONE:
|
||||
return OR2_CALLING_PARTY_CATEGORY_PAY_PHONE;
|
||||
|
||||
case FTDM_CPC_OPERATOR_FRENCH:
|
||||
case FTDM_CPC_OPERATOR_ENGLISH:
|
||||
case FTDM_CPC_OPERATOR_GERMAN:
|
||||
case FTDM_CPC_OPERATOR_RUSSIAN:
|
||||
case FTDM_CPC_OPERATOR_SPANISH:
|
||||
return OR2_CALLING_PARTY_CATEGORY_COLLECT_CALL;
|
||||
|
||||
case FTDM_CPC_INVALID:
|
||||
return OR2_CALLING_PARTY_CATEGORY_UNKNOWN;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue