Debugging improvements (bug #2765)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4135 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-11-01 01:44:11 +00:00
parent b8885530f4
commit afd15388cc
3 changed files with 5 additions and 2 deletions

View File

@@ -1556,6 +1556,7 @@ int ast_prod(struct ast_channel *chan)
ast_log(LOG_DEBUG, "Prodding channel '%s'\n", chan->name);
a.subclass = chan->pvt->rawwriteformat;
a.data = nothing + AST_FRIENDLY_OFFSET;
a.src = "ast_prod";
if (ast_write(chan, &a))
ast_log(LOG_WARNING, "Prodding channel '%s' failed\n", chan->name);
}