Sangoma RT API adds an AMI user called srtapi_amidefault
which subscribes to all manager events and leaves dozens of connections open to Asterisk.
After a while, this condition eats up Asterisk and drives system load through the roof and causes the system to perform poorly.
fwconsole pm2 --restart sangomartapi
closes all the manager connections and relieves the situation for a day.
Something’s buggy, keeping all those connections open. But beyond that, I’m trying to understand the purpose of this AMI user which subscribes to the entire suite of events, especially considering there are more tightly scoped srtapi manager users present, e.g. sangomartapi_conference
, srtapi_queue_events
etc.
Anyone have insight? How can I optimize this?