From 97c7684b5111e23cf054ec20d11c2c50b607c206 Mon Sep 17 00:00:00 2001 From: ja02 Date: Fri, 20 Feb 2015 23:32:42 +0100 Subject: [PATCH] Added ITU-T country call codes for European countries. --- lib/countrycodes.php | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/lib/countrycodes.php b/lib/countrycodes.php index 1146f71..abc8090 100644 --- a/lib/countrycodes.php +++ b/lib/countrycodes.php @@ -14,22 +14,57 @@ namespace OCA\OcSms\Lib; class CountryCodes { public static $codes = array( + "Albania" => "+354", "Algeria" => "+213", + "Andorra" => "+376", + "Armenia" => "+374", + "Austria" => "+43", + "Belarus" => "+375", "Belgium" => "+32", + "Bosnia and Herzegovina" => "+387", "Brazil" => "+55", + "Bulgaria" => "+359", "Canada" => "+1", + "Croatia" => "+385", + "Cyprus" => "+357", + "Czech Republic" => "+420", + "Denmark" => "+45", "Egypt" => "+20", + "Estonia" => "+372", + "Finland" => "+357", "France" => "+33", "Germany" => "+49", + "Gibraltar" => "+350", + "Greece" => "+30", "Hong Kong" => "+852", + "Hungary" => "+36", + "Iceland" => "+354", "India" => "+91", + "Ireland" => "+353", "Italy" => "+39", "Japan" => "+81", + "Kosovo" => "+383", + "Latvia" => "+371", + "Liechtenstein" => "+423", + "Lithuania" => "+370", + "Luxembourg" => "+352", + "Macedonia" => "+389", + "Malta" => "+356", "Mexico" => "+52", + "Moldova" => "+373", + "Monaco" => "+377", + "Montenegro" => "+382", "Morocco" => "+212", + "Netherlands" => "+31", "Norway" => "+47", "Poland" => "+48", + "Portugal" => "+351", + "Romania" => "+40", "Russia" => "+7", + "San Marino" => "+378", + "Serbia" => "+381", + "Slovakia" => "+421", + "Slovenia" => "+386", "South Africa" => "+27", "South Korea" => "+82", "South Sudan" => "+211", @@ -37,6 +72,8 @@ class CountryCodes { "Sweden" => "+46", "Switzerland" => "+41", "Tunisia" => "+216", + "Ukraine" => "+380", + "United Kingdom" => "+44", "USA" => "+1", ); };