mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 19:08:14 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user