comparison sip-in/sip_uas.c @ 79:b0df2b200d77

sip-in: implement SIP CANCEL
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 20 Sep 2022 18:58:11 -0800
parents 8cf85edca543
children a9944b66dcc5
comparison
equal deleted inserted replaced
78:72b7d85d6354 79:b0df2b200d77
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 handle_sip_ack(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 handle_sip_cancel(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
73 unsupported_method(msg, &ess, sin); 73 unsupported_method(msg, &ess, sin);
74 } 74 }