mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-03 20:38:59 +00:00 
			
		
		
		
	This patch adds a sequence field to CDRs that can be combined with the linkedid or uniqueid field to uniquely identify a CDR.
(closes issue #15180) Reported by: Nick_Lewis Patches: cdr-sequence10.diff uploaded by mnicholson (license 96) Tested by: mnicholson git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@227435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		@@ -184,7 +184,7 @@ static void ast_cdr_fork(struct ast_channel *chan, struct ast_flags optflags, ch
 | 
			
		||||
	while (cdr->next)
 | 
			
		||||
		cdr = cdr->next;
 | 
			
		||||
	
 | 
			
		||||
	if (!(newcdr = ast_cdr_dup(cdr)))
 | 
			
		||||
	if (!(newcdr = ast_cdr_dup_unique(cdr)))
 | 
			
		||||
		return;
 | 
			
		||||
	
 | 
			
		||||
	ast_cdr_append(cdr, newcdr);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user