Fixe issue that notifies 'call on hold' only once
This commit is contained in:
parent
e802b9c67e
commit
0365aa0edc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue