mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Only show this warning when we want to show it.
(closes issue #13982) Reported by: coolmig Patches: chan_agent.c.patch uploaded by coolmig (license 621) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@160764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -735,7 +735,8 @@ static int agent_call(struct ast_channel *ast, char *dest, int timeout)
|
||||
ast_mutex_unlock(&p->lock);
|
||||
return res;
|
||||
}
|
||||
ast_verbose( VERBOSE_PREFIX_3 "agent_call, call to agent '%s' call on '%s'\n", p->agent, p->chan->name);
|
||||
if (option_verbose > 2)
|
||||
ast_verbose(VERBOSE_PREFIX_3 "agent_call, call to agent '%s' call on '%s'\n", p->agent, p->chan->name);
|
||||
if (option_debug > 2)
|
||||
ast_log(LOG_DEBUG, "Playing beep, lang '%s'\n", p->chan->language);
|
||||
res = ast_streamfile(p->chan, beep, p->chan->language);
|
||||
|
Reference in New Issue
Block a user