diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-11-07 00:00:38 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-11-07 00:00:38 +0000 |
commit | 4afb905cf0176372ea45ee8c4e2f15e9d4ab1d78 (patch) | |
tree | 57138c9442f99ec315b8a475ca538f70137ea9cb /include/asterisk/agi.h | |
parent | e309393920857a9f407e3204170b9f95128b78c9 (diff) |
Print out the channel name as a prefix to the "agi debug" output. This makes
AGI debugging on busy systems much easier.
(closes issue #10730)
Reported by: junky
Patches:
agi_debug_chan.diff uploaded by junky (license 177)
20070923_10730.diff uploaded by mvanbaak (license 7)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/agi.h')
-rw-r--r-- | include/asterisk/agi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/agi.h b/include/asterisk/agi.h index 25bad6742..3528c0e55 100644 --- a/include/asterisk/agi.h +++ b/include/asterisk/agi.h @@ -52,7 +52,7 @@ typedef struct agi_command { AST_LIST_ENTRY(agi_command) list; } agi_command; -int ast_agi_fdprintf(int fd, char *fmt, ...); +int ast_agi_fdprintf(struct ast_channel *chan, int fd, char *fmt, ...); int ast_agi_register(struct ast_module *mod, agi_command *cmd); int ast_agi_unregister(struct ast_module *mod, agi_command *cmd); void ast_agi_register_multiple(struct ast_module *mod, agi_command *cmd, int len); |