<div dir="ltr">Ya sure Alexandru monday ok for me(Waiting for your Script :) ) Thanks man</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 14, 2015 at 11:11 PM, Alexandru Covalschi <span dir="ltr"><<a href="mailto:568691@gmail.com" target="_blank">568691@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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.<span class=""><br><br>> <span></span>you don't need a database for that.  you can use location table flags<br></span></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.<span class=""><br><br>> <span>
</span>that would prevent e2e rtp/savpf.<br></span></div>e2e=endpoint2endpoint? I don't need it - all traffic comes through my media relay, no p2p<span class=""><br><br>> <span>
</span>again not needed if incoming is rtp/savpf and so on,<br></span></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"><div><div class="h5"><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>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><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><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><div><br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">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></div></div><span class="HOEnZb"><font color="#888888">-- <br><div><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>
</font></span></div>
<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>
<br></blockquote></div><br></div>