Can I create multiple tables in Asterisk real time?

Hi,

Is it possible to create multiple tables for sip peers and extensions in Asterisk real time? If so, how to tell to Asterisk in extensions.conf file?

Thanks in advance.

Regards,
Mouli

It is bad security practice for the device names to match extensions.

For multi-tenanted arrangements, you should have different contexts for each tenant with the extension number Dialing a different device name in each.

Hello David,

Thanks for your reply. I won’t give as you said. I am asking about the tables. I must have one table only or Is that okay If I create multiple tables?

Current extconfig.conf:

[settings]
sipusers => mysql,general,sipuserstable1
sippeers => mysql,general,sipuserstable1
extensions => mysql,general,sipextensionstable1

My proposed extconfig.conf:

[settings]
sipusers => mysql,general,sipuserstable1,sipuserstable2,sipuserstable3
sippeers => mysql,general,sipuserstable1,sipuserstable2,sipuserstable3
extensions => mysql,general,sipextensionstable1,sipextensionstable2,sipextensionstable3

My proposed extconfig.conf is possible or not? If correct, the above syntax is correct or not? If not, what would be the correct syntax?

Thank you.

Regards,
Mouli

Any update would be appreciated.

Thank you.