aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-08 02:50:22 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-08 02:50:22 +0000
commit1d493f4ecd8f32dbc7247afe8ad50e36a669019b (patch)
tree5c0754773b105adc0371b275951e9f74836e738d /apps/app_dial.c
parent07d13a4b0fffb80aef9649fd536b0334eae869ad (diff)
Do not send progress when "ringing" only flag is set (bug #2553)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@3944 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-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 7f3c3d768..d1e03c222 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 */