From 45456917e2d52847860dad03e2c60719cadd45d5 Mon Sep 17 00:00:00 2001 From: konradSC Date: Wed, 24 Apr 2019 10:57:02 -0400 Subject: [PATCH] Follow-me Dialstring Bugfix (#4055) Set the follow-me dial_string so the sofia_contact will work with multiple SIP profiles. --- app/calls/resources/classes/follow_me.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/calls/resources/classes/follow_me.php b/app/calls/resources/classes/follow_me.php index ef60b1cb1b..c374b1c0dc 100644 --- a/app/calls/resources/classes/follow_me.php +++ b/app/calls/resources/classes/follow_me.php @@ -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);