From: Russell Bryant Date: Fri, 8 Oct 2004 02:50:22 +0000 (+0000) Subject: Do not send progress when "ringing" only flag is set (bug #2553) X-Git-Tag: 1.0.11.1~448 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dea58d2e887a6f7c566f1d9f2a99edd69aa8ef48;p=thirdparty%2Fasterisk.git Do not send progress when "ringing" only flag is set (bug #2553) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@3944 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_dial.c b/apps/app_dial.c index 7f3c3d7682..d1e03c2227 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -336,7 +336,8 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu case AST_CONTROL_PROGRESS: if (option_verbose > 2) 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; case AST_CONTROL_OFFHOOK: /* Ignore going off hook */