From 0365aa0edcde26adda83fda856ba4891eac6208a Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Fri, 24 Feb 2023 16:04:43 +0100 Subject: [PATCH] Fixe issue that notifies 'call on hold' only once --- src/pstn/pstn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pstn/pstn.c b/src/pstn/pstn.c index d3ea313..94bf3af 100644 --- a/src/pstn/pstn.c +++ b/src/pstn/pstn.c @@ -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)