diff sip-in/call_list.c @ 63:e5aee661e3b2

sip-in: beginning to handle incoming MNCC messages from themwi-mncc
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 18 Sep 2022 15:01:11 -0800
parents 75b7a7b61824
children 709b78a4ebf0
line wrap: on
line diff
--- a/sip-in/call_list.c	Sat Sep 17 18:43:08 2022 -0800
+++ b/sip-in/call_list.c	Sun Sep 18 15:01:11 2022 -0800
@@ -34,7 +34,7 @@
 	struct call *call;
 
 	for (call = call_list; call; call = call->next)
-		if (call->mncc_active && call->mncc_callref == callref)
+		if (call->mncc_state && call->mncc_callref == callref)
 			return call;
 	return 0;
 }
@@ -47,7 +47,6 @@
 	for (;;) {
 		next_callref++;
 		if (!find_call_by_mncc_callref(next_callref)) {
-			call->mncc_active = 1;
 			call->mncc_callref = next_callref;
 			return(0);
 		}