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 -----> Kamailio LB -----> Kamailio server01</div>
<div><div>Client B -----> Kamailio LB -----> 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 "Message" and "Invite".</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="/usr/local/lib64/kamailio/modules_k/:/usr/local/lib64/kamailio/modules/"</div>
<div><br></div><div>loadmodule "sl.so"</div><div>loadmodule "tm.so"</div><div>loadmodule "rr.so"</div><div>loadmodule "maxfwd.so"</div><div>loadmodule "usrloc.so"</div><div>
loadmodule "registrar.so"</div><div>loadmodule "textops.so"</div><div>loadmodule "mi_fifo.so"</div><div>loadmodule "dispatcher.so"</div><div>loadmodule "db_mysql.so"</div>
<div><br></div><div><br></div><div># ----------------- setting module-specific parameters ---------------</div><div># -- dispatcher params --</div><div>modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")</div>
<div>modparam("dispatcher", "db_url","mysql://.........@........")</div><div>modparam("usrloc", "db_mode", 0)</div><div>modparam("rr", "enable_full_lr", 1)</div>
<div><br></div><div>route{</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>if (!mf_process_maxfwd_header("10")) {</div><div> sl_send_reply("483","Too Many Hops");</div>
<div> exit;</div><div> };</div><div><br></div><div> # if (!method=="REGISTER")</div><div> # record_route();</div><div> </div><div><span class="Apple-tab-span" style="white-space:pre">        </span> ds_select_dst("1","4");</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>