<HTML><BODY><p style="margin-top: 0px;" dir="ltr">Thanks for an answer. And another question. Is there  any sense to trigger [NATMANAGE] or rtpproxy_manage() after drop()ing 183/180? My Kami is configured to always proxy all possible media between caller and callee.</p> 
<div id="mail-app-auto-default-signature">
 <p dir="ltr">--<br> sent from myMail for Android</p>
</div>понедельник, 16 июля 2018г., 11:13 +03:00 от Daniel-Constantin Mierla <a href="mailto:miconda@gmail.com">miconda@gmail.com</a>:<br><br><blockquote id="mail-app-auto-quote" cite="15317288310000004280" style="border-left:1px solid #FC2C38; margin:0px 0px 0px 10px; padding:0px 0px 0px 10px;">
        



    









        
        


        
        
        
        
        

        
        

        
        



<div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
        <div >
                <base target="_self" href="https://e-aj.my.com/" />
                
                        <div id="style_15317288310000004280_BODY">That's indeed much simpler if works.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 16.07.18 09:34, Yu Boot wrote:<br>
> Thanks for advice.<br>
><br>
> I simplify my task a bit by just pass only first 183/180 answer and<br>
> then drop everything else. Seems to work properly.<br>
><br>
><br>
><br>
> 16.07.2018 10:30, Daniel-Constantin Mierla пишет:<br>
>><br>
>> Hello,<br>
>><br>
>> if you define an onreply_route[x] to be executed for that invite<br>
>> transaction, you can execute 'drop' instead of 'exit' and the reply<br>
>> is not forwarded.<br>
>><br>
>> What is tricky is 'relay only last provisional' -- here you should<br>
>> define the rules specific for the device/your environment and decide<br>
>> when you need to drop or not -- message flags or htable can be<br>
>> options to save some states to track whether to drop or not.<br>
>><br>
>> Cheers,<br>
>> Daniel<br>
><br>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank" >www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" target="_blank" >www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank" >www.linkedin.com/in/miconda</a><br>
Kamailio World Conference -- <a href="http://www.kamailioworld.com" target="_blank" >www.kamailioworld.com</a><br>
<br>
</div>
                        
                
                <base target="_self" href="https://e-aj.my.com/" />
        </div>

        
</div>


</blockquote></BODY></HTML>