Add RFC 3327 Path header support to chan_sip
authorMatthew Jordan <mjordan@digium.com>
Tue, 5 Mar 2013 13:14:43 +0000 (13:14 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 5 Mar 2013 13:14:43 +0000 (13:14 +0000)
commit8d5c36c9bb91af574fbe0dd261f3b6601304b263
treefe313093b94b5589ef3e8eed753d1b85517265e0
parent469ca1c71de62cd0abec830179d5ab1faa5f7837
Add RFC 3327 Path header support to chan_sip

This patch adds support for RFC 3327 "Path" headers. This can be enabled in
sip.conf using the 'supportpath' setting, either on a global basis or on a
peer basis. This setting enables Asterisk to route outgoing out-of-dialog
requests via a set of proxies by using a pre-loaded route-set defined by the
Path headers in the REGISTER request. This patch also adds Realtime support
for dynamically updating the Path information for a peer.

A huge thank-you to Klaus Darillion and Olle E Johansson for their efforts
in writing this patch.

Review: https://reviewboard.asterisk.org/r/2235/
Review: https://reviewboard.asterisk.org/r/991/

(closes issue ASTERISK-16884)
Reported by: klaus3000
Tested by: klaus3000, oej, mjordan
patches:
  path-1.8.0-patch.txt uploaded by klaus3000 (License 5054)
  oolong-path-support-trunk in team branch by oej (License 5267)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
CHANGES
CREDITS
channels/chan_sip.c
channels/sip/include/sip.h
configs/res_ldap.conf.sample
configs/sip.conf.sample
contrib/realtime/mysql/sippeers.sql
contrib/realtime/postgresql/realtime.sql
contrib/scripts/asterisk.ldap-schema
contrib/scripts/asterisk.ldif