Hi Bogdan,<br><br>Have you seen my opensips.cfg file. Is that correct ?<br><br>Thanks,<br>Prem<br><br><br><div class="gmail_quote">On Thu, May 27, 2010 at 7:19 PM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The reply you posted seams to come from opensips (see the Server<br>
header)...it seams the REGISTER gets to opensips, but opensips cannot<br>
forward it (the RURI is not resolvable via DNS).<br>
<br>
Maybe you can post the full SIP trace from xlite diagnostic.<br>
<div class="im"><br>
Regards,<br>
Bogdan<br>
<br>
<br>
Premalatha Kuppan wrote:<br>
</div><div class="im">&gt; I couldn&#39;t see any log at Opensips.<br>
&gt;<br>
&gt; I have attached my /usr/local/etc/opensips/opensips.cfg file too.<br>
&gt; Please tell me whats wrong in that.<br>
&gt;<br>
&gt; Also i have set SIP_DOMAIN=opensips (export SIP_DOMAIN=opensips)<br>
&gt;<br>
&gt; At xlite: Diagnostic log: i see 476 unresolvable destination<br>
&gt; RECEIVE TIME: 3545688717<br>
</div>&gt; RECEIVE &lt;&lt; <a href="http://10.140.1.110:5060" target="_blank">10.140.1.110:5060</a> &lt;<a href="http://10.140.1.110:5060" target="_blank">http://10.140.1.110:5060</a>&gt;<br>
<div><div></div><div class="h5">&gt; SIP/2.0 *476 Unresolvable destination (476/TM) *<br>
&gt; Via: SIP/2.0/UDP<br>
&gt; 10.140.1.103:5060;rport=5060;branch=z9hG4bK7D40C114C611CB3CD48AB170D43528DC<br>
&gt;<br>
&gt; From: 100 &lt;sip:100@opensips&gt;;tag=230907502<br>
&gt; To: 100 &lt;sip:100@opensips&gt;;tag=65a8173f323da42f74a97c90a2e694f7-b6e3<br>
&gt; Call-ID: 1A300741EB1C1E842BFF6333D8D43E60@opensips<br>
&gt; CSeq: 48981 REGISTER<br>
&gt; Server: OpenSIPS (1.6.2-tls (x86_64/linux))<br>
&gt; Content-Length: 0<br>
&gt;<br>
&gt; 1. When i start opensips, /etc/init.d/opensips - it shows running. But<br>
&gt; after some time,<br>
&gt; when i check the status: /etc/init.d/opensips status: I see &quot;opensips<br>
&gt; dead but subsys locked&quot;<br>
&gt;<br>
&gt; 2. Also, when Opensips is running, i tried &quot;*opensipsctl ul show*&quot;,<br>
&gt; iam getting following error,<br>
&gt; &quot;opensipsctl ul show<br>
&gt; database engine &#39;MYSQL&#39; loaded<br>
&gt; Control engine &#39;FIFO&#39; loaded<br>
&gt; entering fifo_cmd ul_dump<br>
&gt; ERROR: Error opening OpenSIPS&#39;s FIFO /tmp/opensips_fifo<br>
&gt; ERROR: Make sure you have the line &#39;modparam(&quot;mi_fifo&quot;, &quot;fifo_name&quot;,<br>
&gt; &quot;/tmp/opensips_fifo&quot;)&#39; in your config<br>
&gt; ERROR: and also have loaded the mi_fifo module.<br>
&gt; &quot;<br>
&gt; mi_fifo is.so is available. But opensips_fifo is not available in that<br>
&gt; directory. From where should i copy the opensips_fifo in to /tmp.<br>
&gt;<br>
&gt;<br>
&gt; Can you please help me. I have attached my .cfg file.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Prem<br>
&gt;<br>
&gt; On Wed, May 26, 2010 at 1:04 AM, Bogdan-Andrei Iancu<br>
</div></div><div><div></div><div class="h5">&gt; &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Do you see the REGISTER getting to your opensips ? what is the reply<br>
&gt;     send back to xlite?<br>
&gt;<br>
&gt;     Regards,<br>
&gt;     Bogdan<br>
&gt;<br>
&gt;     Premalatha Kuppan wrote:<br>
&gt;     &gt; Thanks, meaning in my config file do i need to uncomment the<br>
&gt;     following<br>
&gt;     &gt; (below mail from you) and comment the following lines ?,<br>
&gt;     &gt; # authenticate the REGISTER requests (uncomment to enable auth)<br>
&gt;     &gt;         if (!www_authorize(&quot;10.140.1.110&quot;, &quot;subscriber&quot;))<br>
&gt;     &gt;         {<br>
&gt;     &gt;             www_challenge(&quot;10.140.1.110&quot;, &quot;0&quot;);<br>
&gt;     &gt;             exit;<br>
&gt;     &gt;         }<br>
&gt;     &gt;<br>
&gt;     &gt; I tried this too...But still facing problem.<br>
&gt;     &gt;<br>
&gt;     &gt; Probably my set up overview:<br>
&gt;     &gt; 1.Opensips 1.6.2_tls: i hav etaken the src code and compiled on Red<br>
&gt;     &gt; Hat Linux 5 enterprise version.<br>
&gt;     &gt; 2. MySQL is running on seperate PC (10.10.1.2), i created the<br>
&gt;     MySQL of<br>
&gt;     &gt; OPENSIPS in that seperate PC (10.10.1.2)<br>
&gt;     &gt; 3. copied the opensips.init and opensips.default from packaging/rpm<br>
&gt;     &gt; 4. created user using opensipsctl add 200 200<br>
&gt;     &gt; 5. corresponding entries updated in MySQL. I have changed the<br>
&gt;     &gt; SIP_DOMIAN to opensips.<br>
&gt;     &gt; 6. Now testing call flow through xlite. i hav included in /etc/hosts<br>
&gt;     &gt; opensips domain IP.<br>
&gt;     &gt;<br>
&gt;     &gt; Can you please help me. Where the problem is ? How to fix it. I<br>
&gt;     &gt; appreciate your kind help.<br>
&gt;     &gt;<br>
&gt;     &gt; On Fri, May 21, 2010 at 7:57 PM, Stefano Pisani<br>
&gt;     &gt; &lt;<a href="mailto:stefano.pisani@omnianet.it">stefano.pisani@omnianet.it</a> &lt;mailto:<a href="mailto:stefano.pisani@omnianet.it">stefano.pisani@omnianet.it</a>&gt;<br>
&gt;     &lt;mailto:<a href="mailto:stefano.pisani@omnianet.it">stefano.pisani@omnianet.it</a><br>
&gt;     &lt;mailto:<a href="mailto:stefano.pisani@omnianet.it">stefano.pisani@omnianet.it</a>&gt;&gt;&gt; wrote:<br>
&gt;     &gt;<br>
&gt;     &gt;     you uncommented the wrong lines.<br>
&gt;     &gt;     you have to uncomment these lines<br>
&gt;     &gt;<br>
&gt;     &gt;         # authenticate if from local subscriber (uncomment to<br>
&gt;     enable auth)<br>
&gt;     &gt;         # authenticate all initial non-REGISTER request that<br>
&gt;     pretend to be<br>
&gt;     &gt;         # generated by local subscriber (domain from FROM URI is<br>
&gt;     local)<br>
&gt;     &gt;         ##if (!(method==&quot;REGISTER&quot;) &amp;&amp; from_uri==myself) /*no<br>
&gt;     &gt;     multidomain version*/<br>
&gt;     &gt;         ##if (!(method==&quot;REGISTER&quot;) &amp;&amp; is_from_local())<br>
&gt;      /*multidomain<br>
&gt;     &gt;     version*/<br>
&gt;     &gt;         ##{<br>
&gt;     &gt;         ##    if (!proxy_authorize(&quot;&quot;, &quot;subscriber&quot;)) {<br>
&gt;     &gt;         ##        proxy_challenge(&quot;&quot;, &quot;0&quot;);<br>
&gt;     &gt;         ##        exit;<br>
&gt;     &gt;         ##    }<br>
&gt;     &gt;         ##    if (!db_check_from()) {<br>
&gt;     &gt;         ##        sl_send_reply(&quot;403&quot;,&quot;Forbidden auth ID&quot;);<br>
&gt;     &gt;         ##        exit;<br>
&gt;     &gt;         ##    }<br>
&gt;     &gt;         ##<br>
&gt;     &gt;         ##    consume_credentials();<br>
&gt;     &gt;         ##    # caller authenticated<br>
&gt;     &gt;         ##}<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;     Il 21/05/2010 16:21, Premalatha Kuppan ha scritto:<br>
&gt;     &gt;&gt;     I hv attached my opensips.cfg file<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;     On Fri, May 21, 2010 at 7:37 PM, Premalatha Kuppan<br>
&gt;     &gt;&gt;     &lt;<a href="mailto:premalatha@ngintech.com">premalatha@ngintech.com</a> &lt;mailto:<a href="mailto:premalatha@ngintech.com">premalatha@ngintech.com</a>&gt;<br>
</div></div>&gt;     &lt;mailto:<a href="mailto:premalatha@ngintech.com">premalatha@ngintech.com</a> &lt;mailto:<a href="mailto:premalatha@ngintech.com">premalatha@ngintech.com</a>&gt;&gt;&gt;<br>
<div class="im">&gt;     wrote:<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;         Yes<br>
&gt;     &gt;&gt;         I created using opensipsctrl add 200 200<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;         But, even in log file i cudn&#39;t see nything :(<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;         Iam Opensips running on RHEL, and MySQL on seperate<br>
&gt;     machine.<br>
&gt;     &gt;&gt;         Xlite from one Machine A, i changed the /etc/hosts also.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;         On Fri, May 21, 2010 at 7:28 PM, Stefano Pisani<br>
&gt;     &gt;&gt;         &lt;<a href="mailto:stefano.pisani@omnianet.it">stefano.pisani@omnianet.it</a><br>
&gt;     &lt;mailto:<a href="mailto:stefano.pisani@omnianet.it">stefano.pisani@omnianet.it</a>&gt;<br>
</div><div class="im">&gt;     &gt;&gt;         &lt;mailto:<a href="mailto:stefano.pisani@omnianet.it">stefano.pisani@omnianet.it</a><br>
</div><div><div></div><div class="h5">&gt;     &lt;mailto:<a href="mailto:stefano.pisani@omnianet.it">stefano.pisani@omnianet.it</a>&gt;&gt;&gt; wrote:<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;             did you create the user?<br>
&gt;     &gt;&gt;             post your opensips.cfg<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;             s<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;             Il 21/05/2010 15:48, Premalatha Kuppan ha scritto:<br>
&gt;     &gt;&gt;&gt;             Hi,<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;             When i run /etc/int.d/opensips it show running,<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;             /etc/init.d/opensips start<br>
&gt;     &gt;&gt;&gt;             Starting<br>
&gt;     &gt;&gt;&gt;             opensips:<br>
&gt;     [  OK  ]<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;             But, cudn&#39;t register xlite to Opensips. No info can be<br>
&gt;     &gt;&gt;&gt;             found in the log file.<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;             Please help.<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;             [root@204548-4 ~]# tail -f /var/log/messages<br>
&gt;     &gt;&gt;&gt;             May 21 09:34:05 204548-4<br>
&gt;     /usr/local/sbin/opensips[8938]:<br>
&gt;     &gt;&gt;&gt;             INFO:sl:mod_init: Initializing StateLess engine<br>
&gt;     &gt;&gt;&gt;             May 21 09:34:05 204548-4<br>
&gt;     /usr/local/sbin/opensips[8938]:<br>
&gt;     &gt;&gt;&gt;             INFO:tm:mod_init: TM - initializing...<br>
&gt;     &gt;&gt;&gt;             May 21 09:34:05 204548-4<br>
&gt;     /usr/local/sbin/opensips[8938]:<br>
&gt;     &gt;&gt;&gt;             INFO:maxfwd:mod_init: initializing...<br>
&gt;     &gt;&gt;&gt;             May 21 09:34:05 204548-4<br>
&gt;     /usr/local/sbin/opensips[8938]:<br>
&gt;     &gt;&gt;&gt;             INFO:usrloc:ul_init_locks: locks array size 512<br>
&gt;     &gt;&gt;&gt;             May 21 09:34:05 204548-4<br>
&gt;     /usr/local/sbin/opensips[8938]:<br>
&gt;     &gt;&gt;&gt;             INFO:registrar:mod_init: initializing...<br>
&gt;     &gt;&gt;&gt;             May 21 09:34:05 204548-4<br>
&gt;     /usr/local/sbin/opensips[8938]:<br>
&gt;     &gt;&gt;&gt;             INFO:textops:mod_init: initializing...<br>
&gt;     &gt;&gt;&gt;             May 21 09:34:05 204548-4<br>
&gt;     /usr/local/sbin/opensips[8938]:<br>
&gt;     &gt;&gt;&gt;             INFO:xlog:mod_init: initializing...<br>
&gt;     &gt;&gt;&gt;             May 21 09:34:05 204548-4<br>
&gt;     /usr/local/sbin/opensips[8938]:<br>
&gt;     &gt;&gt;&gt;             INFO:acc:mod_init: initializing...<br>
&gt;     &gt;&gt;&gt;             May 21 09:34:05 204548-4<br>
&gt;     /usr/local/sbin/opensips[8938]:<br>
&gt;     &gt;&gt;&gt;             INFO:auth:mod_init: initializing...<br>
&gt;     &gt;&gt;&gt;             May 21 09:34:05 204548-4<br>
&gt;     /usr/local/sbin/opensips[8938]:<br>
&gt;     &gt;&gt;&gt;             INFO:auth_db:mod_init: initializing...<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;             Thanks,<br>
&gt;     &gt;&gt;&gt;             Prem<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;&gt;             _______________________________________________<br>
&gt;     &gt;&gt;&gt;             Users mailing list<br>
&gt;     &gt;&gt;&gt;             <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
</div></div>&gt;     &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt; &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<div class="im">&gt;     &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;&gt;<br>
&gt;     &gt;&gt;&gt;<br>
&gt;     <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;     &gt;&gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;             _______________________________________________<br>
&gt;     &gt;&gt;             Users mailing list<br>
&gt;     &gt;&gt;             <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt; &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<div class="im">&gt;     &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;     _______________________________________________<br>
&gt;     &gt;&gt;     Users mailing list<br>
&gt;     &gt;&gt;     <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
</div>&gt;     &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;&gt;<br>
<div class="im">&gt;     &gt;&gt;     <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;     &gt;&gt;<br>
&gt;     &gt;<br>
&gt;     &gt;     _______________________________________________<br>
&gt;     &gt;     Users mailing list<br>
&gt;     &gt;     <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
</div>&gt;     &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;&gt;<br>
<div class="im">&gt;     &gt;     <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     ------------------------------------------------------------------------<br>
&gt;     &gt;<br>
&gt;     &gt; _______________________________________________<br>
&gt;     &gt; Users mailing list<br>
&gt;     &gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
&gt;     &gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;     &gt;<br>
&gt;<br>
&gt;<br>
</div>&gt;     --<br>
&gt;     Bogdan-Andrei Iancu<br>
&gt;     <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a> &lt;<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>&gt;<br>
<div><div></div><div class="h5">&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Users mailing list<br>
&gt;     <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
&gt;     <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
<br>
<br>
--<br>
Bogdan-Andrei Iancu<br>
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>