[Asterisk-code-review] res pjsip mwi: update unsolicited MWI subscriptions on updat... (asterisk[13])
Alexei Gradinari
asteriskteam at digium.com
Fri Jun 16 18:35:42 CDT 2017
Hello Jenkins2,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/5875
to look at the new patch set (#3).
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, 38 insertions(+), 31 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/75/5875/3
--
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: 3
Gerrit-Owner: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Jenkins2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170616/cbff4819/attachment.html>
More information about the asterisk-code-review
mailing list