]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Sending 200 OK and not getting ACK is considered critical for the call.
authorOlle Johansson <oej@edvina.net>
Wed, 15 Nov 2006 13:08:34 +0000 (13:08 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 15 Nov 2006 13:08:34 +0000 (13:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47648 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index f00f7745c4dde74515684285c7ab052c5007cd3d..91db38a2f729e467b367a93eb26c2fab2a5312ee 100644 (file)
@@ -2556,7 +2556,7 @@ static int sip_answer(struct ast_channel *ast)
                ast_setstate(ast, AST_STATE_UP);
                if (option_debug)
                        ast_log(LOG_DEBUG, "sip_answer(%s)\n", ast->name);
-               res = transmit_response_with_sdp(p, "200 OK", &p->initreq, 1);
+               res = transmit_response_with_sdp(p, "200 OK", &p->initreq, 2);
        }
        ast_mutex_unlock(&p->lock);
        return res;