<p dir="ltr">Hi Rehan,</p>
<p dir="ltr">No matter which mode you are running rtpproxy in that IP will always be the IP of the machine it is running on. <br>
That means that SDP will take that IP once routed to locally subnet A2B servers.<br>
As far as the A2B detecting SIP user as online or offline based on DB,  I am not too sure about it. If it is realtime then I think it should work out of box. You may need to try it out to know it accurately. </p>
<p dir="ltr">Regards,<br>
Sammy</p>
<div class="gmail_quote">On Jan 30, 2016 02:05, "Ahmed Rehan" <<a href="mailto:ahmed.rehan@gmail.com">ahmed.rehan@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear All <div><br></div><div>I m trying to setup kamailio and asterisk in load balancing with a2billing . Currently all of my VMs, one Kamailio and two asterisks are on same subnet . I have started the RTPproxy like below</div><div><br></div><div>./rtpproxy -s udp:<a href="http://127.0.0.1:7722" target="_blank">127.0.0.1:7722</a> -l X.X.X.153 -m 10000 -M 50000 -u root root -F -d INFO LOG_LOCAL0<br><br></div><div>My question is if all the VMs are on same subnet with same gateway what should be written in the private IP X.X.X.153/<private - ip></div><div><br></div><div>Secondly i m authenticating and registering the SIP on kamailio using the A2B DB . all the dialplan for a2b is being run on asterisk . Now if i want to call SIP peer to Peer like in case of followme case , </div><div><br></div><div>How should i route the calls in Kamailio ? will it be using usr loc module? if so any help will be appreciated </div><div><br></div><div>-- </div><div><br></div><div><br><div>Regards<br>Ahmed Rehan<br></div>
</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">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>