diff sip-in/disconnect.c @ 141:e499e8db8b82

sip-in: handle call hold and retrieve
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 08 Oct 2022 13:28:30 -0800
parents 5685412bd6aa
children
line wrap: on
line diff
--- a/sip-in/disconnect.c	Sat Oct 08 11:48:26 2022 -0800
+++ b/sip-in/disconnect.c	Sat Oct 08 13:28:30 2022 -0800
@@ -45,9 +45,12 @@
 	case MGW_STATE_CONNECTING:
 	case MGW_STATE_DELETING:
 	case MGW_STATE_DTMF_OP:
+	case MGW_STATE_HOLD_OP:
+	case MGW_STATE_RETRIEVE_OP:
 		return;
 	case MGW_STATE_ALLOCATED:
 	case MGW_STATE_COMPLETE:
+	case MGW_STATE_HELD:
 		tmgw_send_dlcx(call);
 		return;
 	default: