quick'n'dirty fix for international numbers in the internal telephone, a proper fix will come soon

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2424 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch
2013-01-03 23:04:32 +00:00
parent b2b53a8565
commit 08f23b09e9

View File

@@ -484,6 +484,7 @@ sub FB_CALLMONITOR_loadInternalPhonebookFile($)
{
$number = $2;
$number =~ s/^+\d\d/0/g; # quick'n'dirty fix in case of international number format.
$number =~ s/\D//g unless($number =~ /@/);
$number =~ s/\s//g if($number =~ /@/);