]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Add ignore_uri_user_options option. 60/3860/2
authorRichard Mudgett <rmudgett@digium.com>
Mon, 29 Aug 2016 23:08:22 +0000 (18:08 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 9 Sep 2016 22:08:25 +0000 (17:08 -0500)
commitadcdecd47f6cfda09b6a7f7c3e4650cbb49f26e6
tree02bbaa18634be407fbe2e79443e10d376b6e9d3c
parentad7e072a6d32dc0468fa08daa86bf302a7c057ab
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
16 files changed:
CHANGES
configs/samples/pjsip.conf.sample
contrib/ast-db-manage/config/versions/a6ef36f1309_ps_globals_add_ignore_uri_user_options.py [new file with mode: 0644]
include/asterisk/res_pjsip.h
res/res_pjsip.c
res/res_pjsip/config_global.c
res/res_pjsip/pjsip_options.c
res/res_pjsip_caller_id.c
res/res_pjsip_diversion.c
res/res_pjsip_endpoint_identifier_user.c
res/res_pjsip_messaging.c
res/res_pjsip_path.c
res/res_pjsip_pubsub.c
res/res_pjsip_refer.c
res/res_pjsip_registrar.c
res/res_pjsip_session.c