[Asterisk-code-review] res pjsip: Handle pjsip dlg create uas deprecation (asterisk[13])
George Joseph
asteriskteam at digium.com
Wed Feb 10 16:27:00 CST 2016
George Joseph has uploaded a new patch set (#2).
Change subject: res_pjsip: Handle pjsip_dlg_create_uas deprecation
......................................................................
res_pjsip: Handle pjsip_dlg_create_uas deprecation
Pjproject has deprecated pjsip_dlg_create_uas in 2.5 and replaced it with
pjsip_dlg_create_uas_and_inc_lock which, as the name implies, automatically
increments the lock on the returned dialog. To account for this, configure.ac
now detects the presence of pjsip_dlg_create_uas_and_inc_lock and res_pjsip.c
has an #ifdef HAVE_PJSIP_DLG_CREATE_UAS_AND_INC_LOCK to decide whether to use
the original call or the new one. If the new one was used, the ref count is
decremented before returning.
ASTERISK-25751 #close
Reported-by Josh Colp
Change-Id: I1be776b94761df03bd0693bc7795a75682615ca8
---
M configure
M configure.ac
M include/asterisk/autoconfig.h.in
M res/res_pjsip.c
4 files changed, 138 insertions(+), 5 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/36/2236/2
--
To view, visit https://gerrit.asterisk.org/2236
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1be776b94761df03bd0693bc7795a75682615ca8
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: George Joseph <george.joseph at fairview5.com>
More information about the asterisk-code-review
mailing list