mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Do not send progress when "ringing" only flag is set (bug #2553)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -343,7 +343,8 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu
|
|||||||
case AST_CONTROL_PROGRESS:
|
case AST_CONTROL_PROGRESS:
|
||||||
if (option_verbose > 2)
|
if (option_verbose > 2)
|
||||||
ast_verbose ( VERBOSE_PREFIX_3 "%s is making progress passing it to %s\n", o->chan->name,in->name);
|
ast_verbose ( VERBOSE_PREFIX_3 "%s is making progress passing it to %s\n", o->chan->name,in->name);
|
||||||
ast_indicate(in, AST_CONTROL_PROGRESS);
|
if (!outgoing->ringbackonly)
|
||||||
|
ast_indicate(in, AST_CONTROL_PROGRESS);
|
||||||
break;
|
break;
|
||||||
case AST_CONTROL_OFFHOOK:
|
case AST_CONTROL_OFFHOOK:
|
||||||
/* Ignore going off hook */
|
/* Ignore going off hook */
|
||||||
|
Reference in New Issue
Block a user