<DIV>Yep, it didn't help <IMG src="http://us.i1.yimg.com/us.yimg.com/i/mesg/tsmileys2/02.gif"></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><EM>REGISTER++++fixing contact and port</EM></STRONG></DIV>
<DIV><STRONG><EM>Fix contact: Insert buf - sip:tuka@192.168.25.113:5060<BR>&nbsp;6(1305) ERROR: t_newtran: transaction already in process 0x28361068<BR></EM></STRONG><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">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>

<DIV>The error means that t_newtran has been run while an existing&nbsp;transaction is still in the workings.&nbsp; Have you tried moving your save() to *before* the t_replicate()?</DIV>
<DIV>g-)</DIV>
<DIV>&nbsp;</DIV>
<DIV>---- Original Message ----<BR>From: Tina<BR>To: Matt Schulte<BR>Cc: serusers@lists.iptel.org ; greger@teigre.com<BR>Sent: Tuesday, April 05, 2005 05:00 PM<BR>Subject: RE: [Serusers] still no help - usrloc synchronization<BR><BR>&gt; Thanks a lot, gentelmens!<BR>&gt; <BR>&gt;&nbsp; I have jumped to the same conclusion. The only thing I am worried -<BR>&gt; t_replicate() creates aditional SIP traffic between sers.&nbsp; And I also<BR>&gt; get some strange error with each REGISTER:&nbsp; <BR>&gt; <BR>&gt; 1(712) ERROR: t_newtran: transaction already in process 0x28336768<BR>&gt; <BR>&gt; Don't have any idea what I am doing wrong....<BR>&gt; <BR>&gt; Below is my ser.cfg snippet.<BR>&gt; As far as you see I am using mediaproxy package to solve NAT issues.<BR>&gt; I always force relay, cause I had nathelper problems with<BR>&gt; UAC1-&gt;ser-&gt;NAT-&gt;UAC2 configuration.&nbsp; <BR>&gt; I am going to test new mediaproxy release.<BR>&gt; BRs,<BR>&gt; Tina<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt;
 ============================<BR>&gt; <BR>&gt; . . .<BR>&gt; # -------------------------&nbsp; request routing logic -------------------<BR>&gt; # main routing logic<BR>&gt; route{<BR>&gt; #-------------------------------------------------------<BR>&gt;&nbsp; if (!method=="REGISTER") record_route();<BR>&gt; #-------------------------------------------------------????????????????????<BR>&gt;&nbsp; # loose-route processing<BR>&gt;&nbsp; if (loose_route()) {<BR>&gt;&nbsp;&nbsp; route(8); #--go to mediaproxy processing<BR>&gt;&nbsp;&nbsp; break;<BR>&gt;&nbsp; };<BR>&gt; ...<BR>&gt;&nbsp; if (method=="REGISTER") {<BR>&gt; #------Replicate to the peers<BR>&gt; <BR>&gt; #---Ser 1<BR>&gt;&nbsp;&nbsp;&nbsp; if (!src_ip==192.168.25.103)<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; t_replicate("192.168.25.103","5060");<BR>&gt; #---Ser 2<BR>&gt;&nbsp;&nbsp;&nbsp; if (!src_ip==192.168.25.115)<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; t_replicate("192.168.25.115","5060");<BR>&gt; <BR>&gt;&nbsp; save
 ("location");<BR>&gt;&nbsp; break;<BR>&gt;&nbsp; };<BR>&gt; #-----------------------------------------------INVITE<BR>&gt;&nbsp; if (method=="INVITE") {<BR>&gt;&nbsp;&nbsp; log (1, "INVITE: Radius Accounting\n");<BR>&gt;&nbsp; t_on_failure("4"); #---voice mail<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use_media_proxy();<BR>&gt;&nbsp; t_on_reply("5"); #--mediaproxy<BR>&gt;&nbsp; };<BR>&gt; #--------------------------------------------------BYE<BR>&gt;&nbsp; if (method=="BYE" || method=="CANCEL") {<BR>&gt;&nbsp;&nbsp; log (1, "BYE or CANCEL: Radius Accounting\n");<BR>&gt; };<BR>&gt; #---------------------------------------------------<BR>&gt;&nbsp;&nbsp; if (!lookup("location") &amp;&amp; !lookup("aliases")) {<BR>&gt;&nbsp;&nbsp;&nbsp; sl_send_reply("404", "Not Found");<BR>&gt;&nbsp;&nbsp;&nbsp; break;<BR>&gt;&nbsp;&nbsp; };<BR>&gt;&nbsp; if (!t_relay()) {<BR>&gt;&nbsp;&nbsp; sl_reply_error();<BR>&gt;&nbsp; };<BR>&gt; }<BR>&gt; <BR>&gt;
 #-------------------------------------------------------<BR>&gt; failure_route[4]{<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (t_check_status("408|486")){<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; append_hf("P-hint: Rewrited to VM");<BR>&gt;&nbsp;&nbsp; rewritehostport("192.168.25.116:5060");<BR>&gt;&nbsp;&nbsp; append_branch();<BR>&gt;&nbsp;&nbsp; t_relay();<BR>&gt;&nbsp;&nbsp; break;<BR>&gt;&nbsp; };<BR>&gt; }<BR>&gt; #---------------------------------------------------------<BR>&gt; onreply_route[5]{<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; if (status =~ "(183)|2[0-9][0-9]" &amp;&amp; !search("^Content-Length:\<BR>&gt; 0")) { <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( (!(src_ip=="SERVER1"))<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;&amp; (!(src_ip=="SERVER2"))<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;&amp; (!(src_ip=="SERVER3")) ){<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ( search("c=IN IP4 192.168.*")||search("c=IN IP4<BR>&gt; 10.*")||search("c=IN IP4 172.16.*") ) {
 <BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fix_contact();<BR>&gt;&nbsp; };<BR>&gt; };<BR>&gt;&nbsp; use_media_proxy();<BR>&gt; }<BR>&gt; }<BR>&gt; <BR>&gt; ===================================================<BR>&gt; <BR>&gt; Matt Schulte &lt;mschulte@netlogic.net&gt; wrote:<BR>&gt; I'm starting to lean this direction, using t_replicate and all. I<BR>&gt; could <BR>&gt; never get usrloc (db mode) to function properly.. t_replicate is a<BR>&gt; dirty <BR>&gt; but very effective workaround.<BR>&gt; <BR>&gt; -----Original Message-----<BR>&gt; From: Greger V. Teigre [mailto:greger@teigre.com]<BR>&gt; Sent: Saturday, April 02, 2005 1:33 AM<BR>&gt; To: 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; Have a look at this thread:<BR>&gt; http://lists.iptel.org/pipermail/serusers/2005-January/014669.html<BR>&gt; g-)<BR>&gt; <BR>&gt; Java Rockx wrote:<BR>&gt;&gt; Tina,<BR>&gt;&gt;
 <BR>&gt;&gt; I thought I saw you post the other day that you did not want to use<BR>&gt;&gt; t_replicate(), however, this is probably your best bet to getting<BR>&gt;&gt; this <BR>&gt; <BR>&gt;&gt; to work, IMHO.<BR>&gt;&gt; <BR>&gt;&gt; Regards,<BR>&gt;&gt; Paul<BR>&gt;&gt; <BR>&gt;&gt; On Apr 1, 2005 4:08 PM, Tina wrote:&gt;&gt;<BR>&gt;&gt;&gt; Hi, please help me, I'm stuck with it!!!!!<BR>&gt;&gt;&gt; I am trying to set up several sers with a shared MySQL database for<BR>&gt;&gt;&gt; location service.<BR>&gt;&gt;&gt; <BR>&gt;&gt;&gt; I set in each ser.cfg:<BR>&gt;&gt;&gt; <BR>&gt;&gt;&gt; modparam("usrloc", "db_mode", 2)<BR>&gt;&gt;&gt; modparam("usrloc",<BR>&gt;&gt;&gt; "db_url","sql://ser:heslo@192.168.25.163/ser")<BR>&gt;&gt;&gt; <BR>&gt;&gt;&gt; and the servers are not synchronized.<BR>&gt;&gt;&gt; The I set<BR>&gt;&gt;&gt; modparam("usrloc", "db_mode", 2)<BR>&gt;&gt;&gt; <BR>&gt;&gt;&gt; <BR>&gt;&gt;&gt; made UAC (Xlite) register to one of the servers.<BR>&gt;&gt;&gt; I see
 it via usrloc, but there is no record in "location" mySQL<BR>&gt;&gt;&gt; table....So others do not see the client and I'm unable to make<BR>&gt;&gt;&gt; calls....<BR>&gt;&gt;&gt; <BR>&gt;&gt;&gt; <BR>&gt;&gt;&gt; Please help how to work with usrloc and mySQL...<BR>&gt;&gt;&gt; <BR>&gt;&gt;&gt; Tina,<BR>&gt;&gt;&gt; software engineer<BR>&gt;&gt;&gt; <BR>&gt;&gt;&gt; ________________________________<BR>&gt;&gt;&gt; Do you Yahoo!?<BR>&gt;&gt;&gt; Better first dates. More second dates. Yahoo! Personals<BR>&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;&gt; <BR>&gt;&gt;&gt; <BR>&gt;&gt;&gt; <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>&gt; <BR>&gt;
 _______________________________________________<BR>&gt; Serusers mailing list<BR>&gt; serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Do you Yahoo!?<BR>&gt; Yahoo! Mail - Find what you need with new enhanced search. Learn more.</DIV></BLOCKQUOTE><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com