Ensure that the follow me data is added to the db correctly.
This commit is contained in:
parent
fcad8599bb
commit
377dfb9d7e
|
|
@ -270,13 +270,19 @@ include "root.php";
|
|||
if (count($result) > 0) {
|
||||
foreach ($result as &$row) {
|
||||
//$cid_name_prefix = $row["cid_name_prefix"];
|
||||
$follow_me_uuid = $row["follow_me_uuid"];
|
||||
$this->call_prompt = $row["call_prompt"];
|
||||
}
|
||||
}
|
||||
unset ($prep_statement);
|
||||
|
||||
//update the extension
|
||||
//is follow me enabled
|
||||
if ($this->follow_me_enabled == "true") {
|
||||
//add follow me
|
||||
if (strlen($follow_me_uuid) == 0) {
|
||||
$this->follow_me_add();
|
||||
}
|
||||
//set the extension dial string
|
||||
$sql = "select * from v_follow_me_destinations ";
|
||||
$sql .= "where follow_me_uuid = '".$this->follow_me_uuid."' ";
|
||||
$sql .= "order by follow_me_order asc ";
|
||||
|
|
|
|||
Loading…
Reference in New Issue