提交 e718b3a8 authored 作者: Kapil Gupta's avatar Kapil Gupta

fixing issue - shouldnt check rtp termination service state

上级 61f02376
......@@ -85,7 +85,8 @@ switch_status_t mg_stack_termination_is_in_service(megaco_profile_t* mg_profile,
{
mg_termination_t* term = NULL;
term = megaco_find_termination(mg_profile, term_str);
if(term && switch_test_flag(term, MG_IN_SERVICE)){
if(term && (MG_TERM_TDM == term->type) &&
switch_test_flag(term, MG_IN_SERVICE)){
return SWITCH_STATUS_SUCCESS;
} else {
return SWITCH_STATUS_FALSE;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论