From 4afb905cf0176372ea45ee8c4e2f15e9d4ab1d78 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 7 Nov 2007 00:00:38 +0000 Subject: 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 --- include/asterisk/agi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3