Dear Klaus,<div><br></div><div>Thanks for your help.  Both the server and clients are behind NAT.</div><div><br></div><div>After adding NAT traversal on the LB , now the clients are able to talk to each other via &quot;MESSAGE&quot; method.</div>
<div><br></div><div>However, there is another issue that ,  every time the client A sends one message to the server ,  the client B gets 3 or 4 copies of it  from the server.</div><div><br></div><div>Any idea how this happen?</div>
<div><br></div><div><br></div><div>best regards,</div><div><br></div><div>chanea</div><div><br></div><div><br><br><div class="gmail_quote">On Fri, Feb 22, 2013 at 12:35 AM, Klaus Darilion <span dir="ltr">&lt;<a href="mailto:klaus.mailinglists@pernau.at" target="_blank">klaus.mailinglists@pernau.at</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are the clients behind NAT? If yes, you have to use proper NAT traversal on the LB. Further, for outgoing INVITEs you have to route the requests through the LB, either by static forwarding to the LB or using the Path extension.<br>

<br>
regards<br>
Klaus<div><div class="h5"><br>
<br>
On <a href="tel:21.02.2013%2012" value="+12102201312" target="_blank">21.02.2013 12</a>:36, chanea wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Dear All,<br>
<br>
I am trying to use Kamailio 3.1.x  server (called LB here) as the Load<br>
Balancer for two other Kamailio server (called server01 and server02 here) .<br>
<br>
Client  A   -----&gt; Kamailio  LB   -----&gt; Kamailio server01<br>
Client  B   -----&gt; Kamailio LB   -----&gt; Kamailio server01<br>
<br>
If I dont use LB here ,  and letting Client A and B connect to  Kamailio<br>
server01 directly , all the communication is fine.<br>
<br>
While using  Kamailio  LB ,without luck, although the sip client  A and<br>
B get 200 from server01 for Register,<br>
they cannot reach each other for &quot;Message&quot; and &quot;Invite&quot;.<br>
<br>
It will be great appreciated if anyone can give a hint.<br>
<br>
my config  for Kamailio LB is as below  :<br>
==============================<u></u>============<br>
....<br>
debug=2          # debug level (cmd line: -dddddddddd)<br>
fork=yes<br>
log_stderror=yes  # (cmd line: -E)<br>
<br>
children=2<br>
check_via=no      # (cmd. line: -v)<br>
dns=off           # (cmd. line: -r)<br>
rev_dns=off       # (cmd. line: -R)<br>
port=5060<br>
<br>
# for more info: sip_router -h<br>
<br>
# ------------------ module loading ------------------------------<u></u>----<br>
mpath=&quot;/usr/local/lib64/<u></u>kamailio/modules_k/:/usr/<u></u>local/lib64/kamailio/modules/&quot;<br>
<br>
loadmodule &quot;sl.so&quot;<br>
loadmodule &quot;tm.so&quot;<br>
loadmodule &quot;rr.so&quot;<br>
loadmodule &quot;maxfwd.so&quot;<br>
loadmodule &quot;usrloc.so&quot;<br>
loadmodule &quot;registrar.so&quot;<br>
loadmodule &quot;textops.so&quot;<br>
loadmodule &quot;mi_fifo.so&quot;<br>
loadmodule &quot;dispatcher.so&quot;<br>
loadmodule &quot;db_mysql.so&quot;<br>
<br>
<br>
# ----------------- setting module-specific parameters ---------------<br>
# -- dispatcher params --<br>
modparam(&quot;mi_fifo&quot;, &quot;fifo_name&quot;, &quot;/tmp/openser_fifo&quot;)<br>
modparam(&quot;dispatcher&quot;, &quot;db_url&quot;,&quot;mysql://.........@..<u></u>......&quot;)<br>
modparam(&quot;usrloc&quot;, &quot;db_mode&quot;,   0)<br>
modparam(&quot;rr&quot;, &quot;enable_full_lr&quot;, 1)<br>
<br>
route{<br>
if (!mf_process_maxfwd_header(&quot;<u></u>10&quot;)) {<br>
                 sl_send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);<br>
                 exit;<br>
         };<br>
<br>
        #  if (!method==&quot;REGISTER&quot;)<br>
        #        record_route();<br>
ds_select_dst(&quot;1&quot;,&quot;4&quot;);<br>
      forward();<br>
<br>
      exit;<br>
<br>
}<br>
..<br>
==============================<u></u>============<br>
<br>
<br>
best regards,<br>
<br>
chanea<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org" target="_blank">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>dev</a><br>
<br>
</blockquote>
</blockquote></div><br></div>