]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: qualify/unqualify added/deleted realtime endpoints 66/3766/1
authorAlexei Gradinari <alex2grad@gmail.com>
Fri, 26 Aug 2016 15:39:11 +0000 (11:39 -0400)
committerAlexei Gradinari <alex2grad@gmail.com>
Tue, 30 Aug 2016 20:59:21 +0000 (15:59 -0500)
commit411efb975465d3550175875f90d7ef0a3eaa6c48
tree2c017297978e86c22be3854313982482be4833a9
parenta220f40cfe2ece8a1bbf3244d40378f1dd6343d7
res_pjsip: qualify/unqualify added/deleted realtime endpoints

If the PJSIP endpoint's AOR with the permanent contact
was deleted from the realtime storage the res_pjsip module
continues trying to qualify this contact.
The error 'Unable to find an endpoint to qualify contact'
appeares every 'qualify_frequency' seconds.
This patch deletes this contact in this case.

The PJSIP endpoint's AOR with the permanent contact
is never qualified if it is added to realtime storage
after asterisk started.
This patch adds qualifying for the AOR's permanent contacts
on the first handling of this AOR.

ASTERISK-26319 #close

Change-Id: Ib93dded9121edb113076903d1aa95402f799f8fe
res/res_pjsip/pjsip_options.c