mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
freetdm: ss7 - bug fix, don't send RSC for non-voice channels
This commit is contained in:
parent
4d2a651439
commit
c0ee2490fe
@ -1389,11 +1389,17 @@ static ftdm_status_t ftdm_sangoma_ss7_start(ftdm_span_t * span)
|
||||
for (x = 1; x < (span->chan_count + 1); x++) {
|
||||
/* extract the channel structure and sngss7 channel data */
|
||||
ftdmchan = span->channels[x];
|
||||
|
||||
/* if there is no sig mod data move along */
|
||||
if (ftdmchan->call_data == NULL) continue;
|
||||
|
||||
sngss7_info = ftdmchan->call_data;
|
||||
sngss7_span = ftdmchan->span->signal_data;
|
||||
sngss7_intf = &g_ftdm_sngss7_data.cfg.isupIntf[sngss7_info->circuit->infId];
|
||||
|
||||
/* if this is a non-voice channel, move along */
|
||||
if (sngss7_info->circuit->type != VOICE) continue;
|
||||
|
||||
/* lock the channel */
|
||||
ftdm_mutex_lock(ftdmchan->mutex);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user