diff sip-manual-out/uac.c @ 191:6ac96217c442

sip-manual-out: add SDP response parsing
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 17 Mar 2023 12:07:17 -0800
parents a36b731bfef9
children 10a4b0b0a239
line wrap: on
line diff
--- a/sip-manual-out/uac.c	Fri Mar 17 10:56:43 2023 -0800
+++ b/sip-manual-out/uac.c	Fri Mar 17 12:07:17 2023 -0800
@@ -106,6 +106,8 @@
 	if (msg->status_code >= 200) {
 		printf("Sending ACK\n");
 		send_ack(sin);
+		if (msg->status_code <= 299)
+			extract_resp_sdp(msg);
 	}
 }