<div dir="ltr"><div><div><div><div>>  You have any route logic (script) for bellow operation<br></div>Well, I can, if you can wait till Monday.<br><br>> <span class="im"></span>you don't need a database for that.  you can use location table flags<br></div>Can you please describe how to do that? I chosen redis because I need to figure out the proto of the leg_b (called) user pretty fast - mysql is much slower.<br><br>> <span class="im">
</span>that would prevent e2e rtp/savpf.<br></div>e2e=endpoint2endpoint? I don't need it - all traffic comes through my media relay, no p2p<br><br>> <span class="im">
</span>again not needed if incoming is rtp/savpf and so on,<br></div>well, how do you offer to connect RTP/AVP SIP call with RTP/SAVPF WS call? Or maybe I just don't understand the RTP flow - I'm also queit new to all this stuff<br> </div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-14 20:09 GMT+03:00 Juha Heinanen <span dir="ltr"><<a href="mailto:jh@tutpro.com" target="_blank">jh@tutpro.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Murugan Pandian writes:<br>
<br>
>    1. On each registration user's proto is stored in redis database<br>
<br>
</span>you don't need a database for that.  you can use location table flags.<br>
<span class=""><br>
> 2. When rtpengine is being called, Kamailio checks user's proto<br>
>     a) If user is WS and is incoming call, dispatch him to media relay with<br>
> RTP/AVP flag<br>
<br>
</span>that would prevent e2e rtp/savpf.<br>
<span class=""><br>
>     b) If user is WS and is outgoing call (from media relay) send it to the<br>
> endpoint with RTP/SAVPF flag<br>
<br>
</span>again not needed if incoming is rtp/savpf and so on,<br>
<br>
-- juha<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>phone: +37367398493<br>web: <a href="http://abs-telecom.com/" target="_blank">http://abs-telecom.com/</a></div></div></div>
</div>