mainenotarynet
Not really a Guru - Just a long time user
- Joined
- May 29, 2010
- Messages
- 754
- Reaction score
- 155
I know I 'complained' about this module befor but now it is just one error that keeps coming up.
The function that causes it (by the line number and where it is) is below
I added notes to what is happening. Did 13.13 break the database but the export didn't?
I REALLY do NOT want to hand enter 148 Extensions, and I may be starting a new server for another group I am part of (they have two - I would be a third (HHC - Main one | HHX is other than Cisco phones | HHP - mine for unlicensed people to tie to these other two) - and if things go south I would not want to enter all these again either.
Is there anything I can do or does anyone have a clue as to what is wrong here.
Side Note -- my Port Knocker keeps shutting down, (I am on Hiformance which uses Venet0:0 what was the command AND file to add it to to fix the interface on PortKnocker?
The function that causes it (by the line number and where it is) is below
Code:
public function generateDefaultDeviceSettings($tech,$number,$displayname,&$flag = 2) {
$flag = !empty($flag) ? $flag : 2;
$dial = '';
$settings = array();
//Ask our tech if it has default settings
if(isset($this->drivers[$tech])) {
$settings = $this->drivers[$tech]->getDefaultDeviceSettings($number, $displayname, $flag);
if(empty($settings)) {
return array();
}
}
$gsettings = array(
"devicetype" => array(
"value" => "fixed"
), <-- This is 1435
"user" => array(
"value" => $number
),
"description" => array(
"value" => $displayname
),
"emergency_cid" => array(
"value" => '',
),
"dial" => array( <-- this is the index it cannot find but Ext 701 adds the field to the exported csv file.
"value" => $settings['dial']."/".$number, <-- Ext 701 has this a SIP/701 -- 701 goes through but stops at record 2 at same point but does add it but won't do record 3.
"flag" => $flag++
),
"secret" => array(
"value" => $this->generateSecret(),
"flag" => $flag++
),
"context" => array(
"value" => "from-internal",
"flag" => $flag++
),
"mailbox" => array(
"value" => $number."@device",
"flag" => $flag++
),
"account" => array(
"value" => $number,
"flag" => $flag++
),
"callerid" => array(
"value" => "device <".$number.">",
"flag" => $flag++
)
);
return array_merge($settings['settings'],$gsettings);
}
I added notes to what is happening. Did 13.13 break the database but the export didn't?
I REALLY do NOT want to hand enter 148 Extensions, and I may be starting a new server for another group I am part of (they have two - I would be a third (HHC - Main one | HHX is other than Cisco phones | HHP - mine for unlicensed people to tie to these other two) - and if things go south I would not want to enter all these again either.
Is there anything I can do or does anyone have a clue as to what is wrong here.
Side Note -- my Port Knocker keeps shutting down, (I am on Hiformance which uses Venet0:0 what was the command AND file to add it to to fix the interface on PortKnocker?