diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-08 09:20:14 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-08 09:20:14 +0000 |
commit | 950e756132baf943399a575cb2cd93be2d4ecf47 (patch) | |
tree | 52d6103688e6bd767576c23a3de5b3528f92153e /apps | |
parent | 5e3342d3b32436fbf67220c76163d9425807942e (diff) |
Make ringing clearer
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3391 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_dial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index dfb1a3e8e..0c887a7aa 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -308,9 +308,9 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu case AST_CONTROL_RINGING: if (option_verbose > 2) ast_verbose( VERBOSE_PREFIX_3 "%s is ringing\n", o->chan->name); - if (!*sentringing && !outgoing->musiconhold) { + if (!(*sentringing) && !outgoing->musiconhold) { ast_indicate(in, AST_CONTROL_RINGING); - *sentringing++; + (*sentringing)++; } break; case AST_CONTROL_PROGRESS: @@ -326,7 +326,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu if (option_verbose > 2) ast_verbose( VERBOSE_PREFIX_3 "%s stopped sounds\n", o->chan->name); ast_indicate(in, -1); - *sentringing = 0; + (*sentringing) = 0; } break; default: |