How to add an Extension from my module?

Hello,

I want to add an extension from my module, what should I do? Just insert a new row in asterisk.devices table?

My module (some part) needs to run sometimes, without Freepbx running, so I have to access mysql tables directly.

Thanks for any suggestion.

It doesn’t work that way. Far more complicated.

It all depends on what type of extension. The FreePBX framework exposes the technology modules.

You also have to address constructing the astdb entries, VM tables etc.