follow me and forward now have balancing support

This commit is contained in:
luis daniel lucio quiroz
2013-12-18 02:04:32 +00:00
parent fcae44a0d7
commit 362955150e
3 changed files with 6 additions and 5 deletions

View File

@@ -22,6 +22,7 @@
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
Luis Daniel Lucio Quiroz <daniel.lucio@astraqom.com>
*/
include "root.php";
@@ -64,7 +65,7 @@ include "root.php";
}
$dial_string .= "}";
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 {
$bridge = outbound_route_to_bridge ($_SESSION['domain_uuid'], $this->forward_all_destination);
@@ -104,4 +105,4 @@ include "root.php";
} //function
} //class
?>
?>