]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
It's okay to send RINGING > 1 time, and don't try to send it in-band
authorMark Spencer <markster@digium.com>
Tue, 23 Mar 2004 18:09:25 +0000 (18:09 +0000)
committerMark Spencer <markster@digium.com>
Tue, 23 Mar 2004 18:09:25 +0000 (18:09 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2537 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 5bc06b09375c43e844e638cfe5e9e951c2f55db6..38018f2ca91579027274048f582a03a2182f9445 100755 (executable)
@@ -1412,7 +1412,7 @@ static int sip_indicate(struct ast_channel *ast, int condition)
        switch(condition) {
        case AST_CONTROL_RINGING:
                if (ast->_state == AST_STATE_RING) {
-                       if (!p->progress && !p->ringing) {
+                       if (!p->progress) {
                                transmit_response(p, "180 Ringing", &p->initreq);
                                p->ringing = 1;
                                break;