diff sip-in/mgw_sock.c @ 60:02761f1ae5e5

sip-in INVITE processing: got as far as CRCX completion
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 11 Sep 2022 15:42:54 -0800
parents 62f39c7cee15
children 372209628038
line wrap: on
line diff
--- a/sip-in/mgw_sock.c	Thu Sep 08 14:53:18 2022 -0800
+++ b/sip-in/mgw_sock.c	Sun Sep 11 15:42:54 2022 -0800
@@ -53,5 +53,11 @@
 			rc);
 		exit(1);
 	}
-	/* processing to be implemented */
+	process_tmgw_response(&msg);
 }
+
+send_req_to_tmgw(msg)
+	struct tmgw_ctrl_req *msg;
+{
+	return send(mgw_socket, msg, sizeof(struct tmgw_ctrl_req), 0);
+}