[asterisk-dev] Logging and multi-tenancy

Luke Escudé luke at primevox.net
Fri Dec 23 10:47:56 CST 2022


So, it's possible to achieve multi-tenancy in Asterisk with well-designed dial plan. By multi-tenancy, in terms of Asterisk, I mean each "customer" has their own separate dial plan, and each customer cannot "see" another.

However, when it comes to looking at the asterisk CLI/console, you see all the calls flowing across all dial plans, which can be a lot to look at.

What is the possibility of adding some kind of "tenancy filtering" to CLI logging?

Example: At the beginning of a dial plan call, let's say exten => s, we set LoggingTenancy(customer_id), then all of the subsequent log messages are visible in the CLI only if you run the "logging view tenant (x)" or something like this.

That would make it easier to diagnose call issues on high-volume systems.

I, personally, do not have the ability to implement this, but I wanted to put it out there.





Luke Escudé


972.600.1150

support at primevox.net

Schedule a meeting!<https://outlook.office365.com/owa/calendar/PrimeVOXCommunications@primevox.net/bookings/>


View the PrimeVOX R&D Roadmap here<https://trello.com/b/pzpoyn8m/primevox-engineering>
View the PrimeVOX Status Page here<https://status.primevox.net/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20221223/8748ee66/attachment.html>


More information about the asterisk-dev mailing list