<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Hi all,</div><div><br></div><div>I'm building an automated load testing system for an rtp media server with TURN that uses Kamailio for SIP.</div><div><br></div><div>When a client sends an INVITE to Kamailio, I need Kamailio to respond with "200 OK" and the SDP generated by rtpengine.</div><div><br></div><div>I've enabled auto-answer in the client, so as soon as it receives the response from Kamailio it will start sending RTP packets.</div><div><br></div><div>Right now I'm using <span>send_reply("200", "OK"); which is sending the right 200 response back to the client, but it doesn't include any body.</span></div><div><span><br></span></div><div><span>How can I get Kamailio to send a "200 OK" and add the <span>rtpengine_answer into the body?</span></span></div><div><br></div><div>Appreciate any help, I've been struggling with this for three days.</div><div><br></div><div>Cheers.</div><div><br></div><div><br></div><div>rtpengine_offer("SIP-source-address ICE=force-relay RTP");</div><div><span><div>send_reply("200", "OK");</div><div><br></div></span><br></div></div></body></html>