|
@@ -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);
|
|
|
}
|
|
|
}
|