Thanks, meaning in my config file do i need to uncomment the following (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 Hat Linux 5 enterprise version.<br>
2. MySQL is running on seperate PC (10.10.1.2), i created the MySQL of 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 SIP_DOMIAN to opensips.<br>6. Now testing call flow through xlite. i hav included in /etc/hosts opensips domain IP.<br><br>Can you please help me. Where the problem is ? How to fix it. I appreciate your kind help.<br>
<br><div class="gmail_quote">On Fri, May 21, 2010 at 7:57 PM, Stefano Pisani <span dir="ltr"><<a href="mailto:stefano.pisani@omnianet.it">stefano.pisani@omnianet.it</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;">
<div bgcolor="#ffffff" text="#000000">
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
multidomain version*/<br>
##if (!(method=="REGISTER") && is_from_local())
/*multidomain 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>
##}<div class="im"><br>
<br>
<br>
Il 21/05/2010 16:21, Premalatha Kuppan ha scritto:
</div><blockquote type="cite">I hv attached my opensips.cfg file<div><div></div><div class="h5"><br>
<br>
<br>
<br>
<br>
<div class="gmail_quote">On Fri, May 21, 2010 at 7:37 PM, Premalatha
Kuppan <span dir="ltr"><<a href="mailto:premalatha@ngintech.com" target="_blank">premalatha@ngintech.com</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;">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.
<div>
<div><br>
<br>
<br>
<div class="gmail_quote">On Fri, May 21, 2010 at 7:28 PM, Stefano
Pisani <span dir="ltr"><<a href="mailto:stefano.pisani@omnianet.it" target="_blank">stefano.pisani@omnianet.it</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;">
<div bgcolor="#ffffff" text="#000000">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:
<blockquote type="cite">
<div>
<div>Hi,<br>
<br>
When i run /etc/int.d/opensips it show running,<br>
<br>
/etc/init.d/opensips start<br>
Starting opensips: [ OK ]<br>
<br>
But, cudn't register xlite to Opensips. No info can be 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]:
INFO:sl:mod_init: Initializing StateLess engine <br>
May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
INFO:tm:mod_init: TM - initializing... <br>
May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
INFO:maxfwd:mod_init: initializing... <br>
May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
INFO:usrloc:ul_init_locks: locks array size 512 <br>
May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
INFO:registrar:mod_init: initializing... <br>
May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
INFO:textops:mod_init: initializing... <br>
May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
INFO:xlog:mod_init: initializing... <br>
May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
INFO:acc:mod_init: initializing... <br>
May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
INFO:auth:mod_init: initializing... <br>
May 21 09:34:05 204548-4 /usr/local/sbin/opensips[8938]:
INFO:auth_db:mod_init: initializing... <br>
<br>
Thanks,<br>
Prem<br>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</div></div></blockquote>
</div>
<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></blockquote></div><br>