diff --git a/contrib/src/pjproject/0001-rfc6544.patch b/contrib/src/pjproject/0001-rfc6544.patch index 52d20a76d5391593715e6c174f284b0a91603569..44139814d1464bf1648b05fa9278e6731fa2b938 100644 --- a/contrib/src/pjproject/0001-rfc6544.patch +++ b/contrib/src/pjproject/0001-rfc6544.patch @@ -18,7 +18,6 @@ on behalf of Savoir-faire Linux. Rebased for pjsip 2.10 by Peymane Marandi <paymon@savoirfairelinux.com> on behalf of Savoir-faire Linux. - --- pjnath/include/pjnath/ice_session.h | 173 +++- pjnath/include/pjnath/ice_strans.h | 21 + @@ -670,7 +669,7 @@ index fff4fad26..e7f8b84eb 100644 if (status != PJ_SUCCESS && status != PJ_EPENDING) { app_perror(" error: server sending data", status); diff --git a/pjnath/src/pjnath/ice_session.c b/pjnath/src/pjnath/ice_session.c -index 2a4125bc5..d2eae9494 100644 +index 2a4125bc5..85d3234c9 100644 --- a/pjnath/src/pjnath/ice_session.c +++ b/pjnath/src/pjnath/ice_session.c @@ -18,6 +18,7 @@ @@ -1247,7 +1246,7 @@ index 2a4125bc5..d2eae9494 100644 + status_send_msg); + return; + } -+ if (status_send_msg == 120033 /* BROKEN PIPE */) { ++ if (status_send_msg == 120032 /* BROKEN PIPE */) { + check->state = PJ_ICE_SESS_CHECK_STATE_NEEDS_RETRY; + check_set_state(ice, check, PJ_ICE_SESS_CHECK_STATE_NEEDS_RETRY, + status_send_msg); @@ -4158,5 +4157,4 @@ index 474a8d07c..9257f07a4 100644 if (status != PJ_SUCCESS) { char errmsg[PJ_ERR_MSG_SIZE]; -- -2.25.2 - +2.25.2 \ No newline at end of file diff --git a/src/ice_transport.cpp b/src/ice_transport.cpp index e0d3b88a83798e258e27e6c594c21d85b17b08a0..bc3de823c5b91f712554de4aa29695adcf550d25 100644 --- a/src/ice_transport.cpp +++ b/src/ice_transport.cpp @@ -516,7 +516,7 @@ IceTransport::Impl::onComplete(pj_ice_strans* ice_st, pj_ice_strans_op op, pj_st } else { last_errmsg_ = sip_utils::sip_strerror(status); - JAMI_ERR("[ice:%p] %s failed: %s", this, opname, last_errmsg_.c_str()); + JAMI_ERR("[ice:%p] %s %s failed: %s", this, (config_.protocol == PJ_ICE_TP_TCP? "TCP" : "UDP"), opname, last_errmsg_.c_str()); } {