<div dir="ltr"><div><div><div><div><div><div>Hello,<br><br></div>you are probably just sending the BYE to the wrong contact. The 200 OK didn't come from your Kamailio but from the server where the request was dispatched to. So you have to use the URI from Contact header as your new Request URI. (This is true already for the ACK after the 200 OK was received.)<br><br></div>You have to change the sipp xml scenario file to <br></div>- extract the contact header and routes from the 200 OK<br></div>- include those information in every packet sent after the 200 OK.<br><br></div>Keywords: [next_url], [routes] and "rrs" attribute in the recv command.<br></div>Help: <a href="http://sipp.sourceforge.net/doc/reference.html#UAC">http://sipp.sourceforge.net/doc/reference.html#UAC</a><br><div><br></div><div>So the BYE should look like this:<br><br>      BYE [next_url] SIP/2.0<br></div><div>      [routes]<br></div><div>      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]<br>      From: sipp <<a href="mailto:sip%3Asipp@loicchabert.fr" target="_blank">sip:sipp@loicchabert.fr</a>>;tag=[pid]SIPpTag00[call_number]<br>      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]<br>      Call-ID: [call_id]<br>      CSeq: 2 BYE<br>      Contact: sip:sipp@[local_ip]:[local_port]<br>      Max-Forwards: 70<br>      Subject: Performance Test<br>      Content-Length: 0<br></div><div><br></div><div>Hope that helps.<br><br></div><div>Best Regards,<br></div><div>Sebastian<br></div></div>