Database and asterisk


I got some database related questions:

  • If a realtime database backend is used for pjsip configuration (like in Setting up PJSIP Realtime - Asterisk Project - Asterisk Project Wiki), is it then possible to add/remove users without restarting asterisk?

  • Is there a way to use an custom schema / write custom database queries? The only DB schema documentation I found so far are the Alembic generated structures.

  • And finally is it possible to write a query to fetch inbound caller information from an external database using a custom query? E.g. from an CRM to see the calling numbers name .


I’m not sure what “user” means. Even with .conf files, its is possible to add and remove endpoints and extensions without a restart; that is what FreePBX does.

I don’t think that the call state is ever on disk. The traditional way of getting this to a CRM is through AMI.

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