How to add a new section in Device option (Freepbx extension)

Hi,

I would like to know how to add a new section in Device Option such as accountcode.
I need to add the new option “defaultuser” for special use case.
I saw a module called accountcodepreserve and I was wondering if it was not possible to add the new option defaultuser like this module.

Can somebody guide me please?

Thanks in advance

I found.

I have to modify the file /var/www/html/admin/modules/core/functions.inc.php

Thanks