]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: qualify/unqualify added/deleted realtime endpoints 32/3732/2
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 19:02:05 +0000 (15:02 -0400)
commit308a65fe6c21da8508bd631f77d64bb4e9517845
tree149f3770422a2f963745b231d46fc9706d0bc582
parent4e5b930d3fa11012513a1ba37d2cf7c0068b6407
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