]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip_options.c: Allow immediate qualifies for new contacts.
authorBen Ford <bford@digium.com>
Tue, 7 May 2019 16:08:33 +0000 (11:08 -0500)
committerBenjamin Keith Ford <bford@digium.com>
Tue, 7 May 2019 16:26:19 +0000 (10:26 -0600)
commit86836e0442527e683c723b9b02fdec07c0d21c91
tree39aee5bdc58353609a3c6d5ebe101dd0ead5572f
parentfca9f0a4adeba6ef3994f17cc46ece420d501b24
pjsip_options.c: Allow immediate qualifies for new contacts.

When multiple endpoints try to register close together using the same
AOR with qualify_frequency set, one contact would qualify immediately
while the other contacts would have to wait out the duration of the
timer before being able to qualify. Changing the conditional to check
the contact container count for a non-zero value allows all contacts to
qualify immediately.

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