summaryrefslogtreecommitdiff
path: root/pjsip
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2014-03-06 01:00:11 +0000
committerLiong Sauw Ming <ming@teluu.com>2014-03-06 01:00:11 +0000
commitda94a4be035b1a79e759177a198edbde253d5337 (patch)
tree4fa48d66143cd436adff54341ac856658676c3b4 /pjsip
parent0930be14e223c23242676c3a2f2ef71e0ef99568 (diff)
Re #1742 (misc): Fixed incorrect checking of require_100rel configuration
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4779 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip')
-rw-r--r--pjsip/src/pjsua-lib/pjsua_call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c
index db8bfa11..35e50a03 100644
--- a/pjsip/src/pjsua-lib/pjsua_call.c
+++ b/pjsip/src/pjsua-lib/pjsua_call.c
@@ -420,7 +420,7 @@ on_make_call_med_tp_complete(pjsua_call_id call_id,
/* Create the INVITE session: */
options |= PJSIP_INV_SUPPORT_100REL;
- if (acc->cfg.require_100rel)
+ if (acc->cfg.require_100rel == PJSUA_100REL_MANDATORY)
options |= PJSIP_INV_REQUIRE_100REL;
if (acc->cfg.use_timer != PJSUA_SIP_TIMER_INACTIVE) {
options |= PJSIP_INV_SUPPORT_TIMER;