[Asterisk-cvs] asterisk/include/asterisk channel.h,1.23,1.24 pbx.h,1.11,1.12

martinp at lists.digium.com martinp at lists.digium.com
Wed Oct 1 16:00:20 CDT 2003


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv20533/include/asterisk

Modified Files:
	channel.h pbx.h 
Log Message:
Pass accountcode to outgoing spool call when originated with Context&Extension&Priority


Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- channel.h	1 Oct 2003 15:59:26 -0000	1.23
+++ channel.h	1 Oct 2003 21:01:31 -0000	1.24
@@ -238,6 +238,7 @@
 	oh.priority = priority; \
 	oh.callerid = callerid; \
 	oh.variable = variable; \
+	oh.account = account; \
 } 
 
 struct outgoing_helper {
@@ -246,6 +247,7 @@
 	int priority;
 	char *callerid;
 	char *variable;
+	char *account;
 };
 
 #define AST_CDR_TRANSFER	(1 << 0)

Index: pbx.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/pbx.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- pbx.h	22 Sep 2003 15:27:09 -0000	1.11
+++ pbx.h	1 Oct 2003 21:01:31 -0000	1.12
@@ -480,11 +480,11 @@
 
 /* Synchronously or asynchronously make an outbound call and send it to a
    particular extension */
-int ast_pbx_outgoing_exten(char *type, int format, void *data, int timeout, char *context, char *exten, int priority, int *reason, int sync, char *callerid, char *variable );
+int ast_pbx_outgoing_exten(char *type, int format, void *data, int timeout, char *context, char *exten, int priority, int *reason, int sync, char *callerid, char *variable, char *account );
 
 /* Synchronously or asynchronously make an outbound call and send it to a
    particular application with given extension */
-int ast_pbx_outgoing_app(char *type, int format, void *data, int timeout, char *app, char *appdata, int *reason, int sync, char *callerid, char *variable);
+int ast_pbx_outgoing_app(char *type, int format, void *data, int timeout, char *app, char *appdata, int *reason, int sync, char *callerid, char *variable, char *account);
 
 /* Functions for returning values from structures */
 char *ast_get_context_name(struct ast_context *con);




More information about the svn-commits mailing list