]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_mwi: remove unneeded check on endpoint's contacts. 10/3210/1
authorAlexei Gradinari <alex2grad@gmail.com>
Thu, 14 Jul 2016 23:06:34 +0000 (19:06 -0400)
committerAlexei Gradinari <alex2grad@gmail.com>
Thu, 14 Jul 2016 23:06:34 +0000 (19:06 -0400)
commitcb58f853e1bccb1b9ba1df458234052fc14c822f
tree35b74914e6b10574a48645acb162e95f0ed367ce
parent714ceb88dfcb7d5763688793aadf601be2f5756d
res_pjsip_mwi: remove unneeded check on endpoint's contacts.

The function create_mwi_subscriptions_for_endpoint checks
if there is active contacts by retrieving aors and contacts.

This function is used to create all unsolicited mwi subscriptions
on startup and is used when contact added.

In both cases it's not necessary to check if there are contacts.
The contacts are needed when asterisk sends mwi.

ASTERISK-26200 #close

Change-Id: I98e43bdc97f3c0829951cd9bf5f3c6348c6ac1fa
res/res_pjsip_mwi.c