diff options
author | Kevin Harwell <kharwell@digium.com> | 2017-12-07 18:22:34 -0600 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2017-12-07 18:40:24 -0600 |
commit | 6d8d7542588b69eadc8dba410747d1b59e4da8a0 (patch) | |
tree | e779ba3b8e045a4f23082522361173afade5af73 /utils/conf2ael.c | |
parent | 52de5a05f0f6bf534c0642a4f43daa562b5b9004 (diff) |
pjsip_options: contacts sometimes not being updated on reload
For both dynamic and static contacts it was possible that potential AOR
changes were not being applied to all contacts. This was because the qualify
and schedule code was only retrieving AOR's, and contacts with frequencies
greater than zero.
For instance the following could happen: and AOR/contact has a frequency of 5,
it then gets set to 0, and then a reload occurs. All scheduled OPTIONS are
stopped, a list of AOR's is retrieved with frequency > 0, but none are
selected since in this scenario all are 0. The contact for the one previously
set to 5 though does not get updated, so it's status remains "AVAILABLE".
This patch makes it so all contacts (static and dynamic) are selected, and
appropriately updated if need be.
ASTERISK-27467 #close
Change-Id: I7a920170f89c683af9505d4723a44fc6841decdb
Diffstat (limited to 'utils/conf2ael.c')
0 files changed, 0 insertions, 0 deletions