I’ve been able to get a 7961 + 7914 working with SIP by experimenting with the SIPmac.cnf.xml file and latest 7914 firmware.
Basic functionality is working with PIAF 2.0.6.2.2 + Asterisk 1.8.8.0 and it looks like it’s as simple as adding more lines to the phone and a firmware load file entry.
My goal is to create an addition to the EPM that properly configures the Cisco 79x1G + 7914 add-on module.
I’ve created a new directory under _ep_phone_modules/endpoint/cisco called 79x1Gw7914, cloned the 79x1G files and edited to support the 79x1/7914 combo as I found works. I edited cisco/brand_data.xml to add a new with unique 7 and new directory 79x1Gw7914.
I then created a new “Cisco” .tgz package with ark pulling the complete cisco directory tree. Using the Manual Endpoint Modules Upload/Export feature, I entered my new file in the Brand Package field and hit “Upload”. I enabled the new 7961G+7914 in teh End Point Configuration Manager. Now I can see my new within the Cisco brand.
My problem is when I choose the new in the drop-down, press the Select button, all the FreePBX frames go away and all I see are a white background with the Endpoint Manager and links frame displayed in the browser default font.
My php error log is set to freepbx.log. Nothing shows up when doing a tail -f and selecting the new
Switching over to the Endpoint Device List, I can select the new family for a device, and it shows the expected 20 lines available, but trying to save it produces a blank screen and {PHP-NOTICE} (/var/www/html/admin/modules/endpointman/includes/devices_manager.inc.262) - Undefined offset: 1. This is repeated for line 265 and 269 and the 3 repeated multiple times.
Checking the mySQL DB, I can see that the new family 97941+7914 and 7961+7914) is in the endpoint_model_list table with the correct line counts.
Clearly, something’s not quite right with the new config files and some mySQL interaction that’s causing the dynamic pages to not render correctly. I can click on the EPM links that still display and get back to the usual web page look/feel and access the other phone templates just fine. The “Learn How to Create your own brand package here: http://www.provisioner.net/adding_new_phones” is a “landing page” with no instructions, so I’ve been taking calculated guesses on this.
I’m at a loss on how to further debug it as the level of PHP in the EPM is well beyond my knowledge level.
Trying something simpler so I can continue my testing of the 7961+7914, I modified the DB for the existing 79x1G templates to have 20 lines for a 7961G and this now shows on the EPM. I can continue testing with the modified 79x1G but at some point I’d like to get a more portable solution for others to use.
Any ideas on how to get this better plugged in?