Hi all,<br>im a new user of openser. how can i use mediaproxy found at <a href="http://www.ag-projects.com">www.ag-projects.com</a> to destribute load on my 2 asterisk servers. I have configured a simple openser server which routes every request to asterisk. now i want to install another asterisk server and openser will be used to destribute calls between the 2. openser is running fine, i need to learn how mediaproxy works along with openser. i have installed the mediaproxy but the following error shows up when starting openser:
<br><br><span style="color: rgb(0, 153, 0);">0(0) ERROR:mediaproxy:mod_init: Bad config - nat ping enabled, but not nat bflag set in usrloc module</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">
0(0) init_mod(): Error while initializing module mediaproxy</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">ERROR: error while initializing modules</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">
0(0) INFO:mi_fifo:mi_destroy: process hasn't been created -> nothing to kill</span><br clear="all"><br>here are the modules and modules parameters:<br><br><span style="color: rgb(0, 153, 0);">loadmodule "mysql.so
"</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">loadmodule "sl.so"</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">loadmodule "tm.so"</span>
<br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">loadmodule "rr.so"</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">loadmodule "maxfwd.so"</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">loadmodule "usrloc.so"</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">loadmodule "registrar.so"</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">loadmodule "textops.so"</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">loadmodule "mi_fifo.so"</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">loadmodule "domain.so"</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">loadmodule "mediaproxy.so"</span><br style="color: rgb(0, 153, 0);">
<span style="color: rgb(0, 153, 0);">loadmodule "xlog.so"</span><br style="color: rgb(0, 153, 0);"><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")
</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">modparam("rr", "enable_full_lr", 1)</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">modparam("domain", "db_url", "
mysql://openser:openser@192.168.0.7/openser")</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">modparam("mediaproxy", "mediaproxy_socket", "/var/run/proxydispatcher.sock")
</span><br style="color: rgb(0, 153, 0);"><span style="color: rgb(0, 153, 0);">modparam("mediaproxy", "natping_interval", 60)</span><br><br>I have no idea what above statements are doing excpet they are bothering me. i use the following link for help
<br><a href="http://voip-info.org/wiki/view/OpenSER+And+Mediaproxy">http://voip-info.org/wiki/view/OpenSER+And+Mediaproxy</a><br><br>-- <br>Best Regards<br>Rizwan Hisham<br>Software Engineer<br>AXVOICE Inc.<br><a href="http://www.axvoice.com">
www.axvoice.com</a>