Not sure I fthis is thr correct place but I am wondering what is the process for requesting a code update to a PHP module for FreePBX. In the bulkhandler module there is Bulkimport.class.php which currently works for importing DIDs and Extensions. I was looking for a way to import contacts and found that this can be done using fwconsole bulkimport if I added the following to Bulkimport.class.php inside the switch statement under “protected function execute(InputInterface $input, OutputInterface $output)”
case 'contacts': $output->writeln('Importing contacts'); $ret = \FreePBX::Bulkhandler()->import('contacts', $data, $replace); break;
Than I can call: fwconsole bulkimport --type=contacts contacts.csv --replace
I create the contacts.csv from a script running from crontab which pulls data from Active Directory and I use to populate the phonebook on the enduser phones.
The problem is this changes the signature and I get the red security warnig bar, I would like to avoid this.