Fixe issue that notifies 'call on hold' only once

This commit is contained in:
Andreas Eversberg 2023-02-24 16:04:43 +01:00
parent e802b9c67e
commit 0365aa0edc
1 changed files with 1 additions and 1 deletions

View File

@ -839,7 +839,7 @@ static void notify_ind(struct call *pstn_call, uint8_t notify)
if (notify == OSMO_CC_NOTIFY_REMOTE_HOLD)
pstn_call->on_hold = 1;
if (notify == OSMO_CC_NOTIFY_REMOTE_RETRIEVAL)
pstn_call->on_hold = 1;
pstn_call->on_hold = 0;
}
static void set_tone_cause(pstn_t *pstn, uint8_t isdn_cause)