comparison 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
comparison
equal deleted inserted replaced
190:62ecc0aa081f 191:6ac96217c442
104 printf("To tag exceeds length limit!\n"); 104 printf("To tag exceeds length limit!\n");
105 } 105 }
106 if (msg->status_code >= 200) { 106 if (msg->status_code >= 200) {
107 printf("Sending ACK\n"); 107 printf("Sending ACK\n");
108 send_ack(sin); 108 send_ack(sin);
109 if (msg->status_code <= 299)
110 extract_resp_sdp(msg);
109 } 111 }
110 } 112 }
111 113
112 void 114 void
113 process_sip_response(msg, sin) 115 process_sip_response(msg, sin)