comparison sip-in/sip_udp.c @ 82:ff4b76a107a1

sip-in: process responses as UAC for BYE
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 20 Sep 2022 20:33:09 -0800
parents 15c9e1f8f756
children
comparison
equal deleted inserted replaced
81:915f0f397fb6 82:ff4b76a107a1
71 return; 71 return;
72 } 72 }
73 /* dispatch good-so-far SIP message */ 73 /* dispatch good-so-far SIP message */
74 if (pkt.parse_msgtype == SIP_MSG_TYPE_REQ) 74 if (pkt.parse_msgtype == SIP_MSG_TYPE_REQ)
75 process_sip_request(&pkt, &sin); 75 process_sip_request(&pkt, &sin);
76 else if (pkt.parse_msgtype == SIP_MSG_TYPE_RESP)
77 process_sip_response(&pkt, &sin);
76 } 78 }
77 79
78 void 80 void
79 sip_tx_packet(msg, sin) 81 sip_tx_packet(msg, sin)
80 struct sip_msg_out *msg; 82 struct sip_msg_out *msg;