Dear All,<div><br></div><div>I am trying to use Kamailio 3.1.x  server (called LB here) as the Load Balancer for two other Kamailio server (called server01 and server02 here) .</div><div><br></div><div>Client  A   -----&gt; Kamailio  LB   -----&gt; Kamailio server01</div>
<div><div>Client  B   -----&gt; Kamailio LB   -----&gt; Kamailio server01</div></div><div><br></div><div>If I dont use LB here ,  and letting Client A and B connect to  Kamailio server01 directly , all the communication is fine.</div>
<div><br></div><div>While using  Kamailio  LB ,without luck, although the sip client  A and B get 200 from server01 for Register,</div><div>they cannot reach each other for &quot;Message&quot; and &quot;Invite&quot;.</div>
<div><br></div><div>It will be great appreciated if anyone can give a hint.</div><div><br></div><div>my config  for Kamailio LB is as below  :</div><div>==========================================<br><div>....</div><div>debug=2          # debug level (cmd line: -dddddddddd)</div>
<div>fork=yes</div><div>log_stderror=yes  # (cmd line: -E)</div><div><br></div><div>children=2</div><div>check_via=no      # (cmd. line: -v)</div><div>dns=off           # (cmd. line: -r)</div><div>rev_dns=off       # (cmd. line: -R)</div>
<div>port=5060</div><div><br></div><div># for more info: sip_router -h</div><div><br></div><div># ------------------ module loading ----------------------------------</div><div>mpath=&quot;/usr/local/lib64/kamailio/modules_k/:/usr/local/lib64/kamailio/modules/&quot;</div>
<div><br></div><div>loadmodule &quot;sl.so&quot;</div><div>loadmodule &quot;tm.so&quot;</div><div>loadmodule &quot;rr.so&quot;</div><div>loadmodule &quot;maxfwd.so&quot;</div><div>loadmodule &quot;usrloc.so&quot;</div><div>
loadmodule &quot;registrar.so&quot;</div><div>loadmodule &quot;textops.so&quot;</div><div>loadmodule &quot;mi_fifo.so&quot;</div><div>loadmodule &quot;dispatcher.so&quot;</div><div>loadmodule &quot;db_mysql.so&quot;</div>
<div><br></div><div><br></div><div># ----------------- setting module-specific parameters ---------------</div><div># -- dispatcher params --</div><div>modparam(&quot;mi_fifo&quot;, &quot;fifo_name&quot;, &quot;/tmp/openser_fifo&quot;)</div>
<div>modparam(&quot;dispatcher&quot;, &quot;db_url&quot;,&quot;mysql://.........@........&quot;)</div><div>modparam(&quot;usrloc&quot;, &quot;db_mode&quot;,   0)</div><div>modparam(&quot;rr&quot;, &quot;enable_full_lr&quot;, 1)</div>
<div><br></div><div>route{</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>if (!mf_process_maxfwd_header(&quot;10&quot;)) {</div><div>                sl_send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);</div>
<div>                exit;</div><div>        };</div><div><br></div><div>       #  if (!method==&quot;REGISTER&quot;)</div><div>       #        record_route();</div><div>                </div><div><span class="Apple-tab-span" style="white-space:pre">        </span> ds_select_dst(&quot;1&quot;,&quot;4&quot;);</div>
<div>     forward();</div><div><br></div><div>     exit;</div><div><br></div><div>}</div></div><div>..</div><div>==========================================<br></div><div><br></div><div><br></div><div>best regards,</div><div>
<br></div><div>chanea</div><div><br></div>