Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblinphone
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
10
Issues
10
List
Board
Labels
Milestones
Merge Requests
23
Merge Requests
23
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
liblinphone
Commits
6162b8a9
Commit
6162b8a9
authored
Aug 24, 2017
by
Sylvain Berfini
🎩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Cameroon dialplan
parent
4e7726e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
dial_plan.c
coreapi/dial_plan.c
+1
-1
proxy_config_tester.c
tester/proxy_config_tester.c
+8
-0
No files found.
coreapi/dial_plan.c
View file @
6162b8a9
...
...
@@ -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"
},
...
...
tester/proxy_config_tester.c
View file @
6162b8a9
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment