Follow-me Dialstring Bugfix (#4055)

Set the follow-me dial_string so the sofia_contact will work with multiple SIP profiles.
This commit is contained in:
konradSC
2019-04-24 10:57:02 -04:00
committed by FusionPBX
parent 8d543c9b21
commit cf6ec78beb

View File

@@ -360,7 +360,7 @@ include "root.php";
$variables[] = "originate_delay_start=".$row["follow_me_delay"];
$variables[] = "leg_timeout=".$row["follow_me_timeout"];
$dial_string .= "[".implode(",", $variables)."]\${sofia_contact(".$row["follow_me_destination"]."@".$this->domain_name.")}";
$dial_string .= "[".implode(",", $variables)."]\${sofia_contact(*/".$row["follow_me_destination"]."@".$this->domain_name.")}";
//$dial_string .= "[".implode(",", $variables)."]user/".$row["follow_me_destination"]."@".$this->domain_name;
//$dial_string .= "loopback/export:".implode("\,export:", $variables)."\,transfer:".$row["follow_me_destination"]."/".$this->domain_name."/inline";
unset($variables);