mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 04:36:42 +00:00
freetdm: ss7 - bug fix for starting ckts controlled via Relay
This commit is contained in:
parent
90ca2de3cf
commit
3dcebdb919
@ -724,6 +724,9 @@ static ftdm_status_t handle_print_usuage(ftdm_stream_handle_t *stream)
|
|||||||
stream->write_function(stream, "ftdm ss7 lpo link X\n");
|
stream->write_function(stream, "ftdm ss7 lpo link X\n");
|
||||||
stream->write_function(stream, "ftdm ss7 lpr link X\n");
|
stream->write_function(stream, "ftdm ss7 lpr link X\n");
|
||||||
stream->write_function(stream, "\n");
|
stream->write_function(stream, "\n");
|
||||||
|
stream->write_function(stream, "Ftmod_sangoma_ss7 Relay status:\n");
|
||||||
|
stream->write_function(stream, "ftdm ss7 show status relay X\n");
|
||||||
|
stream->write_function(stream, "\n");
|
||||||
|
|
||||||
return FTDM_SUCCESS;
|
return FTDM_SUCCESS;
|
||||||
}
|
}
|
||||||
|
@ -1387,6 +1387,9 @@ static ftdm_status_t ftdm_sangoma_ss7_start(ftdm_span_t * span)
|
|||||||
ftdm_clear_flag (span, FTDM_SPAN_STOP_THREAD);
|
ftdm_clear_flag (span, FTDM_SPAN_STOP_THREAD);
|
||||||
ftdm_clear_flag (span, FTDM_SPAN_IN_THREAD);
|
ftdm_clear_flag (span, FTDM_SPAN_IN_THREAD);
|
||||||
|
|
||||||
|
/* check the status of all isup interfaces */
|
||||||
|
check_status_of_all_isup_intf();
|
||||||
|
|
||||||
/* throw the channels in pause */
|
/* throw the channels in pause */
|
||||||
for (x = 1; x < (span->chan_count + 1); x++) {
|
for (x = 1; x < (span->chan_count + 1); x++) {
|
||||||
/* extract the channel structure and sngss7 channel data */
|
/* extract the channel structure and sngss7 channel data */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user