FB_CALLMONITOR: minor fix

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10668 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch
2016-01-30 13:42:28 +00:00
parent 037e562a5a
commit 41617b25e6

View File

@@ -1274,15 +1274,14 @@ EOD
return "received no data after requesting available phonebooks via TR-064";
}
Log3 $name, 5, "FB_CALLMONITOR ($name) - received TR-064 challenge response:\n$data";
unless($data =~ /<Nonce>/i and $data =~ /<Realm>/i)
{
Log3 $name, 3, "FB_CALLMONITOR ($name) - received no valid TR-064 challenge response. aborting";
Log3 $name, 5, "FB_CALLMONITOR ($name) - received no valid TR-064 challenge response: $data";
return "received no valid TR-064 challenge response. aborting";
}
Log3 $name, 5, "FB_CALLMONITOR ($name) - received TR-064 challenge response:\n$data";
my ($nonce, $realm);
if($data =~ m,<Nonce>(.+?)</Nonce>,i)