]> git.ipfire.org Git - thirdparty/asterisk.git/commit
manager: Eliminate unnecessary code, simplify sessions in stasis callbacks
authorJoshua C. Colp <jcolp@sangoma.com>
Mon, 4 May 2026 21:02:38 +0000 (18:02 -0300)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Mon, 11 May 2026 12:53:16 +0000 (12:53 +0000)
commitf3a64f705e1c447201e3ba5bf9a4e13cdb4d0a92
tree54bf76cbd8b1e26e0828018542afc5c5c0406be1
parent176ecdad3cc97437d552d180936faf54c8f2b432
manager: Eliminate unnecessary code, simplify sessions in stasis callbacks

Due to stasis filtering the stasis callback for AMI type messages is
guaranteed to only receive messages that can be turned into AMI events,
so remove the check done in the callback.

The sessions container usage for the stasis callbacks has also been
simplified by having a reference on the message router subscription
instead of having to acquire the sessions from the global object each
time.
main/manager.c