]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip_options: handle modification of qualify options in realtime
authorAlexei Gradinari <alex2grad@gmail.com>
Tue, 22 May 2018 21:21:10 +0000 (17:21 -0400)
committerAlexei Gradinari <alex2grad@gmail.com>
Tue, 5 Jun 2018 18:35:02 +0000 (12:35 -0600)
commit5ddca1a4a87ffb138956b0fcfe120dba1cb518d4
tree282bd78510b28cd4130930b706755b1574c2297b
parent1d7ade9bbc5fc229ba89b3896fcd224d7a0dfd28
pjsip_options: handle modification of qualify options in realtime

Currentrly pjsip_options code does not handle the situation when the
qualify options were changed in realtime database.
Only 'module reload res_pjsip' helps.

This patch add a check on contact add/update observers if the contact
qualify options are different than local aor qualify options.
If the qualify options were modified then synchronize
the pjsip_options AOR local state.

ASTERISK-27872

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