From d155ac18eb888b2125c06f5e0df5617a5c02124c Mon Sep 17 00:00:00 2001 From: Alexandre Savard <alexandre.savard@savoirfairelinux.com> Date: Thu, 3 Mar 2011 14:20:22 -0500 Subject: [PATCH] [#3950] Add debug messages --- sflphone-common/src/sip/sipvoiplink.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sflphone-common/src/sip/sipvoiplink.cpp b/sflphone-common/src/sip/sipvoiplink.cpp index c81658fbb0..0d932f671d 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 -- GitLab