I have an Asterisk server installed with Version 16.7.0 and I have two applications connect with my asterisk with two different manager users. But what is happening is, my both asterisk manager is listening to all the asterisk events. Am inititing the call from both Asterisk AMI user(like admin,admin1) both manger listen the all calls.
Can we have some kind of filter based on the asterisk manger user ? or any better idea or suggestions ?
What i wanted to acived is like admin AMI user should not be able to listen the call initated by the admin1 AMI user.
The only filtering that exists is for specific events[1] or types[2], there is no per-user scoping or anything. Such functionality would need to be implemented externally, such as in an AMI proxy.
Well I generally achieve this by filtering relevant events based on the account code or something. Definitely the event needs to be parsed in such cases, but you can discard the event of the account code doesn’t match the pattern you are looking.
But couldn’t find anything that would filter on basis of calls initiated by a particular manager.