<div>Yes it is related to my earlier question and your information helped me.</div><div> </div><div>Again you have pointed me in the right direction. I did see retransmissons from kamailio.</div><div>Doing  a 't' action in the ACK ceased resending of the 200 OK i used t_relay it resolved my issue and this is convenient as </div><div>as I can send to my media service and parse data from it.</div><div> </div><div>The only thing I still need to work out is how to get data set on the INVITE sdp (rtp media ports). I will experiment with the</div><div>dlg_vars as suggested</div><div> </div><div>Thank you and the earlier posters.</div><div> </div><div>I got to say people are very knowledgeable here and helpful :)</div><div> </div><div> </div><div>10.03.2016, 16:06, "Kristian F. Høgh" <kfh@uni-tel.dk>:</div><blockquote type="cite"><div style="font-family:Monospace;font-size:9pt;font-weight:400;font-style:normal;"><p style="margin:0px;">Hi,</p><p style="margin:0px;"> </p><p style="margin:0px;">Is your question related to <span style="font-size:12px;color:#1f1c1b;background-color:#ffffff;">t_newtran() and t_reply("200", "OK")?</span></p><p style="margin:0px;">(<a href="http://lists.sip-router.org/pipermail/sr-users/2016-March/092123.html">http://lists.sip-router.org/pipsermail/sr-users/2016-March/092123.html</a>)</p><p style="margin:0px;">Then you should be able to drop the ACK using "exit;"</p><p style="margin:0px;">tm module should see the ACK is related to the "200 OK".</p><p style="margin:0px;"> </p><p style="margin:0px;">Do you see retransmissions from kamailio?</p><p style="margin:0px;"> </p><p style="margin:0px;">Regards,</p><p style="margin:0px;">Kristian Høgh</p><p style="margin:0px;">Uni-tel A/S</p><p style="margin:0px;"> </p><p style="margin:0px;"> </p><p style="margin:0px;"> </p><p style="margin:0px;">On Thursday 10 March 2016 04:00:24 jaflong jaflong wrote:</p><p style="margin:0px;">> Hi Everyone</p><p style="margin:0px;">></p><p style="margin:0px;">> I am manually processing sdp and handling media so I want to repond to ACK myself instead of forwarding on for media server.</p><p style="margin:0px;">></p><p style="margin:0px;">> I catch the method=="ACK" condition. From within this condition how do I retrieve avp variables that were set in the INVITE.</p><p style="margin:0px;">> Requesting $avp("myvar") comes out as null.</p><p style="margin:0px;">></p><p style="margin:0px;">> Also what function can I run so the ACK is replied to properly so it stops resending 200 OK of the Invite.</p><p style="margin:0px;">></p><p style="margin:0px;">> _______________________________________________</p><p style="margin:0px;">> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list</p><p style="margin:0px;">> <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a></p><p style="margin:0px;">> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></p><p style="margin:0px;"><br />--</p><p style="margin:0px;"><span style="font-family:"Arial,sans-serif";font-weight:600;color:#5a5b5d;">Kristian Høgh</span></p><p style="background-color:#ffffff;margin:0px;"><span style="font-family:"Arial,sans-serif";font-size:10pt;color:#5a5b5d;"> </span></p><p style="background-color:#ffffff;margin:0px;"><img src="cid:1896504906@KDE" /></p><p style="background-color:#ffffff;margin:0px;"><span style="font-family:"Arial,sans-serif";color:#5a5b5d;"> </span></p><p style="background-color:#ffffff;margin:0px;"><span style="font-family:"Arial,sans-serif";color:#5a5b5d;">Telefon: <span>4422 8822</span></span></p><p style="background-color:#ffffff;margin:0px;"><a href="mailto:support@uni-tel.dk"><span style="font-family:"Arial,sans-serif";text-decoration:underline;color:#0563c1;">support@uni-tel.dk</span></a></p><p style="background-color:#ffffff;margin:0px;"><span style="font-family:"Arial,sans-serif";color:#5a5b5d;"> </span></p><p style="background-color:#ffffff;margin:0px;"><span style="font-family:"Arial,sans-serif";color:#5a5b5d;">Gydevang 19 | 3450 Allerød</span></p><p style="background-color:#ffffff;margin:0px;"><a href="http://www.uni-tel.dk/"><span style="font-family:"Arial,sans-serif";text-decoration:underline;color:#5a5b5d;">www.uni-tel.dk </span></a></p></div>,<p>_______________________________________________<br />SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br /><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br /><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></p></blockquote>