Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 348152) +++ channels/chan_sip.c (working copy) @@ -26087,7 +26087,7 @@ /* Give the new thread a reference to the tcptls_session */ ao2_ref(s->tcptls_session, +1); - if (ast_pthread_create_background(&ca->master, NULL, sip_tcp_worker_fn, s->tcptls_session)) { + if (ast_pthread_create_detached_background(&ca->master, NULL, sip_tcp_worker_fn, s->tcptls_session)) { ast_debug(1, "Unable to launch '%s'.", ca->name); ao2_ref(s->tcptls_session, -1); /* take away the thread ref we just gave it */ goto create_tcptls_session_fail;