Add reverse authentication required for the provision and reboot options on the status -> registrations.

This commit is contained in:
Mark Crane 2014-09-17 17:04:41 +00:00
parent e66d79e6fe
commit 110ae90cae
1 changed files with 2 additions and 0 deletions

View File

@ -241,6 +241,8 @@
$xml .= " <params>\n";
$xml .= " <param name=\"a1-hash\" value=\"" . $a1_hash . "\"/>\n";
//$xml .= " <param name=\"password\" value=\"" . $row['password'] . "\"/>\n";
$xml .= " <param name=\"reverse-auth-user\" value=\"" . $row['extension'] . "\"/>\n";
$xml .= " <param name=\"reverse-auth-pass\" value=\"" . $row['password'] . "\"/>\n";
//voicemail settings
$xml .= " <param name=\"vm-a1-hash\" value=\"" . $vm_a1_hash. "\"/>\n";