diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-07 00:00:38 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-07 00:00:38 +0000 |
commit | f855ea037af6057fe5dd037a97af869c01936b03 (patch) | |
tree | 57138c9442f99ec315b8a475ca538f70137ea9cb /include | |
parent | fa802a6e1d40e49e6ff9d6703f5294596dded953 (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: http://svn.digium.com/svn/asterisk/trunk@89074 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-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); |