<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, cause UAC asks the address only once (before sending INVITE). UAC already has the IP for BYE/reINVITEs. So why would you replicate INVITEs?</DIV>
<DIV> </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> </DIV>
<DIV>Any comments?<BR><BR><B><I>"Greger V. Teigre" <greger@teigre.com></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>> Ack, I didn't even think about NAT. Would these be added before it<BR>> gets sent off to the second proxy? ie:<BR>><BR>> if (!src_ip==blah.netlogic.net) {<BR>> add_rcv_param();<BR>> t_replicate("blah.netlogic.net", "999");<BR>> };<BR>><BR>> -----Original Message-----<BR>> From: Greger V. Teigre [mailto:greger@teigre.com]<BR>> Sent: Tuesday, April 05, 2005 7:49 AM<BR>> To: Matt Schulte; kramarv@yahoo.com<BR>> Cc:
serusers@lists.iptel.org<BR>> Subject: Re: [Serusers] still no help - usrloc synchronization<BR>><BR>><BR>> Well, you still have the NAT issues unless you do load balancing and<BR>> your<BR>> SER servers have the same public IP.<BR>> Have you looked at 0.9.0 nathelper function add_rcv_param() ? It will<BR>> add received info to the contact header for the other SER to<BR>> process. Haven't really tried yet...<BR>> g-)<BR>><BR>> Matt Schulte wrote:<BR>>> I'm starting to lean this direction, using t_replicate and all. I<BR>>> could never get usrloc (db mode) to function properly.. t_replicate<BR>>> is<BR>><BR>>> a dirty but very effective workaround.<BR>>><BR>>> -----Original Message-----<BR>>> From: Greger V. Teigre [mailto:greger@teigre.com]<BR>>> Sent: Saturday, April 02, 2005 1:33 AM<BR>>> To: kramarv@yahoo.com<BR>>> Cc: serusers@lists.iptel.org<BR>>> Subject: Re: [Serusers] still no help -
usrloc synchronization<BR>>><BR>>><BR>>> Have a look at this thread:<BR>>> http://lists.iptel.org/pipermail/serusers/2005-January/014669.html<BR>>> g-)<BR>>><BR>>> Java Rockx wrote:<BR>>>> Tina,<BR>>>><BR>>>> I thought I saw you post the other day that you did not want to use<BR>>>> t_replicate(), however, this is probably your best bet to getting<BR>>>> this<BR>>><BR>>>> to work, IMHO.<BR>>>><BR>>>> Regards,<BR>>>> Paul<BR>>>><BR>>>> On Apr 1, 2005 4:08 PM, Tina <KRAMARV@YAHOO.COM>wrote:<BR>>>>><BR>>>>> Hi, please help me, I'm stuck with it!!!!!<BR>>>>> I am trying to set up several sers with a shared MySQL database for<BR>>>>> location service.<BR>>>>><BR>>>>> I set in each ser.cfg:<BR>>>>><BR>>>>> modparam("usrloc", "db_mode",
2)<BR>>>>> modparam("usrloc",<BR>>>>> "db_url","sql://ser:heslo@192.168.25.163/ser")<BR>>>>><BR>>>>> and the servers are not synchronized.<BR>>>>> The I set<BR>>>>> modparam("usrloc", "db_mode", 2)<BR>>>>><BR>>>>><BR>>>>> made UAC (Xlite) register to one of the servers.<BR>>>>> I see it via usrloc, but there is no record in "location" mySQL<BR>>>>> table....So others do not see the client and I'm unable to make<BR>>>>> calls....<BR>>>>><BR>>>>><BR>>>>> Please help how to work with usrloc and mySQL...<BR>>>>><BR>>>>> Tina,<BR>>>>> software engineer<BR>>>>><BR>>>>> ________________________________<BR>>>>> Do you Yahoo!?<BR>>>>> Better first dates. More second dates. Yahoo!
Personals<BR>>>>><BR>>>>><BR>>>>> _______________________________________________<BR>>>>> Serusers mailing list<BR>>>>> serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers<BR>>>>><BR>>>>><BR>>>>><BR>>>><BR>>>> _______________________________________________<BR>>>> Serusers mailing list<BR>>>> serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers<BR>>><BR>>> _______________________________________________<BR>>> Serusers mailing list<BR>>> 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>