Summary:ASTERISK-13895: FOR ALL VERSIONS: Add for all events, always a context param
Reporter:german aracil boned (tecnoxarxa)Labels:
Date Opened:2009-04-04 12:03:52Date Closed:2011-06-07 14:07:28
Versions:Frequency of

Event: Unlink
Privilege: call,all
Channel1: SIP/
Context1: pbx28
Channel2: SIP/zspico_pbx28-0875d880
Context2: pbx28
Uniqueid1: node1-1238765629.42
Uniqueid2: node1-1238765629.43
CallerID1: 676469641
CallerID2: 203

Now, exist events without send context param for notify. This is a great problem if own asterisk have more of one, pbx contexts. Because, All users can get all. If Own use a astmanproxy (with little changes), Own can filter by user and pass, and more important, by context. Filtering messages for all users by context.


Asterisk only need, little changes. Add to channel.c and other files, Context: param for send notify event.

With this, Own only need an Astmanproxy (or other) for filter and resend to users, only data needed.

Idea: Normalize sending events, add for all context param. (Inlusive queue events, because queue have a context)

If in one event, exist more of one, channel, I send All contexts. See sample.

I think, this is not a problem for current software like ami services.
Comments:By: Joshua C. Colp (jcolp) 2009-05-21 08:24:01

This issue appears to be a feature request for some changes to manager events. Since there is no patch attached with it I am suspending this for now. Once you have a patch feel free to reopen it.