FreeCalypso > hg > themwi-system-sw
diff sip-manual-out/uas.c @ 75:dd845c4933e1
sip-manual-out: swallow any received ACK w/o sending 501 response
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 20 Sep 2022 12:28:37 -0800 |
parents | d74b545a3c2a |
children | 94b5831c017f |
line wrap: on
line diff
--- a/sip-manual-out/uas.c Tue Sep 20 12:02:21 2022 -0800 +++ b/sip-manual-out/uas.c Tue Sep 20 12:28:37 2022 -0800 @@ -108,6 +108,8 @@ /* dispatch by method */ if (!strcmp(msg->req_method, "BYE")) handle_bye(msg, &ess, sin); + else if (!strcmp(msg->req_method, "ACK")) + printf("Received unexpected ACK, swallowing it\n"); else unsupported_method(msg, &ess, sin); }