mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	res_pjsip_endpoint_identifier_ip: Add endpoint identifier transport address.
Add a new identify_by option to res_pjsip_endpoint_identifier_ip
called 'transport' this matches endpoints based on the bound
ip address (local) instead of the 'ip' option, which matches on
the source ip address (remote).
UserNote: set identify_by=transport for the pjsip endpoint. Then
use the existing 'match' option and the new 'transport' option of
the identify.
Fixes: #672
(cherry picked from commit 62bee37d0d)
			
			
This commit is contained in:
		
				
					committed by
					
						 Asterisk Development Team
						Asterisk Development Team
					
				
			
			
				
	
			
			
			
						parent
						
							2fd379d3be
						
					
				
				
					commit
					c2be3097c6
				
			| @@ -617,6 +617,8 @@ enum ast_sip_endpoint_identifier_type { | ||||
| 	AST_SIP_ENDPOINT_IDENTIFY_BY_HEADER = (1 << 3), | ||||
| 	/*! Identify based on request uri */ | ||||
| 	AST_SIP_ENDPOINT_IDENTIFY_BY_REQUEST_URI = (1 << 4), | ||||
| 	/*! Identify based on bound (local) IP address */ | ||||
| 	AST_SIP_ENDPOINT_IDENTIFY_BY_TRANSPORT = (1 << 5), | ||||
| }; | ||||
| AST_VECTOR(ast_sip_identify_by_vector, enum ast_sip_endpoint_identifier_type); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user