<div dir="ltr"><div><div><div><div><div><div><div><div><div>Dear all,<br><br></div>i have installed opensips-cp 5.0 version.<br></div>in cdrviewer i can see NoData Found.<br><br></div>and also in monit, i can see<br></div>
primary sip server: <a href="http://192.168.2.39:2812">192.168.2.39:2812</a><br></div>i cant connect.<br><br></div>iam attaching opensips.cfg file,pls have a glance and advice me to slove the issues.<br><br>==========================================================<br>
#<br># $Id: opensips.cfg 9742 2013-02-05 10:24:48Z vladut-paiu $<br>#<br># OpenSIPS residential configuration script<br># by OpenSIPS Solutions <<a href="mailto:team@opensips-solutions.com">team@opensips-solutions.com</a>><br>
#<br># This script was generated via "make menuconfig", from<br># the "Residential" scenario.<br># You can enable / disable more features / functionalities by<br># re-generating the scenario with different options.#<br>
#<br># Please refer to the Core CookBook at:<br># <a href="http://www.opensips.org/Resources/DocsCookbooks">http://www.opensips.org/Resources/DocsCookbooks</a><br># for a explanation of possible statements, functions and parameters.<br>
#<br><br><br>####### Global Parameters #########<br><br>debug=3<br>log_stderror=no<br>log_facility=LOG_LOCAL0<br><br>fork=yes<br>children=4<br><br>/* uncomment the following lines to enable debugging */<br>#debug=6<br>#fork=no<br>
#log_stderror=yes<br><br>/* uncomment the next line to enable the auto temporary blacklisting of <br> not available destinations (default disabled) */<br>#disable_dns_blacklist=no<br><br>/* uncomment the next line to enable IPv6 lookup after IPv4 dns <br>
lookup failures (default disabled) */<br>#dns_try_ipv6=yes<br><br>/* comment the next line to enable the auto discovery of local aliases<br> based on revers DNS on IPs */<br>auto_aliases=yes<br><br><br>#listen=udp:<a href="http://127.0.0.1:5060">127.0.0.1:5060</a> # CUSTOMIZE ME<br>
listen=udp:<a href="http://192.168.2.39:5060">192.168.2.39:5060</a><br><br>#disable_tcp=yes<br><br>#disable_tls=yes<br><br><br>####### Modules Section ########<br><br>#set module path<br>mpath="/usr/lib/opensips/modules/"<br>
<br>#### SIGNALING module<br>loadmodule "signaling.so"<br>loadmodule "db_mysql.so"<br>loadmodule "auth.so"<br>loadmodule "auth_db.so"<br><br>#### StateLess module<br>loadmodule "sl.so"<br>
<br>#### Transaction Module<br>loadmodule "tm.so"<br>modparam("tm", "fr_timer", 5)<br>modparam("tm", "fr_inv_timer", 30)<br>modparam("tm", "restart_fr_on_each_reply", 0)<br>
modparam("tm", "onreply_avp_mode", 1)<br><br>#### Record Route Module<br>loadmodule "rr.so"<br>/* do not append from tag to the RR (no need for this script) */<br>modparam("rr", "append_fromtag", 0)<br>
<br>#### MAX ForWarD module<br>loadmodule "maxfwd.so"<br><br>#### SIP MSG OPerationS module<br>loadmodule "sipmsgops.so"<br><br>#### FIFO Management Interface<br>loadmodule "mi_fifo.so"<br>modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")<br>
modparam("mi_fifo", "fifo_mode", 0666)<br><br>#### URI module<br>loadmodule "uri.so"<br>modparam("uri", "use_uri_table", 0)<br><br>#### USeR LOCation module<br>loadmodule "usrloc.so"<br>
modparam("usrloc", "nat_bflag", "NAT")<br>#modparam("usrloc", "db_mode", 0)<br>modparam("usrloc", "db_mode", 2)<br>modparam("usrloc", "db_url", "mysql://opensips:opensipsrw@opensips/opensips")<br>
<br>modparam("auth_db", "calculate_ha1", yes)<br>modparam("auth_db", "password_column", "password")<br>modparam("auth_db", "db_url", "mysql://opensips:opensipsrw@opensips/opensips")<br>
<br><br><br>#### REGISTRAR module<br>loadmodule "registrar.so"<br>modparam("registrar", "tcp_persistent_flag", "TCP_PERSISTENT")<br><br>/* uncomment the next line not to allow more than 10 contacts per AOR */<br>
#modparam("registrar", "max_contacts", 10)<br><br>#### ACCounting module<br>loadmodule "acc.so"<br>/* what special events should be accounted ? */<br>modparam("acc", "early_media", 0)<br>
modparam("acc", "report_cancels", 0)<br>/* by default we do not adjust the direct of the sequential requests.<br> if you enable this parameter, be sure the enable "append_fromtag"<br> in "rr" module */<br>
modparam("acc", "detect_direction", 0)<br>modparam("acc", "failed_transaction_flag", "ACC_FAILED")<br>/* account triggers (flags) */<br>modparam("acc", "log_flag", "ACC_DO")<br>
modparam("acc", "log_missed_flag", "ACC_MISSED")<br>modparam("acc", "db_url", "mysql://opensips:opensipsrw@opensips/opensips")modparam("acc", "db_extra", "caller_id=$fu; callee_id=$tu")<br>
<br><br><br><br><br>loadmodule "mi_xmlrpc.so" <br>modparam("mi_xmlrpc", "port", 8000)<br><br><br><br><br>####### Routing Logic ########<br><br># main request routing logic<br><br>route{<br> if (!mf_process_maxfwd_header("10")) {<br>
sl_send_reply("483","Too Many Hops");<br> exit;<br> };<br> if (msg:len >= 2048 ) {<br> sl_send_reply("513", "Message too big");<br>
exit;<br> };<br><br> if (!method=="REGISTER") record_route();<br> if (loose_route()) {<br> append_hf("P-hint: rr-enforced\r\n");<br> route(1);<br>
exit;<br> };<br> if (!uri==myself) {<br> append_hf("P-hint: outbound\r\n");<br> route(1);<br> exit;<br> };<br> if (uri==myself) {<br>
if (method=="REGISTER") {<br> save("location");<br> exit;<br> };<br> if(method=="INVITE") { <br>
if (uri =~ "sip:0[[0-9]@*"){<br> route(3);<br> exit;<br> }<br> }<br> lookup("aliases");<br> if (!uri==myself) {<br>
append_hf("P-hint: outbound alias\r\n");<br> route(1);<br> exit;<br> };<br> if (!lookup("location")) {<br>
sl_send_reply("404", "Not Found");<br> exit;<br> };<br> };<br> append_hf("P-hint: usrloc applied\r\n");<br> route(1);<br>
}<br>route[1]<br>{<br> if (!t_relay()) {<br> sl_reply_error();<br> };<br>}<br>route[3]{<br><br> if (uri =~ "sip:0[[0-9]@*"){ <br> log(1, "Forwarding to Asterisk \n"); <br>
rewritehostport("<a href="http://192.168.2.39:5060">192.168.2.39:5060</a>"); <br> route(1);<br> exit;<br>}<br>}<br>==========================================================<br></div>Thanks in advance<br>
<br></div>And i am using libxmlrpc-c3 version 1.06.27<br><br></div>Please advice<br><div><div><br></div></div></div>