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