diff sip-in/mgw_ops.c @ 110:c1c94b7fc2e2

sip-in call clearing: DEAD_SIP transition implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 28 Sep 2022 18:37:19 -0800
parents 9b87894704eb
children 5685412bd6aa
line wrap: on
line diff
--- a/sip-in/mgw_ops.c	Wed Sep 28 16:32:13 2022 -0800
+++ b/sip-in/mgw_ops.c	Wed Sep 28 18:37:19 2022 -0800
@@ -144,6 +144,7 @@
 			handle_crcx_fail(call, msg);
 			return;
 		case OVERALL_STATE_TEARDOWN:
+			transition_dead_sip(call);
 			return;
 		default:
 			goto bad_state;
@@ -223,7 +224,7 @@
 		exit(1);
 	}
 	call->mgw_state = MGW_STATE_NO_EXIST;
-	/* TODO: transition from TEARDOWN to DEAD_SIP */
+	transition_dead_sip(call);
 }
 
 void