FATAL ERROR when trying to create new extension

Hi guys. Can you help me with such trouble: when I try to create new extension, freepbx return me an error
FATAL ERROR

INSERT INTO users (extension,password,name,voicemail,ringtimer,noanswer,recording,outboundcid,sipname,noanswer_cid,busy_cid,chanunavail_cid,noanswer_dest,busy_dest,chanunavail_dest) values (“5011”, “”, “5011”, “novm”, “0”, “”, “”, “”, “”, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’) [nativecode=1305 ** PROCEDURE asterisk.Maximum_user_limit_exceeded does not exist]SQL -

INSERT INTO users (extension,password,name,voicemail,ringtimer,noanswer,recording,outboundcid,sipname,noanswer_cid,busy_cid,chanunavail_cid,noanswer_dest,busy_dest,chanunavail_dest) values (“5011”, “”, “5011”, “novm”, “0”, “”, “”, “”, “”, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’)

Trace Back

/var/www/html/admin/libraries/sql.functions.php:25 die_freepbx()
[0]: INSERT INTO users (extension,password,name,voicemail,ringtimer,noanswer,recording,outboundcid,sipname,noanswer_cid,busy_cid,chanunavail_cid,noanswer_dest,busy_dest,chanunavail_dest) values (“5011”, “”, “5011”, “novm”, “0”, “”, “”, “”, “”, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’) [nativecode=1305 ** PROCEDURE asterisk.Maximum_user_limit_exceeded does not exist]SQL - <br /> INSERT INTO users (extension,password,name,voicemail,ringtimer,noanswer,recording,outboundcid,sipname,noanswer_cid,busy_cid,chanunavail_cid,noanswer_dest,busy_dest,chanunavail_dest) values (“5011”, “”, “5011”, “novm”, “0”, “”, “”, “”, “”, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’)

/var/www/html/admin/modules/core/functions.inc.php:5552 sql()
[0]: INSERT INTO users (extension,password,name,voicemail,ringtimer,noanswer,recording,outboundcid,sipname,noanswer_cid,busy_cid,chanunavail_cid,noanswer_dest,busy_dest,chanunavail_dest) values (“5011”, “”, “5011”, “novm”, “0”, “”, “”, “”, “”, ‘’, ‘’, ‘’, ‘’, ‘’, ‘’)

/var/www/html/admin/modules/core/functions.inc.php:7294 core_users_add()
[0]:

/var/www/html/admin/libraries/components.class.php:448 core_users_configprocess()
[0]: extensions

/var/www/html/admin/config.php:273 component-&gt;processconfigpage()


FreePBX 2.11.0.43
Asterisk (Ver. 11.8.0)
PHP Version 5.3.3
Apache/2.2.15 (CentOS)

Unfortunately this setup is completely unsupported. FreePBX 2.11 hasn’t been supported for over 6 years. I’m not sure what could be done for this here.

Maybe someone have seen before this error. Or maybe someone can explain is it mysql error or php.

That procedure does not exist. It is a MySQL error. So some how that procedure got removed from the MySQL structure and it is being called on when adding users.

You could trying re-downloading and installing the Core/Framework modules to see if that solves the issue. If it doesn’t, then you might to need to explore professional options.

Maybe there is a way to insert this mysql procedure through mysql console?

Sure there is but you would need to know what the procedure is to insert it. Which means you would have to dig through old repos for the 2.11 code to get the exact procedure statement for the proper version of the module you are running.

If you have the skills for that, that’s your solution. If you don’t, explore professional options or look at upgrading to something current.

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