[Home]

Summary:ASTERISK-23285: PJSIP: Correct MWI behavior when mailboxes are specified for an endpoint and AOR
Reporter:Mark Michelson (mmichelson)Labels:
Date Opened:2014-02-12 10:36:07.000-0600Date Closed:2015-03-14 10:35:09
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_pjsip_mwi
Versions:12.0.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:In pjsip.conf, mailboxes can be set on an endpoint and on an AOR. The idea is that if you set mailboxes on an endpoint, then the endpoint will received unsolicited MWI. If you set mailboxes on the AOR, then endpoints that subscribe to MWI at that AOR will receive solicited MWI updates for the configured mailboxes.

If you were to set the same set of mailboxes on an endpoint and on an AOR, and the endpoint were to subscribe to MWI at that AOR, then the endpoint will receive both solicited and unsolicited MWI notifications when the mailboxes' states change.

Ideally what would happen is that if there is overlap between the set of mailboxes on an endpoint and the set of mailboxes on an AOR that the endpoint has subscribed to, then when the subscription is activated, the unsolicited MWI notifications for the common mailboxes should stop. If the subscription is deactivated, then the unsolicited MWI would resume. If unsolicited MWI for an endpoint is aggregated, then...um...well...we could either kill the entire unsolicited notification, or we could opt to not include the subscribed mailbox count into the unsolicited aggregated notification. Probably the first option is better.
Comments: