I wrote a Python package to assist in building the CSV file needed for the Bulk Handler module. The last time I used it (a few months ago) it worked fine. Since then I’ve updated my phone system to the latest version and latest modules. Now my created CSV file no longer works.
I get an error like this:
“SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens File:/var/www/html/admin/libraries/BMO/Database/PDOStatement.class.php:17”
I’ve performed an export and cross-checked that my import CSV file has the same number of fields (columns). I had to add 2 new fields to make that align but I continue to get the same error.
Anyone have a solution for me?
Note: the Python package is in PyPi as freepbx_bulk_handler, if you want to try it out.
It can take a source CSV file of your extensions (and other data related to the extension) and builds a CSV file that will work for importing using the Bulk Handler.
My brother has a charity that has “chapters” that are changing often (some adds, some deletes). Just grabbing a CSV of all the extensions is an easy way for me to update all the frequent changes he makes.
I did read it. My modules are up to date or newer than the online version. I tried enabling edge mode as well. I am not able to get newer module versions.
FreePBX Framework 14.0.8.4
Not sure if it matters but this is a PBXact system
I know I did, three times actually.
Just checked for updates again and still see the same version voicemail module. I have a separate FreePBX system that does show 14.0.6.6, but I am trying to bulk add on a PBXact system
Settings --> Advanced Settings --> Set Module Edge Update to Yes then go back to Module Admin and check online. Upgrade just the VM module and then try the bulk handler
fwconsole ma downloadinstall voicemail --tag=14.0.6.6
One more thing: I remember reading here, that PBXact users can only install modules that have a QA Pass. Looking at the ticket that was posted here, it seems that it only has a QA Review, not a pass. Not sure if it’s related to this…
Enabling edge mode and upgrading the voicemail module to 15.0.18.7 fixed the issue for me. See FREEPBX-20460 which is fixed in 15.0.18.7 of the module.