mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -108,6 +108,7 @@ olcObjectIdentifier: AstAccountSetVar AstAttrType:66 | ||||
| olcObjectIdentifier: AstAccountAllowOverlap AstAttrType:67 | ||||
| olcObjectIdentifier: AstAccountVideoSupport AstAttrType:68 | ||||
| olcObjectIdentifier: AstAccountIgnoreSDPVersion AstAttrType:69 | ||||
| olcObjectIdentifier: AstAccountPathSupport AstAttrType:70 | ||||
| # | ||||
| # | ||||
| ############################################################################# | ||||
| @@ -636,6 +637,13 @@ olcAttributeTypes: ( AstAccountIgnoreSDPVersion | ||||
|         SUBSTR caseIgnoreSubstringsMatch | ||||
|         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) | ||||
| # | ||||
| olcAttributeTypes: ( AstAccountPathSupport | ||||
|         NAME 'AstAccountPathSupport' | ||||
|         DESC 'Asterisk account support Path RFC 3327' | ||||
|         EQUALITY caseIgnoreMatch | ||||
|         SUBSTR caseIgnoreSubstringsMatch | ||||
|         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) | ||||
| # | ||||
| ############################################################################# | ||||
| # Object Class definitions | ||||
| # | ||||
| @@ -758,7 +766,8 @@ olcObjectClasses: ( AsteriskSIPUser | ||||
|         AstAccountTransport $ | ||||
|         AstAccountType $ | ||||
|         AstAccountUserAgent $ | ||||
|         AstAccountVideoSupport | ||||
|         AstAccountVideoSupport $ | ||||
|         AstAccountPathSupport | ||||
|     ) | ||||
|     ) | ||||
| # | ||||
|   | ||||
		Reference in New Issue
	
	Block a user