summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2019-08-06 19:27:42 +0200
committerKeith <keith@rhizomatica.org>2019-08-07 02:16:07 +0200
commitf9a0f3af4278a49435a823c4ffe80ee2135fb6ca (patch)
tree43b7dbfc8ad5609d5ae06d17a891ac0f1bb4192b
parent5311868c2682af41f659476dd14548bf2cb421b5 (diff)
Handle case where SIP side hangsup while MNCC is on hold
-rw-r--r--src/mncc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mncc.c b/src/mncc.c
index a60b104..d8545da 100644
--- a/src/mncc.c
+++ b/src/mncc.c
@@ -297,6 +297,7 @@ static void mncc_call_leg_release(struct call_leg *_leg)
break;
case MNCC_CC_PROCEEDING:
case MNCC_CC_CONNECTED:
+ case MNCC_CC_HOLD:
LOGP(DMNCC, LOGL_DEBUG,
"Releasing call in non-initial leg(%u) cause(%s)\n", leg->callref, gsm48_cc_cause_name(leg->base.cause));
leg->base.in_release = true;