]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Add ignore_uri_user_options option. 52/3852/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:11:07 +0000 (17:11 -0500)
commitb7ec070cd754db0d6e91f7822e68f1bb2ad1b0f2
tree4d42efafb1652b9786deeb52f6573c29d04a22ae
parent236761a5b2efc54a5baa32febdaa869a669c7ce7
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