comparison sip-in/sip_uas.c @ 69:8cf85edca543

sip-in: implement SIP ACK handling
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 19 Sep 2022 14:55:57 -0800
parents 02761f1ae5e5
children b0df2b200d77
comparison
equal deleted inserted replaced
68:709b78a4ebf0 69:8cf85edca543
62 } 62 }
63 /* dispatch by method */ 63 /* dispatch by method */
64 if (!strcmp(msg->req_method, "INVITE")) 64 if (!strcmp(msg->req_method, "INVITE"))
65 handle_sip_invite(msg, &ess, sin); 65 handle_sip_invite(msg, &ess, sin);
66 else if (!strcmp(msg->req_method, "ACK")) 66 else if (!strcmp(msg->req_method, "ACK"))
67 method_tbi(msg, &ess, sin); 67 handle_sip_ack(msg, &ess, sin);
68 else if (!strcmp(msg->req_method, "CANCEL")) 68 else if (!strcmp(msg->req_method, "CANCEL"))
69 method_tbi(msg, &ess, sin); 69 method_tbi(msg, &ess, sin);
70 else if (!strcmp(msg->req_method, "BYE")) 70 else if (!strcmp(msg->req_method, "BYE"))
71 method_tbi(msg, &ess, sin); 71 method_tbi(msg, &ess, sin);
72 else 72 else