mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
AST-2014-007: Fix of fix to allow AMI and SIP TCP to send messages.
ASTERISK-23673 #close Reported by: Richard Mudgett Review: https://reviewboard.asterisk.org/r/3617/ ........ Merged revisions 416066 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 416067 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@416070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3186,6 +3186,12 @@ static void *_sip_tcp_helper_thread(struct ast_tcptls_session_instance *tcptls_s
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
/*
|
||||
* We cannot let the stream exclusively wait for data to arrive.
|
||||
* We have to wake up the task to send outgoing messages.
|
||||
*/
|
||||
ast_tcptls_stream_set_exclusive_input(tcptls_session->stream_cookie, 0);
|
||||
|
||||
ast_tcptls_stream_set_timeout_sequence(tcptls_session->stream_cookie, ast_tvnow(),
|
||||
tcptls_session->client ? -1 : (authtimeout * 1000));
|
||||
|
||||
|
Reference in New Issue
Block a user