don't use "memo"-numbers for phonebook

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2367 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch
2012-12-26 12:38:34 +00:00
parent c35f937b29
commit bfcde8f507

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 "")