aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-01 21:01:31 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-01 21:01:31 +0000
commitef4363371f4b59d7226cf34eb3344abb97a8f83a (patch)
tree1df9b399a1b59f781fe716efc5761e9f492d9677 /include
parent143f06cec4526c4f8f9dadb3d3533b9c77ac250c (diff)
Pass accountcode to outgoing spool call when originated with Context&Extension&Priority
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1597 f38db490-d61c-443f-a65b-d21fe96a405b
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);