提交 79702bc0 authored 作者: Mathieu Rene's avatar Mathieu Rene

start implementing command handlers

上级 1720e4f0
...@@ -199,3 +199,6 @@ src/mod/formats/mod_shout/*/*/mod_shout.log ...@@ -199,3 +199,6 @@ src/mod/formats/mod_shout/*/*/mod_shout.log
/src/mod/languages/mod_managed/x64/Release_CLR/FREESWITCH.MANAGED.DLL.metagen /src/mod/languages/mod_managed/x64/Release_CLR/FREESWITCH.MANAGED.DLL.metagen
/src/mod/languages/mod_managed/x64/Release_CLR/RSAENH.DLL.bi /src/mod/languages/mod_managed/x64/Release_CLR/RSAENH.DLL.bi
/src/mod/languages/mod_managed/x64/Release_CLR/TZRES.DLL.bi /src/mod/languages/mod_managed/x64/Release_CLR/TZRES.DLL.bi
src/include/switch_apr.h
.gitignore
\ No newline at end of file
...@@ -109,7 +109,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi ...@@ -109,7 +109,7 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
ftdm_codec_t codec; ftdm_codec_t codec;
uint32_t interval; uint32_t interval;
ctdm_private_t *tech_pvt; ctdm_private_t *tech_pvt = NULL;
if (zstr(szchanid) || zstr(szspanid)) { if (zstr(szchanid) || zstr(szspanid)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Both "kSPAN_ID" and "kCHAN_ID" have to be set.\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Both "kSPAN_ID" and "kCHAN_ID" have to be set.\n");
......
...@@ -773,7 +773,8 @@ typedef gid_t switch_gid_t; ...@@ -773,7 +773,8 @@ typedef gid_t switch_gid_t;
typedef ino_t switch_ino_t; typedef ino_t switch_ino_t;
typedef dev_t switch_dev_t; typedef dev_t switch_dev_t;
#endif #endif
typedef off64_t switch_off_t;
typedef off_t switch_off_t;
/** /**
* Structure for referencing file information * Structure for referencing file information
......
...@@ -256,8 +256,7 @@ switch_status_t sng_mgco_start(megaco_profile_t* profile ) ...@@ -256,8 +256,7 @@ switch_status_t sng_mgco_start(megaco_profile_t* profile )
else { else {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, " mgco_mg_tsap_enable_cntrl SUCCESS \n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, " mgco_mg_tsap_enable_cntrl SUCCESS \n");
} }
//mgco_mg_enable_debug();
mgco_mg_enble_debug();
return SWITCH_STATUS_SUCCESS; return SWITCH_STATUS_SUCCESS;
} }
......
...@@ -243,6 +243,7 @@ static switch_status_t modify_mid(char* mid) ...@@ -243,6 +243,7 @@ static switch_status_t modify_mid(char* mid)
sprintf(mid,"[%s]",dup); sprintf(mid,"[%s]",dup);
}else { }else {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid input MID string[%s]\n",mid); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid input MID string[%s]\n",mid);
free(dup);
return SWITCH_STATUS_FALSE; return SWITCH_STATUS_FALSE;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论