From 0bcb82fdb1d742e1a9ddf8c8c450a292993d4b6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Quentin?= <jquentin@jquentin-laptop-kub2.(none)> Date: Wed, 27 May 2009 14:19:01 -0400 Subject: [PATCH] removed debug for daemon account fix --- sflphone-common/src/sipaccount.cpp | 2 -- sflphone-common/src/sipvoiplink.cpp | 8 +------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/sflphone-common/src/sipaccount.cpp b/sflphone-common/src/sipaccount.cpp index 167a76319a..31502460a3 100644 --- a/sflphone-common/src/sipaccount.cpp +++ b/sflphone-common/src/sipaccount.cpp @@ -92,13 +92,11 @@ bool SIPAccount::fullMatch(const std::string& username, const std::string& hostn bool SIPAccount::userMatch(const std::string& username) { - _debug("username = %s , getUserName() = %s, == : %i\n", username.c_str(), getUsername().c_str() , username == getUsername()); return (username == getUsername()); } bool SIPAccount::hostnameMatch(const std::string& hostname) { - _debug("hostname = %s , getHostname() = %s, == : %i\n", hostname.c_str(), getHostname().c_str() , hostname == getHostname()); return (hostname == getHostname()); } diff --git a/sflphone-common/src/sipvoiplink.cpp b/sflphone-common/src/sipvoiplink.cpp index 022e3ff2cb..34aae45a80 100644 --- a/sflphone-common/src/sipvoiplink.cpp +++ b/sflphone-common/src/sipvoiplink.cpp @@ -2204,7 +2204,6 @@ mod_on_rx_request ( pjsip_rx_data *rdata ) request.find ( method_name ); } pjsip_endpt_respond_stateless ( _endpt, rdata, PJSIP_SC_OK, NULL, NULL, NULL ); - _debug("return 1\n"); return true; } @@ -2212,7 +2211,6 @@ mod_on_rx_request ( pjsip_rx_data *rdata ) if ( rdata->msg_info.msg->line.req.method.id == PJSIP_OPTIONS_METHOD ) { handle_incoming_options ( rdata ); - _debug("return 2\n"); return true; } @@ -2224,7 +2222,6 @@ mod_on_rx_request ( pjsip_rx_data *rdata ) pj_strdup2 ( _pool, &reason, "user agent unable to handle this request " ); pjsip_endpt_respond_stateless ( _endpt, rdata, PJSIP_SC_METHOD_NOT_ALLOWED, &reason, NULL, NULL ); - _debug("return 3\n"); return true; } } @@ -2236,7 +2233,6 @@ mod_on_rx_request ( pjsip_rx_data *rdata ) pj_strdup2 ( _pool, &reason, "user agent unable to handle this INVITE " ); pjsip_endpt_respond_stateless ( _endpt, rdata, PJSIP_SC_METHOD_NOT_ALLOWED, &reason, NULL, NULL ); - _debug("return 4\n"); return true; } @@ -2266,7 +2262,6 @@ mod_on_rx_request ( pjsip_rx_data *rdata ) if ( !call ) { _debug ( "UserAgent: unable to create an incoming call" ); - _debug("return 5\n"); return false; } @@ -2276,11 +2271,11 @@ mod_on_rx_request ( pjsip_rx_data *rdata ) // We retrieve the remote sdp offer in the rdata struct to begin the negociation call->getLocalSDP()->set_ip_address ( link->getLocalIPAddress() ); get_remote_sdp_from_offer ( rdata, &r_sdp ); +// _debug("r_sdp = %s\n", r_sdp); status = call->getLocalSDP()->receiving_initial_offer ( r_sdp ); if ( status!=PJ_SUCCESS ) { delete call; call=0; - _debug("return 6\n"); return false; } @@ -2291,7 +2286,6 @@ mod_on_rx_request ( pjsip_rx_data *rdata ) call->initRecFileName(); // Notify UI there is an incoming call - _debug("send incoming call\n"); if ( Manager::instance().incomingCall ( call, account_id ) ) { // Add this call to the callAccountMap in ManagerImpl -- GitLab