SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-maxchans' for key 'PRIMARY'

Hello, Recently my PJSIP trunk all of a sudden got deleted and when I attempted to submit a new PJSIP trunk I get this error, SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘1-maxchans’ for key ‘PRIMARY’
I am running FreePBX on Ubuntu 22.04, my FreePBX Version is 16.0.40.4, and my Asterisk Version is 20.4.0.

Look at the database and see if the trunk entry is still there. If it is, delete it and reload your dialplan.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.