follow me and forward now have balancing support
This commit is contained in:
parent
342a3fc202
commit
5e75926f34
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
|
Luis Daniel Lucio Quiroz <daniel.lucio@astraqom.com>
|
||||||
*/
|
*/
|
||||||
include "root.php";
|
include "root.php";
|
||||||
|
|
||||||
|
|
@ -64,7 +65,7 @@ include "root.php";
|
||||||
}
|
}
|
||||||
$dial_string .= "}";
|
$dial_string .= "}";
|
||||||
if (extension_exists($this->forward_all_destination)) {
|
if (extension_exists($this->forward_all_destination)) {
|
||||||
$dial_string .= "\${sofia_contact(".$this->forward_all_destination."@".$_SESSION['domain_name'].")}";
|
$dial_string .= "user/".$this->forward_all_destination."@".$_SESSION['domain_name'];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$bridge = outbound_route_to_bridge ($_SESSION['domain_uuid'], $this->forward_all_destination);
|
$bridge = outbound_route_to_bridge ($_SESSION['domain_uuid'], $this->forward_all_destination);
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
|
Luis Daniel Lucio Quiroz <daniel.lucio@astraqom.com>
|
||||||
*/
|
*/
|
||||||
include "root.php";
|
include "root.php";
|
||||||
|
|
||||||
|
|
@ -333,8 +334,7 @@ include "root.php";
|
||||||
}
|
}
|
||||||
$dial_string .= "leg_delay_start=".$row["follow_me_delay"].",";
|
$dial_string .= "leg_delay_start=".$row["follow_me_delay"].",";
|
||||||
$dial_string .= "leg_timeout=".$row["follow_me_timeout"]."]";
|
$dial_string .= "leg_timeout=".$row["follow_me_timeout"]."]";
|
||||||
|
$dial_string .= "user/".$row["follow_me_destination"]."@".$_SESSION['domain_name'].",";
|
||||||
$dial_string .= "\${sofia_contact(".$row["follow_me_destination"]."@".$_SESSION['domain_name'].")},";
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue