Skip to content

Commit

Permalink
Add more dialplan JSON examples (2600hz#6236)
Browse files Browse the repository at this point in the history
Many countries, with capital city only, easy to adjust for more cities
  • Loading branch information
yumminova authored and jamesaimonetti committed Jan 8, 2020
1 parent ad31e22 commit 67a4ce2
Show file tree
Hide file tree
Showing 44 changed files with 549 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_AD.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^(\\d{6}|\\d{9})$": {
"description": "AD national",
"prefix": "+376"
}
}
14 changes: 14 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_AL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^0(\\d{5,})$": {
"description": "AL national",
"prefix": "+355"
},
"^([1-9]\\d{4,})$": {
"description": "AL Tirana local",
"prefix": "+3554"
}
}
14 changes: 14 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_AT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^0(\\d{5,})$": {
"description": "AT national",
"prefix": "+43"
},
"^([1-9]\\d{4,})$": {
"description": "AT Vienna� local",
"prefix": "+431"
}
}
14 changes: 14 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_BA.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^0(\\d{5,})$": {
"description": "BA national",
"prefix": "+387"
},
"^([1-9]\\d{4,})$": {
"description": "BA Sarajevo� local",
"prefix": "+38733"
}
}
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_BE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^0(\\d{9,10})$": {
"description": "BE national",
"prefix": "+32"
}
}
14 changes: 14 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_BG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^0(\\d{5,})$": {
"description": "BG national",
"prefix": "+359"
},
"^([1-9]\\d{4,})$": {
"description": "BG Sofia local",
"prefix": "+3592"
}
}
14 changes: 14 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_BY.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^0(\\d{5,})$": {
"description": "BY national",
"prefix": "+375"
},
"^([1-9]\\d{4,})$": {
"description": "BY Minsk local",
"prefix": "+37517"
}
}
14 changes: 14 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_CH.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^0(\\d{5,})$": {
"description": "CH national",
"prefix": "+41"
},
"^([1-9]\\d{4,})$": {
"description": "CH Bern local",
"prefix": "+4131"
}
}
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_CY.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^(\\d{8})$": {
"description": "CY national",
"prefix": "+357"
}
}
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_CZ.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^(\\d{9})$": {
"description": "CZ national",
"prefix": "+420"
}
}
14 changes: 14 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_DE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^0(\\d{5,})$": {
"description": "DE national",
"prefix": "+49"
},
"^([1-9]\\d{4,})$": {
"description": "DE Berlin local",
"prefix": "+4930"
}
}
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_DK.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^(\\d{8})$": {
"description": "DK national",
"prefix": "+45"
}
}
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_EE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^(\\d{7,8})$": {
"description": "EE national",
"prefix": "+372"
}
}
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_ES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^([1-9]\\d{8})$": {
"description": "ES national",
"prefix": "+34"
}
}
14 changes: 14 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_FI.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^0(\\d{5,})$": {
"description": "FI national",
"prefix": "+358"
},
"^([1-9]\\d{4,})$": {
"description": "FI Helsinki� local",
"prefix": "+3589"
}
}
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_FR.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^0(\\d{9})$": {
"description": "FR national",
"prefix": "+33"
}
}
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_GL.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^(\\d{8})$": {
"description": "GL national",
"prefix": "+350"
}
}
14 changes: 14 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_GR.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^(\\d{10})$": {
"description": "GR national",
"prefix": "+30"
},
"^(\\d{8})$": {
"description": "GR Athens local",
"prefix": "+3021"
}
}
14 changes: 14 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_HR.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^0(\\d{5,})$": {
"description": "HR national",
"prefix": "+385"
},
"^([1-9]\\d{4,})$": {
"description": "HR Zagreb local",
"prefix": "+3851"
}
}
14 changes: 14 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_HU.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^06(\\d{5,})$": {
"description": "HU national",
"prefix": "+36"
},
"^([1-9]\\d{4,})$": {
"description": "HU Budapest local",
"prefix": "+361"
}
}
14 changes: 14 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_IR.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^0(\\d{5,})$": {
"description": "IR national",
"prefix": "+353"
},
"^([1-9]\\d{4,})$": {
"description": "IR Dublin local",
"prefix": "+3531"
}
}
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_IS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^([1-9]\\d{6,8})$": {
"description": "IS national",
"prefix": "+354"
}
}
18 changes: 18 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_IT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^0(\\d{5,12})$": {
"description": "IT national",
"prefix": "+390"
},
"^3(\\d{9,10})$": {
"description": "IT mobile",
"prefix": "+393"
},
"^([1-9]\\d{4,11})$": {
"description": "IT Rome local",
"prefix": "+3906"
}
}
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_LI.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^([1-9]\\d{6,11})$": {
"description": "LI national",
"prefix": "+423"
}
}
14 changes: 14 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_LT.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^8(\\d{7,8})$": {
"description": "LT national",
"prefix": "+370"
},
"^([1-9]\\d{4,6})$": {
"description": "LT Vilnius local",
"prefix": "+3705"
}
}
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_LU.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^([1-9]\\d{5,8})$": {
"description": "LU Luxembourg national",
"prefix": "+352"
}
}
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_LV.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^([1-9]\\d{7})$": {
"description": "LV national",
"prefix": "+371"
}
}
10 changes: 10 additions & 0 deletions doc/internationalization/examples/dialplan/dialplan_MC.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"dial_plan": {
"^00(\\d{5,})$": {
"description": "international",
"prefix": "+"
},
"^([1-9]\\d{6,7})$": {
"description": "MC national",
"prefix": "+377"
}
}
Loading

0 comments on commit 67a4ce2

Please sign in to comment.