<HTML dir=ltr><HEAD><TITLE>Re: [OpenSIPS-Users] high-availability - senario</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18148" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText84178 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Option 2 works fine for me.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Thanks</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> users-bounces@lists.opensips.org on behalf of Stanis&#322;aw Pitucha<BR><B>Sent:</B> Tue 02/02/2010 3:03 PM<BR><B>To:</B> users@lists.opensips.org<BR><B>Subject:</B> Re: [OpenSIPS-Users] high-availability - senario<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>On 02.02.2010 14:17, Julien Chavanton wrote:<BR>&gt; I still have a problem with binding all IP some headers do not have the IP set :<BR>&gt;&nbsp;<BR>&gt; Record-Route: &lt;sip:0.0.0.0;lr;&gt;.<BR>&gt; Via: SIP/2.0/UDP 0.0.0.0;branch=z9hG4bKfc58.1427b764.0.<BR>&gt;&nbsp;<BR>&gt; Is there a way to tell Opensip to use the routing source IP, or other alternative ?<BR><BR>There are two options, (never used the first one though - it might work):<BR><BR>1) advertised_address="1.2.3.4" (your real ip)<BR><BR>2) Set ip_nonlocal_bind via sysctl, which will allow you to bind to an<BR>interface even if it's not available on that host. You can have a hot<BR>standby host this way (on the virtual address), because it will start<BR>getting messages as soon as you update the routing. Just bind to the<BR>address you want instead of 0.0.0.0.<BR><BR>_______________________________________________<BR>Users mailing list<BR>Users@lists.opensips.org<BR><A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR></FONT></P></DIV></BODY></HTML>