summaryrefslogtreecommitdiff
path: root/res/res_pjsip.c
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2015-04-06 19:23:08 +0000
committerKevin Harwell <kharwell@digium.com>2015-04-06 19:23:08 +0000
commit2270c40d33827a605b500e7afe01be9976b1f5e0 (patch)
treed4a2a1f6d912ed15951d397b8ed5972f5f1b7da9 /res/res_pjsip.c
parent95de71f2475f49ab8d0c7e9d93d5147847e0c010 (diff)
res_pjsip: config option 'timers' can't be set to 'no'
When setting the configuration option 'timers' equal to 'no' the bit flag was not properly negated. This patch clears all associated flags and only sets the specified one. pjsip will handle any necessary flag combinations. Also went ahead and did similar for the '100rel' option. ASTERISK-24910 #close Reported by: Ray Crumrine Review: https://reviewboard.asterisk.org/r/4582/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@434131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip.c')
-rw-r--r--res/res_pjsip.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c
index e632817d5..6fc14774f 100644
--- a/res/res_pjsip.c
+++ b/res/res_pjsip.c
@@ -347,10 +347,11 @@
<synopsis>Session timers for SIP packets</synopsis>
<description>
<enumlist>
- <enum name="forced" />
<enum name="no" />
- <enum name="required" />
<enum name="yes" />
+ <enum name="required" />
+ <enum name="always" />
+ <enum name="forced"><para>Alias of always</para></enum>
</enumlist>
</description>
</configOption>