From: Olle Johansson Date: Wed, 15 Nov 2006 13:08:34 +0000 (+0000) Subject: Sending 200 OK and not getting ACK is considered critical for the call. X-Git-Tag: 1.2.14~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e49736b059814fd20a3e314cf961065fa946bebb;p=thirdparty%2Fasterisk.git Sending 200 OK and not getting ACK is considered critical for the call. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@47648 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index f00f7745c4..91db38a2f7 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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;