diff sip-in/call.h @ 128:5685412bd6aa

sip-in: pass DTMF start & stop to themwi-mgw
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 01 Oct 2022 23:07:01 -0800
parents bfc97065bf51
children e499e8db8b82
line wrap: on
line diff
--- a/sip-in/call.h	Sat Oct 01 20:31:15 2022 -0800
+++ b/sip-in/call.h	Sat Oct 01 23:07:01 2022 -0800
@@ -42,6 +42,8 @@
 	char		invite_fail[80];
 	unsigned	sip_tx_count;
 	time_t		sip_clear_time;
+	int		dtmf_digit;
+	int		dtmf_pending_stop;
 };
 
 #define	OVERALL_STATE_CRCX		1
@@ -75,3 +77,4 @@
 #define	MGW_STATE_CONNECTING		2
 #define	MGW_STATE_COMPLETE		3
 #define	MGW_STATE_DELETING		4
+#define	MGW_STATE_DTMF_OP		5