[svn-commits] russell: branch russell/bindings r103310 - /team/russell/bindings/bindings/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Feb 11 06:59:48 CST 2008


Author: russell
Date: Mon Feb 11 06:59:48 2008
New Revision: 103310

URL: http://svn.digium.com/view/asterisk?view=rev&rev=103310
Log:
Reorganize the ast_cdr interface file a bit so that the ast_cdr struct
doesn't keep getting put in there over and over and checked in as such

Added:
    team/russell/bindings/bindings/ast_cdr_base.i
      - copied, changed from r103309, team/russell/bindings/bindings/ast_cdr.i
Removed:
    team/russell/bindings/bindings/ast_cdr.i
Modified:
    team/russell/bindings/bindings/   (props changed)
    team/russell/bindings/bindings/Makefile

Propchange: team/russell/bindings/bindings/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Mon Feb 11 06:59:48 2008
@@ -2,3 +2,4 @@
 ast_cdr.py
 ast_cdr.pyc
 ast_cdr_wrap.c
+ast_cdr.i

Modified: team/russell/bindings/bindings/Makefile
URL: http://svn.digium.com/view/asterisk/team/russell/bindings/bindings/Makefile?view=diff&rev=103310&r1=103309&r2=103310
==============================================================================
--- team/russell/bindings/bindings/Makefile (original)
+++ team/russell/bindings/bindings/Makefile Mon Feb 11 06:59:48 2008
@@ -18,6 +18,7 @@
 ast_channel.i: $(ASTTOPDIR)/include/asterisk/channel.h
 
 ast_cdr.i: $(ASTTOPDIR)/include/asterisk/cdr.h
+	cat ast_cdr_base.i > $@
 	$(AWK) -f get_swig $< >> $@
 
 ast_cdr_wrap.c: ast_cdr.i

Copied: team/russell/bindings/bindings/ast_cdr_base.i (from r103309, team/russell/bindings/bindings/ast_cdr.i)
URL: http://svn.digium.com/view/asterisk/team/russell/bindings/bindings/ast_cdr_base.i?view=diff&rev=103310&p1=team/russell/bindings/bindings/ast_cdr.i&r1=103309&p2=team/russell/bindings/bindings/ast_cdr_base.i&r2=103310
==============================================================================
--- team/russell/bindings/bindings/ast_cdr.i (original)
+++ team/russell/bindings/bindings/ast_cdr_base.i Mon Feb 11 06:59:48 2008
@@ -64,49 +64,4 @@
     }
 };
 
-/*! \brief Responsible for call detail data */
-struct ast_cdr {
-	/*! Caller*ID with text */
-	char clid[AST_MAX_EXTENSION];
-	/*! Caller*ID number */
-	char src[AST_MAX_EXTENSION];		
-	/*! Destination extension */
-	char dst[AST_MAX_EXTENSION];		
-	/*! Destination context */
-	char dcontext[AST_MAX_EXTENSION];	
-	
-	char channel[AST_MAX_EXTENSION];
-	/*! Destination channel if appropriate */
-	char dstchannel[AST_MAX_EXTENSION];	
-	/*! Last application if appropriate */
-	char lastapp[AST_MAX_EXTENSION];	
-	/*! Last application data */
-	char lastdata[AST_MAX_EXTENSION];	
-	
-	struct timeval start;
-	
-	struct timeval answer;
-	
-	struct timeval end;
-	/*! Total time in system, in seconds */
-	long int duration;				
-	/*! Total time call is up, in seconds */
-	long int billsec;				
-	/*! What happened to the call */
-	long int disposition;			
-	/*! What flags to use */
-	long int amaflags;				
-	/*! What account number to use */
-	char accountcode[AST_MAX_ACCOUNT_CODE];			
-	/*! flags */
-	unsigned int flags;				
-	/*! Unique Channel Identifier */
-	char uniqueid[32];
-	/*! User field */
-	char userfield[AST_MAX_USER_FIELD];
 
-	/*! A linked list for variables */
-	struct varshead varshead;
-
-	struct ast_cdr *next;
-};




More information about the svn-commits mailing list