Solved V18.0 Impossible to edit phone details

Status
Not open for further replies.

adigit

Bronze Partner
Advanced Certified
Joined
Apr 12, 2010
Messages
4
Reaction score
3
Hi,

Snce the last update to V18.0, it's impossible to edit phones details and extensions details (but not all) we get this error message :
Internal Server Error(500)
Object reference not set to an instance of an object.

It seems to happen on extensions with 2 phones (app + reel phone) and they corresponding phones ???

Thanks
 
  • Like
Reactions: George Spiceland
If you have Custom Templates, they are most likely causing this. A way to try and resolve this is:
  1. From the filesystem, go to following folder
    /var/lib/3cxpbx/Instance1/Data/Http/Interface/provisioning/<random folder name>/CustomTemplates/phones
  2. Edit each file in this folder and check if there is a "<AllowedNetworkConfig>" section in the template (it should be close to the begining of the file). Example:
    1629104606242.png
  3. If there isn't add the following section:
    Code:
        <AllowedNetworkConfig>
            <option value="LOCALLAN">1</option>
            <option value="REMOTESTUN">0</option>
            <option value="SBC">0</option>
        </AllowedNetworkConfig>
    It should be placed in the declaration section towards the start of the file (check screenshot above)
  4. Save the file and repeat steps 2-4 for all files in the directory
  5. Restart the Management Console service, then try again.
 
Hi,
These 3 lines were not present in one custom template that is not use but after adding them everything work fine again !!!

Thank you
 
  • Like
Reactions: George Spiceland
Just wanted to say that this was a huge help to me as well, I was having exactly the same issue and this fix was 100% the resolution for what the problem was.
 
Glad we could help! :)

Although these lines should have always been present in the templates since V14, we are planning to fix this so that at least the extensions are editable, even if you do have a template that is 'invalid'.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet