<DIV>Hi there,</DIV>
<DIV>If you use DNS server for load balancing... the client receives one of your domain IP addresses according to SRV. I don't see the problem with a call here,&nbsp;cause UAC asks the address&nbsp;only once (before sending INVITE). UAC already has the IP for BYE/reINVITEs. So&nbsp;why would you replicate INVITEs?</DIV>
<DIV>&nbsp;</DIV>
<DIV>If you use IPVS/LVS... I believe you can force SER to insert it's public IP into VIA, so there is no problem with replies. With regard to another requests, I believe load balancer keeps connection template, then when another request comes it would be forwarded to the same ser.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any comments?<BR><BR><B><I>"Greger V. Teigre" &lt;greger@teigre.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Yes, I believe that is so. But still you get a problem if the NAT is <BR>restricted, port-restricted or symmetric... The best would be to load <BR>balance and always make sure that a given client is handled through a given <BR>SER (REGISTER and INVITEs). That includes forwarding INVITEs from one SER to <BR>another... OR you must load balance in front of your servers with one common <BR>public IP.<BR>g-)<BR><BR>Matt Schulte wrote:<BR>&gt; Ack, I didn't even think about NAT. Would these be added before it<BR>&gt; gets sent off to the second proxy? ie:<BR>&gt;<BR>&gt; if (!src_ip==blah.netlogic.net) {<BR>&gt; add_rcv_param();<BR>&gt; t_replicate("blah.netlogic.net", "999");<BR>&gt; };<BR>&gt;<BR>&gt; -----Original Message-----<BR>&gt; From: Greger V. Teigre [mailto:greger@teigre.com]<BR>&gt; Sent: Tuesday, April 05, 2005 7:49 AM<BR>&gt; To: Matt Schulte; kramarv@yahoo.com<BR>&gt; Cc:
 serusers@lists.iptel.org<BR>&gt; Subject: Re: [Serusers] still no help - usrloc synchronization<BR>&gt;<BR>&gt;<BR>&gt; Well, you still have the NAT issues unless you do load balancing and<BR>&gt; your<BR>&gt; SER servers have the same public IP.<BR>&gt; Have you looked at 0.9.0 nathelper function add_rcv_param() ? It will<BR>&gt; add received info to the contact header for the other SER to<BR>&gt; process. Haven't really tried yet...<BR>&gt; g-)<BR>&gt;<BR>&gt; Matt Schulte wrote:<BR>&gt;&gt; I'm starting to lean this direction, using t_replicate and all. I<BR>&gt;&gt; could never get usrloc (db mode) to function properly.. t_replicate<BR>&gt;&gt; is<BR>&gt;<BR>&gt;&gt; a dirty but very effective workaround.<BR>&gt;&gt;<BR>&gt;&gt; -----Original Message-----<BR>&gt;&gt; From: Greger V. Teigre [mailto:greger@teigre.com]<BR>&gt;&gt; Sent: Saturday, April 02, 2005 1:33 AM<BR>&gt;&gt; To: kramarv@yahoo.com<BR>&gt;&gt; Cc: serusers@lists.iptel.org<BR>&gt;&gt; Subject: Re: [Serusers] still no help -
 usrloc synchronization<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; Have a look at this thread:<BR>&gt;&gt; http://lists.iptel.org/pipermail/serusers/2005-January/014669.html<BR>&gt;&gt; g-)<BR>&gt;&gt;<BR>&gt;&gt; Java Rockx wrote:<BR>&gt;&gt;&gt; Tina,<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; I thought I saw you post the other day that you did not want to use<BR>&gt;&gt;&gt; t_replicate(), however, this is probably your best bet to getting<BR>&gt;&gt;&gt; this<BR>&gt;&gt;<BR>&gt;&gt;&gt; to work, IMHO.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Regards,<BR>&gt;&gt;&gt; Paul<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; On Apr 1, 2005 4:08 PM, Tina <KRAMARV@YAHOO.COM>wrote:<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Hi, please help me, I'm stuck with it!!!!!<BR>&gt;&gt;&gt;&gt; I am trying to set up several sers with a shared MySQL database for<BR>&gt;&gt;&gt;&gt; location service.<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; I set in each ser.cfg:<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; modparam("usrloc", "db_mode",
 2)<BR>&gt;&gt;&gt;&gt; modparam("usrloc",<BR>&gt;&gt;&gt;&gt; "db_url","sql://ser:heslo@192.168.25.163/ser")<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; and the servers are not synchronized.<BR>&gt;&gt;&gt;&gt; The I set<BR>&gt;&gt;&gt;&gt; modparam("usrloc", "db_mode", 2)<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; made UAC (Xlite) register to one of the servers.<BR>&gt;&gt;&gt;&gt; I see it via usrloc, but there is no record in "location" mySQL<BR>&gt;&gt;&gt;&gt; table....So others do not see the client and I'm unable to make<BR>&gt;&gt;&gt;&gt; calls....<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Please help how to work with usrloc and mySQL...<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Tina,<BR>&gt;&gt;&gt;&gt; software engineer<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; ________________________________<BR>&gt;&gt;&gt;&gt; Do you Yahoo!?<BR>&gt;&gt;&gt;&gt; Better first dates. More second dates. Yahoo!
 Personals<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; _______________________________________________<BR>&gt;&gt;&gt;&gt; Serusers mailing list<BR>&gt;&gt;&gt;&gt; serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; _______________________________________________<BR>&gt;&gt;&gt; Serusers mailing list<BR>&gt;&gt;&gt; serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers<BR>&gt;&gt;<BR>&gt;&gt; _______________________________________________<BR>&gt;&gt; Serusers mailing list<BR>&gt;&gt; serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers <BR><BR></BLOCKQUOTE><p>
                <hr size=1>Yahoo! Messenger<br> 
Show us what our next emoticon should look like. <a href="http://us.rd.yahoo.com/evt=31855/*http://advision.webevents.yahoo.com/emoticontest">Join the fun.</a>