Added verbose output for send_digit function.

This commit is contained in:
MelwareDE 2007-07-16 19:18:56 +00:00
parent 82c0e32f8a
commit e483f336c0
1 changed files with 3 additions and 0 deletions

View File

@ -728,6 +728,9 @@ static int pbx_capi_send_digit(struct ast_channel *c, char digit)
return -1;
}
cc_verbose(3, 1, VERBOSE_PREFIX_3 "%s: send_digit '%c' in state %d(%d)\n",
i->vname, digit, i->state, c->_state);
cc_mutex_lock(&i->lock);
if ((c->_state == AST_STATE_DIALING) &&