NMT: Disable Supervisory signal during DMS (SMS) transfer and use Timeout
There is no Supervisory signal during DMS transfer, so there must be no timeout for Supervisory signal. Instead, the SMS layer will timeout after some seconds without receiving data.
This commit is contained in:
@@ -924,7 +924,7 @@ static void tx_mo_complete(nmt_t *nmt, frame_t *frame)
|
||||
nmt_new_state(nmt, STATE_ACTIVE);
|
||||
nmt->active_state = ACTIVE_STATE_VOICE;
|
||||
nmt_set_dsp_mode(nmt, DSP_MODE_AUDIO);
|
||||
if (nmt->supervisory) {
|
||||
if (nmt->supervisory && !nmt->dms_call) {
|
||||
super_reset(nmt);
|
||||
timer_start(&nmt->timer, SUPERVISORY_TO1);
|
||||
}
|
||||
@@ -1179,7 +1179,7 @@ static void tx_mt_complete(nmt_t *nmt, frame_t *frame)
|
||||
nmt_new_state(nmt, STATE_ACTIVE);
|
||||
nmt->active_state = ACTIVE_STATE_VOICE;
|
||||
nmt_set_dsp_mode(nmt, DSP_MODE_AUDIO);
|
||||
if (nmt->supervisory) {
|
||||
if (nmt->supervisory && !nmt->dms_call) {
|
||||
super_reset(nmt);
|
||||
timer_start(&nmt->timer, SUPERVISORY_TO1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user