]> git.ipfire.org Git - thirdparty/asterisk.git/commit
PJSIP: Add Path header support
authorKinsey Moore <kmoore@digium.com>
Wed, 15 Jan 2014 13:14:06 +0000 (13:14 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 15 Jan 2014 13:14:06 +0000 (13:14 +0000)
commit6cd901ab8e6afb0b2ff53dc24a2b9b54b72de34e
tree29cd04104379648844cd73c9e6aef4e580febb49
parent1859c07f4f0152bb9a9acfd2abcadad119e23dc7
PJSIP: Add Path header support

This adds Path support to chan_pjsip in res_pjsip_path.c with minimal
additions in res_pjsip_registrar.c to store the path and additions in
res_pjsip_outbound_registration.c to enable advertisement of path
support to registrars and intervening proxies.

Path information is stored on contacts and is enabled via Address of
Record (AoRs) and Registration configuration sections.

While adding path support, it became necessary to be able to add SIP
supplements that handled messages outside of sessions, so a framework
for handling these types of hooks was added in parallel to the
already-existing session supplements and several senders of
out-of-dialog requests were refactored as a result.

(closes issue ASTERISK-21084)
Review: https://reviewboard.asterisk.org/r/3050/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@405565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
23 files changed:
CHANGES
UPGRADE.txt
channels/chan_pjsip.c
contrib/ast-db-manage/config/versions/2fc7930b41b3_add_pjsip_endpoint_options_for_12_1.py [new file with mode: 0755]
include/asterisk/res_pjsip.h
include/asterisk/res_pjsip_session.h
res/res_pjsip.c
res/res_pjsip/location.c
res/res_pjsip/pjsip_distributor.c
res/res_pjsip/pjsip_options.c
res/res_pjsip_caller_id.c
res/res_pjsip_diversion.c
res/res_pjsip_header_funcs.c
res/res_pjsip_messaging.c
res/res_pjsip_mwi.c
res/res_pjsip_nat.c
res/res_pjsip_notify.c
res/res_pjsip_outbound_registration.c
res/res_pjsip_path.c [new file with mode: 0644]
res/res_pjsip_refer.c
res/res_pjsip_registrar.c
res/res_pjsip_session.c
res/res_pjsip_t38.c