[Asterisk-code-review] res pjsip mwi: update unsolicited MWI subscriptions on updat... (asterisk[13])

Alexei Gradinari asteriskteam at digium.com
Fri Jun 16 18:30:08 CDT 2017


Alexei Gradinari has uploaded a new patch set (#2). ( https://gerrit.asterisk.org/5875 )

Change subject: res_pjsip_mwi: update unsolicited MWI subscriptions on updating contact
......................................................................

res_pjsip_mwi: update unsolicited MWI subscriptions on updating contact

Do not need to unsubscribe/subscribe on creating the ednpoint's contact.
The modified function create_mwi_subscriptions_for_endpoint adds
the subscription only if it does not exist.

The subscriptions aren't added for active contacts
which are retrieved on startup from realtime
if mwi_disable_initial_unsolicited=yes.
Because the mwi_contact_added is not called.
So the subscriptions also should be created on updating contact.

ASTERISK-26230 #close

Change-Id: I47e265af9296ca09aa42a316fdacac104148cee4
---
M res/res_pjsip_mwi.c
1 file changed, 28 insertions(+), 30 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/75/5875/2
-- 
To view, visit https://gerrit.asterisk.org/5875
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I47e265af9296ca09aa42a316fdacac104148cee4
Gerrit-Change-Number: 5875
Gerrit-PatchSet: 2
Gerrit-Owner: Alexei Gradinari <alex2grad at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170616/9d6e7e41/attachment.html>


More information about the asterisk-code-review mailing list