Dear Daniel,<br>Now the new issue. Seems now openser is trying to talk with radius server. But still I am getting the one error in syslog which is as follows.<br><br>rc_send_server: no reply from RADIUS server <a href="http://128-185-38-162.totisp.net:1812">128-185-38-162.totisp.net:1812</a><br>
<br>Actually I have written only 128.185.38.162 in auth_server in radiusclient.conf. I don&#39;t know how this <a href="http://totisp.net">totisp.net</a> is added. I haven&#39;t mentioned it anywhere. <br><br>Please help me.<br>
Thanks.<br><br>Regards,<br>Pratik<br><br><div class="gmail_quote">On Mon, Aug 2, 2010 at 11:44 AM, Pratik Shrestha <span dir="ltr">&lt;<a href="mailto:pratikdbl@gmail.com">pratikdbl@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear Daniel,<br><br>Before I work for the new version, I am first trying to configure old version of openser and radius. I am using openser version 1.0.1 and radius client version 0.5.1 and I am following the tutorial given in <a href="http://kamailio.net/docs/openser-radius-1.0.x.html" target="_blank">http://kamailio.net/docs/openser-radius-1.0.x.html</a>.<br>

<br>My freeradius server is in another machine and when I use radclient to check the user I made, I get the &quot;Authenticated&quot; message.<br>But when I use X-lite and connect to openser, it seems openser is not talking with freeradius servers. I am sure the &quot;secret&quot; I am using is right as I have already tested from radclient. The log which I am getting in openser is as shown below<br>

<br>9(1986) SIP Request:<br> 9(1986)  method:  &lt;REGISTER&gt;<br> 9(1986)  uri:     &lt;sip:192.168.0.56&gt;<br> 9(1986)  version: &lt;SIP/2.0&gt;<br> 9(1986) parse_headers: flags=2<br> 9(1986) Found param type 232, &lt;branch&gt; = &lt;z9hG4bK-d8754z-c33212005635f16c-1---d8754z-&gt;; state=6<br>

 9(1986) Found param type 235, &lt;rport&gt; = &lt;n/a&gt;; state=17<br> 9(1986) end of header reached, state=5<br> 9(1986) parse_headers: Via found, flags=2<br> 9(1986) parse_headers: this is the first via<br> 9(1986) After parse_msg...<br>

 9(1986) preparing to run routing scripts...<br> 9(1986) parse_headers: flags=100<br> 9(1986) DEBUG:maxfwd:is_maxfwd_present: value = 70 <br> 9(1986) parse_headers: flags=10<br> 9(1986) DEBUG:parse_to:end of header reached, state=9<br>

 9(1986) DEBUG: get_hdr_field: &lt;To&gt; [44]; uri=[sip:101%<a href="http://40kamailio.org" target="_blank">40kamailio.org</a>@<a href="http://192.168.0.56" target="_blank">192.168.0.56</a>] <br> 9(1986) DEBUG: to body [&quot;101&quot;&lt;sip:101%<a href="http://40kamailio.org" target="_blank">40kamailio.org</a>@<a href="http://192.168.0.56" target="_blank">192.168.0.56</a>&gt;<br>

]<br> 9(1986) DEBUG: add_param: tag=cc6e4259<br> 9(1986) DEBUG:parse_to:end of header reached, state=29<br> 9(1986) <span style="background-color: rgb(255, 255, 102);">radius_is_user_in(): Failure</span><br> 9(1986) parse_headers: flags=200<br>

 9(1986) get_hdr_field: cseq &lt;CSeq&gt;: &lt;2&gt; &lt;REGISTER&gt;<br> 9(1986) DEBUG: get_hdr_body : content_length=0<br> 9(1986) found end of header<br> 9(1986) find_first_route: No Route headers found<br> 9(1986) loose_route: There is no Route HF<br>

 9(1986) grep_sock_info - checking if host==us: 12==9 &amp;&amp;  [192.168.0.56] == [127.0.0.1]<br> 9(1986) grep_sock_info - checking if port 5060 matches port 5060<br> 9(1986) grep_sock_info - checking if host==us: 12==12 &amp;&amp;  [192.168.0.56] == [192.168.0.56]<br>

 9(1986) grep_sock_info - checking if port 5060 matches port 5060<br> 9(1986) grep_sock_info - checking if host==us: 12==9 &amp;&amp;  [192.168.0.56] == [127.0.0.1]<br> 9(1986) grep_sock_info - checking if port 5060 matches port 5060<br>

 9(1986) grep_sock_info - checking if host==us: 12==12 &amp;&amp;  [192.168.0.56] == [192.168.0.56]<br> 9(1986) grep_sock_info - checking if port 5060 matches port 5060<br> 9(1986) check_nonce(): comparing [4c5649b2d78b205e6a5ca1c6dcdc54b84445dd9c] and [4c5649b2d78b205e6a5ca1c6dcdc54b84445dd9c]<br>

 9(1986) <span style="background-color: rgb(255, 255, 51);">ERROR:auth_radius:radius_authorize_sterman: rc_auth failed</span><br> 9(1986) build_auth_hf(): &#39;WWW-Authenticate: Digest realm=&quot;192.168.0.56&quot;, nonce=&quot;4c5649b2d78b205e6a5ca1c6dcdc54b84445dd9c&quot;<br>

&#39;<br> 9(1986) parse_headers: flags=ffffffffffffffff<br> 9(1986) check_via_address(192.168.0.148, 192.168.182.3, 0)<br> 9(1986) DEBUG:destroy_avp_list: destroying list (nil)<br> 9(1986) receive_msg: cleaning up<br><br>

At freeradius also, no request goes from openser.<br><br>Please advise me how to get rid of this problem.<br><br>Best Regards,<br><font color="#888888">Pratik</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Wed, Jul 28, 2010 at 5:56 PM, Pratik Shrestha <span dir="ltr">&lt;<a href="mailto:pratikdbl@gmail.com" target="_blank">pratikdbl@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Thanks a lot. I will give it a try<br><font color="#888888">
<br>
Pratik</font><div><div></div><div><br><br><div class="gmail_quote">On Wed, Jul 28, 2010 at 3:48 PM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<div><br>
<br>
On 7/22/10 6:06 AM, Pratik Shrestha wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dear All,<br>
<br>
I am very new to OpenSer. I want to use latest version of OpenSer with Radius. I need the documentation/tutorial on how to do this. Googling, Ionly found for the old version. Please help me.<br>
</blockquote>
<br></div>
indeed, there is a rather old version:<br>
<br>
<a href="http://www.kamailio.org/docs/openser-radius-1.0.x.html" target="_blank">http://www.kamailio.org/docs/openser-radius-1.0.x.html</a><br>
<br>
What I can say now is that you can skip the part of installing kamailio and use next link instead:<br>
<a href="http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.0.x-from-git" target="_blank">http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.0.x-from-git</a><br>
<br>
Radius client library is now in most of common Linux distributions, so you can install it with the package manager (you need the devel headers as well, the -dev package).<br>
<br>
FreeRadius configuration should be more or less the same.<br>
<br>
The config of kamailio has changed quite a lot. Use the default one from kamailio, follow the WITH_AUTH define conditions and replace auth_db with auth_radius modules and functions. Also, the rest of radius modules were merged into misc_radius. For enabling radius acc, you need to recompile acc module after editing the Makefile in module directory.<br>



<br>
Hope it helps to start, ask here if you get stuck.<div><div></div><div><br>
<br>
Cheers,<br>
Daniel<br>
<br>
-- <br>
Daniel-Constantin Mierla<br>
<a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a><br>
<br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>