Skip to content
Snippets Groups Projects
Commit 4afb905c authored by Russell Bryant's avatar Russell Bryant
Browse files

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
parent e3093939
No related branches found
No related tags found
No related merge requests found
......@@ -317,3 +317,5 @@ Miscellaneous
* Added a new channel driver, chan_unistim. See doc/unistim.txt and
configs/unistim.conf.sample for details. This new channel driver allows
you to use Nortel i2002, i2004, and i2050 phones with Asterisk.
* Enhanced "agi debug" to print the channel name as a prefix to the debug
output to make debugging on busy systems much easier.
......@@ -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);
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment