mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Fixed Cameroon dialplan
This commit is contained in:
parent
4e7726e9ee
commit
6162b8a9e7
2 changed files with 9 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ static LinphoneDialPlan const dial_plans[]={
|
|||
{"Burkina Faso" ,"BF" , "226" , 8 , "00" },
|
||||
{"Burundi" ,"BI" , "257" , 8 , "011" },
|
||||
{"Cambodia" ,"KH" , "855" , 9 , "00" },
|
||||
{"Cameroon" ,"CM" , "237" , 8 , "00" },
|
||||
{"Cameroon" ,"CM" , "237" , 9 , "00" },
|
||||
{"Canada" ,"CA" , "1" , 10 , "011" },
|
||||
{"Cape Verde" ,"CV" , "238" , 7 , "00" },
|
||||
{"Cayman Islands" ,"KY" , "1" , 10 , "011" },
|
||||
|
|
|
|||
|
|
@ -132,6 +132,14 @@ static void phone_normalization_with_proxy(void) {
|
|||
BC_ASSERT_STRING_EQUAL(phone_normalization(proxy, "+5217227718184"), "+5217227718184"); /*this is a mobile phone number */
|
||||
BC_ASSERT_STRING_EQUAL(phone_normalization(proxy, "+528127718184"), "+528127718184"); /*this is a landline phone number from Monterrey*/
|
||||
|
||||
// Phone normalization for myanmar dial plans
|
||||
linphone_proxy_config_set_dial_prefix(proxy, "95");
|
||||
BC_ASSERT_STRING_EQUAL(phone_normalization(proxy, "9965066691"), "+959965066691");
|
||||
|
||||
// Phone normalization for cameroon dial plans
|
||||
linphone_proxy_config_set_dial_prefix(proxy, "237");
|
||||
BC_ASSERT_STRING_EQUAL(phone_normalization(proxy, "674788175"), "+237674788175");
|
||||
|
||||
linphone_proxy_config_unref(proxy);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue