diff options
author | Richard Mudgett <rmudgett@digium.com> | 2017-08-15 11:14:20 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2017-08-15 11:22:35 -0500 |
commit | d0f6892dff6bf8d8ccf958c44c7be24bb1e1a6c5 (patch) | |
tree | b0ebdead08fa02846735a68c0c860f06db0e8f15 /main/ast_expr2.h | |
parent | 4e11c2192fafaa572b8a984eef2212addf907f78 (diff) |
res_pjsip: Fix prune_on_boot to remove only contacts for the host.
* Check that the contact's reg_server matches the host's name before
deleting any prune_on_boot contacts. We don't want to delete reliable
transport contacts made with other servers if the ps_contacts database
table is shared with other servers.
Thanks to Ross Beer for pointing out that the original prune logic would
delete reliable transport contacts from other servers.
ASTERISK-27147
Change-Id: I8e439d0d1c266ffdfd7b73d1e5e466180a689bd0
Diffstat (limited to 'main/ast_expr2.h')
0 files changed, 0 insertions, 0 deletions