<div dir="ltr"><div dir="ltr">I have open an issue . Please do help me on this . <div><br></div><div>Let me know if anything I can do . Its very important for me as I am middle of delivering my build . </div><div><br></div><div><a href="https://github.com/OpenSIPS/opensips/issues/1488">https://github.com/OpenSIPS/opensips/issues/1488</a></div><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 8, 2018 at 1:58 PM Sasmita Panda <<a href="mailto:spanda@3clogic.com">spanda@3clogic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes , you are right . If I am making it 1 , then calls are going to 2nd rtpengine even if 1st one is reachable .<div><br></div><div>I will open an issue . Let me test this for some more calls . </div><div><br></div><div><br clear="all"><div><div dir="ltr" class="m_3494069079291177220gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 8, 2018 at 1:54 PM Răzvan Crainea <<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">if you are doing like that, you are dispatching 3 quarters of traffic to <br>
the first one, and one quarter to the second one, it's not used just for <br>
failover. The second one must be 0 if you want to have it as failover.<br>
If it is not working with 0, please open an issue on github[1].<br>
<br>
[1] <a href="https://github.com/OpenSIPS/opensips/issues" rel="noreferrer" target="_blank">https://github.com/OpenSIPS/opensips/issues</a><br>
<br>
Best regards,<br>
Razvan<br>
<br>
On 10/8/18 11:11 AM, Sasmita Panda wrote:<br>
> After making like below its working fine .<br>
> <br>
> modparam("rtpengine", "rtpengine_sock", "udp:1st_ip:12000 <br>
> <<a href="http://138.197.47.209:12000/" rel="noreferrer" target="_blank">http://138.197.47.209:12000/</a>>=3 udp:2nd_ip:1200 <br>
> <<a href="http://104.131.174.53:1200/" rel="noreferrer" target="_blank">http://104.131.174.53:1200/</a>>0=1")<br>
> <br>
> OR<br>
> <br>
> modparam("rtpengine", "rtpengine_sock", "udp:1st_ip:12000 <br>
> <<a href="http://138.197.47.209:12000/" rel="noreferrer" target="_blank">http://138.197.47.209:12000/</a>>=3")<br>
> modparam("rtpengine", "rtpengine_sock", "udp:2nd_ip:1200 <br>
> <<a href="http://104.131.174.53:1200/" rel="noreferrer" target="_blank">http://104.131.174.53:1200/</a>>0=1")<br>
> <br>
> Now its working . Let me know if I am doing anything wrong .<br>
> <br>
> */Thanks & Regards/*<br>
> /Sasmita Panda/<br>
> /Senior Network Testing and Software Engineer/<br>
> /3CLogic , ph:07827611765/<br>
> <br>
> <br>
> On Mon, Oct 8, 2018 at 1:18 PM Sasmita Panda <<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a> <br>
> <mailto:<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a>>> wrote:<br>
> <br>
> If I am setting 2nd one to 0 , Then offcource 1st one becomes<br>
> primary . But it wont switch to 2nd one when 1st wont reachable .<br>
> <br>
> I am getting error as bellow .<br>
> <br>
> INFO:rtpengine:rtpe_test: rtp proxy <udp:2nd_ip:12000> found,<br>
> support for it enabled<br>
> ERROR:rtpengine:rtpe_function_call: no available proxies<br>
> ERROR:rtpengine:send_rtpe_command: can't send command to a RTP proxy<br>
> ERROR:rtpengine:send_rtpe_command: proxy <udp:1st_ip:12000> does not<br>
> respond, disable it<br>
> ERROR:rtpengine:rtpe_test: proxy did not respond to ping<br>
> <br>
> I have intentionally stopped the 1st one to test if its switching to<br>
> 2nd or not . I am getting this in the logs each time I am placing a<br>
> call .<br>
> <br>
> */Thanks & Regards/*<br>
> /Sasmita Panda/<br>
> /Senior Network Testing and Software Engineer/<br>
> /3CLogic , ph:07827611765/<br>
> <br>
> <br>
> On Mon, Oct 8, 2018 at 12:57 PM Răzvan Crainea <<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a><br>
> <mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>>> wrote:<br>
> <br>
> Hi, Sasmita!<br>
> <br>
> You can try to set a weight of 0 to the second rtpengine socket,<br>
> something like:<br>
> <br>
> modparam("rtpengine", "rtpengine_sock",<br>
> "udp:<a href="http://138.197.47.209:12000" rel="noreferrer" target="_blank">138.197.47.209:12000</a> <<a href="http://138.197.47.209:12000" rel="noreferrer" target="_blank">http://138.197.47.209:12000</a>><br>
> udp:104.131.174.53:1200=0")<br>
> <br>
> Let me know if this works or you're finding any issues.<br>
> <br>
> Best regards,<br>
> Razvan<br>
> <br>
> On 10/8/18 8:40 AM, Sasmita Panda wrote:<br>
> > Hi All ,<br>
> ><br>
> > I am using opensips-2.2 with rtpengine . I have 2 server where<br>
> > rtpengine is running . I want opensips should do failover<br>
> between these<br>
> > 2 server .<br>
> ><br>
> > In my opensips confing is like<br>
> ><br>
> > loadmodule "rtpengine.so"<br>
> > modparam("rtpengine", "rtpengine_sock",<br>
> "udp:<a href="http://138.197.47.209:12000" rel="noreferrer" target="_blank">138.197.47.209:12000</a> <<a href="http://138.197.47.209:12000" rel="noreferrer" target="_blank">http://138.197.47.209:12000</a>><br>
> > <<a href="http://138.197.47.209:12000" rel="noreferrer" target="_blank">http://138.197.47.209:12000</a>> udp:<a href="http://104.131.174.53:1200" rel="noreferrer" target="_blank">104.131.174.53:1200</a><br>
> <<a href="http://104.131.174.53:1200" rel="noreferrer" target="_blank">http://104.131.174.53:1200</a>><br>
> > <<a href="http://104.131.174.53:1200" rel="noreferrer" target="_blank">http://104.131.174.53:1200</a>>")<br>
> ><br>
> > In this case loadbalance happened between 2 rtpenigne , and<br>
> if 1 fails<br>
> > then 2nd one get used . But I dont want this . I want to set<br>
> 1 always<br>
> > 1st priority if that fails then 2nd will get used . How I<br>
> will do this .<br>
> > I am not getting this is opensips module documentation . Can<br>
> anybody<br>
> > please help me .<br>
> ><br>
> > */Thanks & Regards/*<br>
> > /Sasmita Panda/<br>
> > /Senior Network Testing and Software Engineer/<br>
> > /3CLogic , ph:07827611765/<br>
> ><br>
> > _______________________________________________<br>
> > Users mailing list<br>
> > <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><br>
> > <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> ><br>
> <br>
> -- <br>
> Răzvan Crainea<br>
> OpenSIPS Core Developer<br>
> <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
<br>
-- <br>
Răzvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>
</blockquote></div>