mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fixed problem with accountcode not passing in SIP Header
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
Contributor(s):
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
|
||||
Errol Samuels <voiptology@gmail.com>
|
||||
|
||||
*/
|
||||
include "root.php";
|
||||
|
||||
@@ -68,7 +70,7 @@ include "root.php";
|
||||
$dial_string .= ",domain=".$_SESSION['domain_name'];
|
||||
$dial_string .= ",extension_uuid=".$this->extension_uuid;
|
||||
if (strlen($this->accountcode) > 0) {
|
||||
$dial_string .= ",accountcode=".$this->accountcode;
|
||||
$dial_string .= ",sip_h_X-accountcode=".$this->accountcode;
|
||||
}
|
||||
|
||||
if (strlen($this->forward_caller_id_uuid) > 0){
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
|
||||
Salvatore Caruso <salvatore.caruso@nems.it>
|
||||
Riccardo Granchi <riccardo.granchi@nems.it>
|
||||
Errol Samuels <voiptology@gmail.com>
|
||||
*/
|
||||
include "root.php";
|
||||
|
||||
@@ -372,7 +373,7 @@ include "root.php";
|
||||
}
|
||||
|
||||
if (strlen($this->accountcode) > 0) {
|
||||
$dial_string .= ",accountcode=".$this->accountcode;
|
||||
$dial_string .= ",sip_h_X-accountcode=".$this->accountcode;
|
||||
}
|
||||
$dial_string .= "}";
|
||||
$x = 0;
|
||||
|
||||
Reference in New Issue
Block a user