<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 &lt;<a href="mailto:team@opensips-solutions.com">team@opensips-solutions.com</a>&gt;<br>
#<br># This script was generated via &quot;make menuconfig&quot;, from<br>#   the &quot;Residential&quot; 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=&quot;/usr/lib/opensips/modules/&quot;<br>
<br>#### SIGNALING module<br>loadmodule &quot;signaling.so&quot;<br>loadmodule &quot;db_mysql.so&quot;<br>loadmodule &quot;auth.so&quot;<br>loadmodule &quot;auth_db.so&quot;<br><br>#### StateLess module<br>loadmodule &quot;sl.so&quot;<br>
<br>#### Transaction Module<br>loadmodule &quot;tm.so&quot;<br>modparam(&quot;tm&quot;, &quot;fr_timer&quot;, 5)<br>modparam(&quot;tm&quot;, &quot;fr_inv_timer&quot;, 30)<br>modparam(&quot;tm&quot;, &quot;restart_fr_on_each_reply&quot;, 0)<br>
modparam(&quot;tm&quot;, &quot;onreply_avp_mode&quot;, 1)<br><br>#### Record Route Module<br>loadmodule &quot;rr.so&quot;<br>/* do not append from tag to the RR (no need for this script) */<br>modparam(&quot;rr&quot;, &quot;append_fromtag&quot;, 0)<br>
<br>#### MAX ForWarD module<br>loadmodule &quot;maxfwd.so&quot;<br><br>#### SIP MSG OPerationS module<br>loadmodule &quot;sipmsgops.so&quot;<br><br>#### FIFO Management Interface<br>loadmodule &quot;mi_fifo.so&quot;<br>modparam(&quot;mi_fifo&quot;, &quot;fifo_name&quot;, &quot;/tmp/opensips_fifo&quot;)<br>
modparam(&quot;mi_fifo&quot;, &quot;fifo_mode&quot;, 0666)<br><br>#### URI module<br>loadmodule &quot;uri.so&quot;<br>modparam(&quot;uri&quot;, &quot;use_uri_table&quot;, 0)<br><br>#### USeR LOCation module<br>loadmodule &quot;usrloc.so&quot;<br>
modparam(&quot;usrloc&quot;, &quot;nat_bflag&quot;, &quot;NAT&quot;)<br>#modparam(&quot;usrloc&quot;, &quot;db_mode&quot;,   0)<br>modparam(&quot;usrloc&quot;, &quot;db_mode&quot;, 2)<br>modparam(&quot;usrloc&quot;, &quot;db_url&quot;, &quot;mysql://opensips:opensipsrw@opensips/opensips&quot;)<br>
<br>modparam(&quot;auth_db&quot;, &quot;calculate_ha1&quot;, yes)<br>modparam(&quot;auth_db&quot;, &quot;password_column&quot;, &quot;password&quot;)<br>modparam(&quot;auth_db&quot;, &quot;db_url&quot;, &quot;mysql://opensips:opensipsrw@opensips/opensips&quot;)<br>
<br><br><br>#### REGISTRAR module<br>loadmodule &quot;registrar.so&quot;<br>modparam(&quot;registrar&quot;, &quot;tcp_persistent_flag&quot;, &quot;TCP_PERSISTENT&quot;)<br><br>/* uncomment the next line not to allow more than 10 contacts per AOR */<br>
#modparam(&quot;registrar&quot;, &quot;max_contacts&quot;, 10)<br><br>#### ACCounting module<br>loadmodule &quot;acc.so&quot;<br>/* what special events should be accounted ? */<br>modparam(&quot;acc&quot;, &quot;early_media&quot;, 0)<br>
modparam(&quot;acc&quot;, &quot;report_cancels&quot;, 0)<br>/* by default we do not adjust the direct of the sequential requests.<br>   if you enable this parameter, be sure the enable &quot;append_fromtag&quot;<br>   in &quot;rr&quot; module */<br>
modparam(&quot;acc&quot;, &quot;detect_direction&quot;, 0)<br>modparam(&quot;acc&quot;, &quot;failed_transaction_flag&quot;, &quot;ACC_FAILED&quot;)<br>/* account triggers (flags) */<br>modparam(&quot;acc&quot;, &quot;log_flag&quot;, &quot;ACC_DO&quot;)<br>
modparam(&quot;acc&quot;, &quot;log_missed_flag&quot;, &quot;ACC_MISSED&quot;)<br>modparam(&quot;acc&quot;, &quot;db_url&quot;, &quot;mysql://opensips:opensipsrw@opensips/opensips&quot;)modparam(&quot;acc&quot;, &quot;db_extra&quot;, &quot;caller_id=$fu; callee_id=$tu&quot;)<br>
<br><br><br><br><br>loadmodule &quot;mi_xmlrpc.so&quot; <br>modparam(&quot;mi_xmlrpc&quot;, &quot;port&quot;, 8000)<br><br><br><br><br>####### Routing Logic ########<br><br># main request routing logic<br><br>route{<br>        if (!mf_process_maxfwd_header(&quot;10&quot;)) {<br>
                sl_send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);<br>                exit;<br>        };<br>        if (msg:len &gt;=  2048 ) {<br>                sl_send_reply(&quot;513&quot;, &quot;Message too big&quot;);<br>
                exit;<br>        };<br><br>        if (!method==&quot;REGISTER&quot;) record_route();<br>        if (loose_route()) {<br>                append_hf(&quot;P-hint: rr-enforced\r\n&quot;);<br>                route(1);<br>
                exit;<br>        };<br>        if (!uri==myself) {<br>                append_hf(&quot;P-hint: outbound\r\n&quot;);<br>                route(1);<br>                exit;<br>        };<br>        if (uri==myself) {<br>
                if (method==&quot;REGISTER&quot;) {<br>                        save(&quot;location&quot;);<br>                        exit;<br>                };<br>                if(method==&quot;INVITE&quot;) {           <br>
                   if (uri =~ &quot;sip:0[[0-9]@*&quot;){<br>                     route(3);<br>                        exit;<br>                }<br>                }<br>                lookup(&quot;aliases&quot;);<br>                if (!uri==myself) {<br>
                        append_hf(&quot;P-hint: outbound alias\r\n&quot;);<br>                        route(1);<br>                         exit;<br>                };<br>                if (!lookup(&quot;location&quot;)) {<br>
                        sl_send_reply(&quot;404&quot;, &quot;Not Found&quot;);<br>                        exit;<br>                };<br>        };<br>        append_hf(&quot;P-hint: usrloc applied\r\n&quot;);<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 =~ &quot;sip:0[[0-9]@*&quot;){                   <br>        log(1, &quot;Forwarding to Asterisk \n&quot;);         <br>
        rewritehostport(&quot;<a href="http://192.168.2.39:5060">192.168.2.39:5060</a>&quot;);      <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>