mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 08:31:02 +00:00
/ changed the logging in vpb_call()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1793,6 +1793,8 @@ static int vpb_call(struct ast_channel *ast, char *dest, int timeout)
|
|||||||
if (option_verbose > 3) ast_verbose("%s: LOCKING count[%d] owner[%d] \n", p->dev, p->lock.__m_count,p->lock.__m_owner);
|
if (option_verbose > 3) ast_verbose("%s: LOCKING count[%d] owner[%d] \n", p->dev, p->lock.__m_count,p->lock.__m_owner);
|
||||||
*/
|
*/
|
||||||
ast_mutex_lock(&p->lock);
|
ast_mutex_lock(&p->lock);
|
||||||
|
if (option_verbose > 3)
|
||||||
|
ast_verbose(VERBOSE_PREFIX_4 "%s: starting call to [%s]\n", p->dev,dest);
|
||||||
|
|
||||||
if (s)
|
if (s)
|
||||||
s = s + 1;
|
s = s + 1;
|
||||||
@@ -1805,8 +1807,6 @@ static int vpb_call(struct ast_channel *ast, char *dest, int timeout)
|
|||||||
else if ((dialstring[i] == 'f') || (dialstring[i] == 'F'))
|
else if ((dialstring[i] == 'f') || (dialstring[i] == 'F'))
|
||||||
dialstring[i] = '&';
|
dialstring[i] = '&';
|
||||||
}
|
}
|
||||||
if (option_verbose > 3)
|
|
||||||
ast_verbose(VERBOSE_PREFIX_4 "%s: starting call\n", p->dev);
|
|
||||||
|
|
||||||
if (ast->_state != AST_STATE_DOWN && ast->_state != AST_STATE_RESERVED) {
|
if (ast->_state != AST_STATE_DOWN && ast->_state != AST_STATE_RESERVED) {
|
||||||
ast_log(LOG_WARNING, "vpb_call on %s neither down nor reserved!\n", ast->name);
|
ast_log(LOG_WARNING, "vpb_call on %s neither down nor reserved!\n", ast->name);
|
||||||
|
Reference in New Issue
Block a user