comparison 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
comparison
equal deleted inserted replaced
74:51e2f72dc5ab 75:dd845c4933e1
106 return; 106 return;
107 } 107 }
108 /* dispatch by method */ 108 /* dispatch by method */
109 if (!strcmp(msg->req_method, "BYE")) 109 if (!strcmp(msg->req_method, "BYE"))
110 handle_bye(msg, &ess, sin); 110 handle_bye(msg, &ess, sin);
111 else if (!strcmp(msg->req_method, "ACK"))
112 printf("Received unexpected ACK, swallowing it\n");
111 else 113 else
112 unsupported_method(msg, &ess, sin); 114 unsupported_method(msg, &ess, sin);
113 } 115 }