international numbers have a +
authorChristian Weiske <cweiske@cweiske.de>
Fri, 10 Aug 2012 05:31:50 +0000 (07:31 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 10 Aug 2012 05:31:50 +0000 (07:31 +0200)
src/callnotifier/CallMonitor.php

index 7c6168c..f55bfa7 100644 (file)
@@ -141,6 +141,8 @@ class CallMonitor
     {
         if ($type == EDSS1_Parameter_Names::NUMBER_NATIONAL) {
             return '0' . $number;
+        } else if ($type == EDSS1_Parameter_Names::NUMBER_INTERNATIONAL) {
+            return '+' . $number;
         }
         return $number;
     }