FreeCalypso > hg > themwi-system-sw
diff sip-in/sip_udp.c @ 67:15c9e1f8f756
sip-in: enable SIP UDP output
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 18 Sep 2022 16:55:01 -0800 |
parents | 62f39c7cee15 |
children | ff4b76a107a1 |
line wrap: on
line diff
--- a/sip-in/sip_udp.c Sun Sep 18 16:17:31 2022 -0800 +++ b/sip-in/sip_udp.c Sun Sep 18 16:55:01 2022 -0800 @@ -80,6 +80,10 @@ struct sip_msg_out *msg; struct sockaddr_in *sin; { + socklen_t addrlen; + + addrlen = sizeof(struct sockaddr_in); + sendto(sip_socket, msg->buf, msg->msg_len, 0, (struct sockaddr *) sin, + addrlen); log_sip_msg_tx(msg->buf, msg->msg_len, sin); - /* actual UDP send to BulkVS omitted at this development stage */ }