summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Pycko <martinp@digium.com>2003-10-01 21:01:31 +0000
committerMartin Pycko <martinp@digium.com>2003-10-01 21:01:31 +0000
commitb239d0de273d55ce72bb026736c3a18c6f6be194 (patch)
tree1df9b399a1b59f781fe716efc5761e9f492d9677 /include
parentc0dde4ac5bd68b8003eead4120f4edc836452fac (diff)
Pass accountcode to outgoing spool call when originated with Context&Extension&Priority
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/channel.h2
-rwxr-xr-xinclude/asterisk/pbx.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index d90be73e6..13e97da7c 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -238,6 +238,7 @@ struct chanmon;
oh.priority = priority; \
oh.callerid = callerid; \
oh.variable = variable; \
+ oh.account = account; \
}
struct outgoing_helper {
@@ -246,6 +247,7 @@ struct outgoing_helper {
int priority;
char *callerid;
char *variable;
+ char *account;
};
#define AST_CDR_TRANSFER (1 << 0)
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index 3238ab403..23366d2eb 100755
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -480,11 +480,11 @@ int ast_async_goto_by_name(char *chan, char *context, char *exten, int priority)
/* 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);