3CX 15.5@Linux: Snom provisioning issues

Status
Not open for further replies.

3cxTester2018

Forum User
Joined
Apr 30, 2018
Messages
15
Reaction score
16
Hello to all,

since two days I`m testing the 3cx system and I found several issues.

Snom D765 with recommended FW 8.9.3.88:
If an already registered Snom D765 will be set to factory defaults, it is after that seen as a new phone in the phone section. After adding the provisioning URL in the web config of the phone it will then not be provsioned again until you delete the "new" phone in the phone section.
But then the SIP registering is failing. After deleting the extension and all information and recreating again I still had problems with registering. After some reboots it was working again.
Is this normal if a already registered phone is set to factory defaults?

For accessing the video and door opener URL of a N2 Helios Intercom systems, it would be necessary to have the Action URL and DTMF function keys available in the provisioning section. It would then also be neccessary to have the Action URL available in the 3CX adressbook entry for the N2 Helios. Please see the documentation for that: https://faq.2n.cz/pages/viewpage.action?pageId=59080895
I found the snom.ph.xml file which could be extended for that.
Has anybody played around with this file?
What is the best practice for that to avoid that a modified file will be overwritten with the next update?
Is it possible to have "local" custom templates for that?

How is it possible to add own addressbook fields for e.g. action URL entries?

Snom M700/M85 with recommended FW 04.00/B0002:
Provisioning is not working:
After adding the provisioning URL into the Management section and reboot the M700 I got following errors in the syslog:
loc3 .Info 2018-04-30T15:57:31Z 158-[ RemCfg: Checking for settings]
loc3 .Info 2018-04-30T15:57:31Z 158-[ RemCfg: Attempting fetch of file: http://[IP OF 3CX]/provisioning/[FOLDER]/cfg[FILENAME]]
loc3 .Info 2018-04-30T15:57:31Z 158-[ RemCfg: Error loading file]
loc3 .Info 2018-04-30T15:57:31Z 158-[ RemCfg: Attempting fetch of file: http://[IP OF 3CX]/provisioning/[FOLDER]/cfg[FILENAME]-XYZ]
loc3 .Info 2018-04-30T15:57:32Z 158-[ RemCfg: Error loading file]
loc3 .Info 2018-04-30T15:57:32Z 158-[ RemCfg: Attempting fetch of file: http://[IP OF 3CX]/provisioning/[FOLDER]/cfg[FILENAME]-firmware]
loc3 .Info 2018-04-30T15:57:32Z 158-[ RemCfg: Error loading file]
loc3 .Info 2018-04-30T15:57:32Z 158-[ RemCfg: No setting server offered via SIP PNP]
...
loc3 .Info 2018-04-30T15:57:33Z 158-[ RemCfg: Attempting fetch of file: http://[IP OF 3CX]/provisioning/[FOLDER]/snom_phonebook.xml]
Auth .Info 2018-04-30T15:57:33Z 158-[ No flash certificates found]
loc3 .Info 2018-04-30T15:57:33Z 158-[ RemCfg: Error loading file]

I could download the config file over the web browser.
It is also possible to upload this config file into the M700 without any issue (configuration => upload config => load.
What is going wrong here?

I added two extensions for the M85 handsets, both are not able to register.
What I saw in the SIP log of M700 that the 3CX is not answering REGISTER requests.
For testing purpose I tried to register over TCP and then I got a FORBIDDEN back from 3CX.
Is it not possible to use M700/M85 with 3CX 15.5 at the moment?

One note: I followed the official firmware upgrade step manual from snom.


Thank you in advance.

Regards
Ralf
 
Ok., the M85 registration problem is solved. The reason was that the M700/M85 previously were configured for another PBX. It tried to register with the old SIP IDs which resulted in a IP block.
 
For IP blocking issue I created a rule for this network.

For Snom D765 behavior after resetting to factory defaults I loaded the config manually in the web client of the phone. After that the SIP registration was successfully and all icons are then available.
It seems that an automated provisioning does not overwrite all settings for whatever reason.

For the action_url setting I found a solution. I created a copy of the snom provisioning template (custom template) and added a second phonebook config URL with the name snom_videobook.xml in the provisioning path /var/lib/3cxpbx/Instance1/Data/Http/Interface/provisioning/[directory]/.
In this phonebook there are only the entries for the N2 door stations with the additional action_url entries: <action_url>http://[IP_OF_DOOR_STATION]:[PORT]/enu/snom820-video.xml</action_url>.
In the extension entries of the door stations I deactivated it for the global addressbook because the entries are in the snom_videobook.xml. Additionally I modified the BLF settings of the function keys which I want to use for video surveillance and the door opener like this example:
{IF $blffunc=blfrow}
{IF blf1}
<fkey idx="0" context="active" label="%%label%%" perm="">%%value%%</fkey>
{ELSE}
<fkey idx="0" context="active" label="Video Door 1" perm="">url http://[IP_OF_DOOR_STATION]/enu/snom820-video.xml</fkey>
{ENDIF}

{IF blf2}
<fkey idx="1" context="active" label="%%label%%" perm="">%%value%%</fkey>
{ELSE}
<fkey idx="1" context="active" label="Open Door 1" perm="">url http://[IP_OF_DOOR_STATION]/api/switch/ctrl?switch=1&action=trigger</fkey>
{ENDIF}

This is a workaround because it is hardcoded in the template, but it works as expected until a better solution for that is available.

The last issue is now that I have no global addressbook available on the Snome M85. If I want to load the addressbook I got a connection error.
I have to investigate in that.

Regards
Ralf
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,885
Messages
589,545
Members
164,744
Latest member
johnblackwood1