]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_mwi: update unsolicited MWI subscriptions on updating contact
authorAlexei Gradinari <alex2grad@gmail.com>
Fri, 16 Jun 2017 23:08:30 +0000 (19:08 -0400)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 21 Jun 2017 23:21:57 +0000 (18:21 -0500)
commit0f6a9617eb44a8d59b5828cd860d3852cc824ce9
tree34b9a7bcf990dffa6ea2e0f4450da1b8db2dc30d
parentbd9d72793d4ec2894d20d7ce08efb96f4188e188
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
res/res_pjsip_mwi.c