Add a dial string to the follow me table

This commit is contained in:
Mark Crane
2014-07-29 09:15:32 +00:00
parent a71f1d26ec
commit b0bbe12d42
3 changed files with 13 additions and 1 deletions

View File

@@ -372,6 +372,14 @@ include "root.php";
$this->dial_string = '';
}
$sql = "update v_follow_me set ";
$sql .= "dial_string = '".$this->dial_string."', ";
$sql .= "where domain_uuid = '".$this->domain_uuid."' ";
$sql .= "and follow_me_uuid = '".$this->follow_me_uuid."' ";
if ($this->debug) {
echo $sql."<br />";
}
$sql = "update v_extensions set ";
$sql .= "dial_string = '".$this->dial_string."', ";
$sql .= "dial_domain = '".$_SESSION['domain_name']."' ";