mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	res_pjsip_pubsub.c: Use pjsip version for pending NOTIFY check. (#76)
The functionality we are interested in is present only in pjsip 2.13
and newer.
Resolves: #45
(cherry picked from commit 3e2a28fc3d)
			
			
This commit is contained in:
		
				
					committed by
					
						 Asterisk Development Team
						Asterisk Development Team
					
				
			
			
				
	
			
			
			
						parent
						
							9223da73a6
						
					
				
				
					commit
					0e92662c29
				
			| @@ -3890,6 +3890,11 @@ static void clean_sub_tree(pjsip_evsub *evsub){ | ||||
| 	ao2_ref(sub_tree, -1); | ||||
| } | ||||
|  | ||||
| /* This functionality appeared in pjsip 2.13 */ | ||||
| #if PJ_VERSION_NUM >= 0x020D0000 | ||||
| # define HAVE_PJSIP_EVSUB_PENDING_NOTIFY 1 | ||||
| #endif | ||||
|  | ||||
| /*! | ||||
|  * \brief PJSIP callback when underlying SIP subscription changes state | ||||
|  * | ||||
|   | ||||
		Reference in New Issue
	
	Block a user