ソースを参照

Z991239-5471 #comment 优化日志

80274480 1 年間 前
コミット
53ea572fc4
1 ファイル変更5 行追加5 行削除
  1. 5 5
      Module/mod_counterconnector/http_callrouter.cpp

+ 5 - 5
Module/mod_counterconnector/http_callrouter.cpp

@@ -3,7 +3,7 @@
 #include "Event.h"
 
 void HttpsLogCallBack(const char* logtxt) {
-	DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI("HttpsLogCallBack")("HttpsLogCallBack: %s.", logtxt);
+	//DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI("HttpsLogCallBack")("HttpsLogCallBack: %s.", logtxt);
 }
 
 
@@ -106,14 +106,14 @@ node_list_head_t* get_http_callroute_list(http_call_info_t* pinfo, int itimeout,
 
 		node_info_t tnode = {0};
 		if (0 == get_http_callnodeinfo(&tnode, pinfo->strTerminalNo.GetData(), ret.m_call_route.m_accessNum.c_str(), ret.m_call_route.m_voiceGateAddress.c_str(), ret.m_call_route.m_mediaGateAddress.c_str())) {
-			//DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("new http_callroute node: new_caller_number:%s new_touri:%s, assist_ip:%s, assist_port:%s!",
-			//	tnode.strcallernum, tnode.strcallurl, tnode.strassistip, tnode.strport);
+			DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("new http_callroute node: new_caller_number:%s new_touri:%s, assist_ip:%s, assist_port:%s!",
+				tnode.strcallernum, tnode.strcallurl, tnode.strassistip, tnode.strport);
 			add_node_to_list(phead, tnode.strcallernum, tnode.strcallurl, tnode.strassistip, tnode.strport);
 
 			memset(&tnode, 0, sizeof(node_info_t));
 			if (0 == get_http_callnodeinfo(&tnode, pinfo->strTerminalNo.GetData(), ret.m_call_route.m_accessNum.c_str(), ret.m_call_route.m_voiceGateAddressBackUp.c_str(), ret.m_call_route.m_mediaGateAddressBackUp.c_str())) {
-				//DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("new backup http_callroute node: new_caller_number:%s new_touri:%s, assist_ip:%s, assist_port:%s!",
-				//	tnode.strcallernum, tnode.strcallurl, tnode.strassistip, tnode.strport);
+				DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("new backup http_callroute node: new_caller_number:%s new_touri:%s, assist_ip:%s, assist_port:%s!",
+					tnode.strcallernum, tnode.strcallurl, tnode.strassistip, tnode.strport);
 				add_node_to_list(phead, tnode.strcallernum, tnode.strcallurl, tnode.strassistip, tnode.strport);
 			}
 		}