fixing bug 1625 - relay status not reported properly in the cli
This commit is contained in:
parent
20abac2794
commit
591cbe7857
|
@ -1308,7 +1308,9 @@ static ftdm_status_t handle_show_status(ftdm_stream_handle_t *stream, int span,
|
||||||
stream->write_function(stream, "r_hw=N|");
|
stream->write_function(stream, "r_hw=N|");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sngss7_test_ckt_blk_flag(ss7_info, FLAG_RELAY_DOWN)) {
|
|
||||||
|
if (g_ftdm_sngss7_data.cfg.procId != 1) {
|
||||||
|
/* if (sngss7_test_ckt_blk_flag(ss7_info, FLAG_RELAY_DOWN)) { */
|
||||||
stream->write_function(stream, "relay=Y|");
|
stream->write_function(stream, "relay=Y|");
|
||||||
}else {
|
}else {
|
||||||
stream->write_function(stream, "relay=N");
|
stream->write_function(stream, "relay=N");
|
||||||
|
|
Loading…
Reference in New Issue