aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-15 13:08:34 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-15 13:08:34 +0000
commita65875bef1d686b4f1c3ceb95870f81db72cf7e3 (patch)
treedb20bfc8e8b3856f59e3663effe836b9abdb0141 /channels
parentd533eaa78eefe0dc413800002c68e41edc737275 (diff)
Sending 200 OK and not getting ACK is considered critical for the call.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47648 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index f00f7745c..91db38a2f 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;