aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-07 18:28:49 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-07 18:28:49 +0000
commit59ec20a16799e23731c8d5a9959e0ca25a0e0c8f (patch)
tree2498b93418857fae7d6eadf5349b76b1224cfd40 /apps
parent3d1bb2ea090ec9015d40b846505e5264f7c0f1fc (diff)
Do not send progress when "ringing" only flag is set (bug #2553)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3934 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_dial.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index c09d054dd..fddddebe9 100755
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -343,7 +343,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 */