]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 92443 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Wed, 12 Dec 2007 16:11:13 +0000 (16:11 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 12 Dec 2007 16:11:13 +0000 (16:11 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r92443 | mmichelson | 2007-12-12 10:08:55 -0600 (Wed, 12 Dec 2007) | 3 lines

Removing an unused variable.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92444 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 7da41e16ba93028ef8cc30d811a812b3c3f99635..12482910c95fe4a9621216d5d9b174de56603926 100644 (file)
@@ -2196,7 +2196,6 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte
        const char *queue = qe->parent->name;
        struct callattempt *o;
        int status;
-       int sentringing = 0;
        int numbusies = prebusies;
        int numnochan = 0;
        int stillgoing = 0;
@@ -2370,12 +2369,6 @@ static struct callattempt *wait_for_answer(struct queue_ent *qe, struct callatte
                                                        break;
                                                case AST_CONTROL_RINGING:
                                                        ast_verb(3, "%s is ringing\n", o->chan->name);
-                                                       if (!sentringing) {
-#if 0
-                                                               ast_indicate(in, AST_CONTROL_RINGING);
-#endif                                                         
-                                                               sentringing++;
-                                                       }
                                                        break;
                                                case AST_CONTROL_OFFHOOK:
                                                        /* Ignore going off hook */