2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

don't use "memo"-numbers for phonebook

git-svn-id: https://svn.fhem.de/fhem/trunk@2367 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2012-12-26 12:38:34 +00:00
parent ebd750d671
commit 61a5d40cae

View File

@ -479,7 +479,7 @@ sub FB_CALLMONITOR_loadInternalPhonebookFile($)
while($contact =~ m/<number[a-z0-9="\n- ]+?type="(\w+?)"[a-z0-9="\n- ]*?>(.+?)<\/number>/gs)
{
if($1 ne "intern")
if($1 ne "intern" and $1 ne "memo")
{
$number = $2;
if(not $number =~ /^0/ and not $number =~ /@/ and $area_code ne "")