mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 10:34:54 +00:00
fixing issue - shouldnt check rtp termination service state
This commit is contained in:
parent
61f0237670
commit
e718b3a8fa
@ -85,7 +85,8 @@ switch_status_t mg_stack_termination_is_in_service(megaco_profile_t* mg_profile,
|
|||||||
{
|
{
|
||||||
mg_termination_t* term = NULL;
|
mg_termination_t* term = NULL;
|
||||||
term = megaco_find_termination(mg_profile, term_str);
|
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;
|
return SWITCH_STATUS_SUCCESS;
|
||||||
} else {
|
} else {
|
||||||
return SWITCH_STATUS_FALSE;
|
return SWITCH_STATUS_FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user