Description: Required for SIP-over-TLS and CounterPath Bria Android Edition, or CSipSimple with all audio codecs enabled (very long SIP INVITE; SDP) re-produced with Asterisk 12.3 on Ubuntu 14.04, and Android 4.2 CounterPath Bria iPhone Edition was not affected. --- channels/chan_sip.c (revision 416319) +++ channels/chan_sip.c (working copy) @@ -2752,7 +2752,7 @@ static int sip_tls_read(struct sip_request *req, struct sip_request *reqcpy, struct ast_tcptls_session_instance *tcptls_session, int authenticated, time_t start, struct sip_threadinfo *me) { - int res, content_length, after_poll = 1, need_poll = 1; + int res, content_length, after_poll = 0, need_poll = 0; size_t datalen = ast_str_strlen(req->data); char buf[1024] = ""; int timeout = -1;