comparison 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
comparison
equal deleted inserted replaced
59:bea761629c5b 60:02761f1ae5e5
51 syslog(LOG_CRIT, 51 syslog(LOG_CRIT,
52 "response packet from TMGW has wrong length: %d bytes", 52 "response packet from TMGW has wrong length: %d bytes",
53 rc); 53 rc);
54 exit(1); 54 exit(1);
55 } 55 }
56 /* processing to be implemented */ 56 process_tmgw_response(&msg);
57 } 57 }
58
59 send_req_to_tmgw(msg)
60 struct tmgw_ctrl_req *msg;
61 {
62 return send(mgw_socket, msg, sizeof(struct tmgw_ctrl_req), 0);
63 }