diff --git a/sflphone-common/src/sip/sipvoiplink.cpp b/sflphone-common/src/sip/sipvoiplink.cpp index c81658fbb03e0a4dbee9d046c90856f9e4c0bc8e..0d932f671d2e52e6b6db73fc185c565e456e8a51 100644 --- a/sflphone-common/src/sip/sipvoiplink.cpp +++ b/sflphone-common/src/sip/sipvoiplink.cpp @@ -4121,7 +4121,7 @@ transaction_request_cb (pjsip_rx_data *rdata) // Check whether Replaces header is present in the request and process accordingly. status = pjsip_replaces_verify_request(rdata, &replaced_dlg, PJ_FALSE, &response); if (status != PJ_SUCCESS) { - // Something wrong with Replaces request. + _warn("UserAgent: Error: Something wrong with Replaces request."); // Respond with 500 (Internal Server Error) pjsip_endpt_respond_stateless(_endpt, rdata, 500, NULL, NULL, NULL); } @@ -4129,6 +4129,8 @@ transaction_request_cb (pjsip_rx_data *rdata) // Check if call have been transfered if(replaced_dlg) { // If Replace header present + _debug("UserAgent: Replace request foud"); + pjsip_inv_session *replaced_inv; // Always answer the new INVITE with 200, regardless whether