Update call_forward.php

Add 'sip:' as shown in the 1884 pull request.
This commit is contained in:
FusionPBX
2016-09-01 22:31:23 -06:00
committed by GitHub
parent b9305f0f1b
commit e4378193ec

View File

@@ -76,7 +76,7 @@ include "root.php";
$dial_string .= ",domain=".$_SESSION['domain_name'];
$dial_string .= ",extension_uuid=".$this->extension_uuid;
$dial_string .= ",toll_allow='".$this->toll_allow."'";
$dial_string .=",sip_h_Diversion=<".$this->extension."@".$_SESSION['domain_name'].">;reason=unconditional";
$dial_string .=",sip_h_Diversion=<sip:".$this->extension."@".$_SESSION['domain_name'].">;reason=unconditional";
if (strlen($this->accountcode) > 0) {
$dial_string .= ",sip_h_X-accountcode=".$this->accountcode;
$dial_string .= ",accountcode=".$this->accountcode;