diff options
author | Richard Mudgett <rmudgett@digium.com> | 2016-08-29 18:08:22 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2016-09-09 17:09:54 -0500 |
commit | 30af92e78d36523f8012da5eb9aee16687d8fe61 (patch) | |
tree | 1f84280f76613282c8a81dc9b7aaf2b738201dfa /configs/samples | |
parent | 7580a736bb30577d7557aac9165894dc9f9583e6 (diff) |
res_pjsip: Add ignore_uri_user_options option.
This implements the chan_sip legacy_useroption_parsing option but with a
better name.
* Made the caller-id number and redirecting number strings obtained from
incoming SIP URI user fields always truncated at the first semicolon.
People don't care about anything after the semicolon showing up on their
displays even though the RFC allows the semicolon.
ASTERISK-26316 #close
Reported by: Kevin Harwell
Change-Id: Ib42b0e940dd34d84c7b14bc2e90d1ba392624f62
Diffstat (limited to 'configs/samples')
-rw-r--r-- | configs/samples/pjsip.conf.sample | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/samples/pjsip.conf.sample b/configs/samples/pjsip.conf.sample index 994c8e01c..8d063f4fd 100644 --- a/configs/samples/pjsip.conf.sample +++ b/configs/samples/pjsip.conf.sample @@ -979,6 +979,22 @@ ; If disabled then unsolicited mwi will start processing ; on the endpoint's next contact update. +;ignore_uri_user_options=no ; Enable/Disable ignoring SIP URI user field options. + ; If you have this option enabled and there are semicolons + ; in the user field of a SIP URI then the field is truncated + ; at the first semicolon. This effectively makes the semicolon + ; a non-usable character for PJSIP endpoint names, extensions, + ; and AORs. This can be useful for improving compatability with + ; an ITSP that likes to use user options for whatever reason. + ; Example: + ; URI: "sip:1235557890;phone-context=national@x.x.x.x;user=phone" + ; The user field is "1235557890;phone-context=national" + ; Which becomes this: "1235557890" + ; + ; Note: The caller-id and redirecting number strings obtained + ; from incoming SIP URI user fields are always truncated at the + ; first semicolon. + ; MODULE PROVIDING BELOW SECTION(S): res_pjsip_acl ;==========================ACL SECTION OPTIONS========================= ;[acl] |