<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1442904584851_12755"><span>Hello again,</span></div><div id="yui_3_16_0_1_1442904584851_12755"><span><br></span></div><div id="yui_3_16_0_1_1442904584851_12755"><span id="yui_3_16_0_1_1442904584851_13114">Thank you for your answer. As you could see in kamailio.cfg file, debugger module its already loaded and cfgtrace param is set to 1.</span></div><div id="yui_3_16_0_1_1442904584851_12755"><span id="yui_3_16_0_1_1442904584851_13115">Attached you can find the logs from syslog and from Phonerlite. Now thats a little bit awkward for me, maybe this is a stupid question, but why am I unable to see if the credentials are checked for this user? from what I understand from phonerlite logs, the user is registered based only on the realm - am I right? </span></div><div id="yui_3_16_0_1_1442904584851_12755" dir="ltr"><span id="yui_3_16_0_1_1442904584851_13578">Am I doing right if I'm using radius_www_authorize function in REGISTRAR route? </span></div><div id="yui_3_16_0_1_1442904584851_12755" dir="ltr"><span><br></span></div><div id="yui_3_16_0_1_1442904584851_12755" dir="ltr"><span id="yui_3_16_0_1_1442904584851_14095">Please, have a look at the attached files, maybe you will understand what I'm doing wrong there.</span></div><div id="yui_3_16_0_1_1442904584851_12755" dir="ltr"><span><br></span></div><div id="yui_3_16_0_1_1442904584851_12755" dir="ltr">My level of knowledges is beginner but unfortunately I am under pressure to solve this as quickly as possible.</div><div id="yui_3_16_0_1_1442904584851_12755" dir="ltr"><br></div><div id="yui_3_16_0_1_1442904584851_12755" dir="ltr">Thank you for your time and thank you again for any help you can provide !</div><div id="yui_3_16_0_1_1442904584851_12755" dir="ltr"><br></div><div id="yui_3_16_0_1_1442904584851_12755" dir="ltr">Best regards,</div><div id="yui_3_16_0_1_1442904584851_12755" dir="ltr"><br></div><div id="yui_3_16_0_1_1442904584851_12755" dir="ltr"><br></div><div id="yui_3_16_0_1_1442904584851_12755" dir="ltr"><br></div><div id="yui_3_16_0_1_1442904584851_12755" dir="ltr">p.s: At this point, if I am using radius_proxy_authorize in AUTH route I'm receiveing an UNAUTHORIZED answer. </div>  <br><div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"> <font size="2" face="Arial"> On Tuesday, September 22, 2015 11:45 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container"><div id="yiv6702638362"><div>
    Hello,<br clear="none">
    <br clear="none">
    with a quick search I couldn't see any log related to radius for
    runtime. Maybe the part with radius functions is not executed. Load
    debugger module and set its cfgtrace parameter to 1. The register
    with the phone and see if the radius authentication function is
    executed. If not, look to see what are the actions executed (you
    should see the name of the functions and lines) and why is not going
    to the radius auth part.<br clear="none">
    <br clear="none">
    Cheers,<br clear="none">
    Daniel<br clear="none">
    <br clear="none">
    <div class="yiv6702638362yqt4596552992" id="yiv6702638362yqt27597"><div class="yiv6702638362moz-cite-prefix">On 21/09/15 16:40, Ciolpan Ionut-Marian
      wrote:<br clear="none">
    </div>
    <blockquote type="cite">
      <div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
        <div id="yiv6702638362yui_3_16_0_1_1442835373339_9969"><span id="yiv6702638362yui_3_16_0_1_1442835373339_11104">Hi</span></div>
        <div id="yiv6702638362yui_3_16_0_1_1442835373339_9969"><span><br clear="none">
          </span></div>
        <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442835373339_9969">syslog file
          contains the logs of <b id="yiv6702638362yui_3_16_0_1_1442835373339_11096">service
            kamailio restart</b>  command after I've set debug=3 in
          kamailio.cfg</div>
        <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442835373339_9969">log kam.txt
          contains the logs of kamailio -E -ddd command.</div>
        <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442835373339_9969"><br clear="none">
        </div>
        <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442835373339_9969">Please have
          a look at the attached files(syslog and log kam.txt), maybe
          you can find some valuable information there (I don't).</div>
        <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442835373339_9969">Also if you
          can, please take a look at kamailio.cfg file. Maybe I
          configured something wrong here.</div>
        <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442835373339_9969"><br clear="none">
        </div>
        <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442835373339_9969">Thank you
          very much for your help!</div>
        <br clear="none">
        <div class="yiv6702638362qtdSeparateBR"><br clear="none">
          <br clear="none">
        </div>
        <div class="yiv6702638362yahoo_quoted" style="display:block;">
          <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
            <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
              <div dir="ltr"> <font face="Arial" size="2"> On Monday,
                  September 21, 2015 1:48 PM, Daniel-Constantin Mierla
                  <a rel="nofollow" shape="rect" class="yiv6702638362moz-txt-link-rfc2396E" ymailto="mailto:miconda@gmail.com" target="_blank" href="mailto:miconda@gmail.com"><miconda@gmail.com></a> wrote:<br clear="none">
                </font> </div>
              <br clear="none">
              <br clear="none">
              <div class="yiv6702638362y_msg_container">
                <div id="yiv6702638362">
                  <div> Hello,<br clear="none">
                    <br clear="none">
                    run kamailio with debug=3 in kamailio.cfg and look
                    inside syslog file -- you should see a lot of debug
                    messages, try to spot if radius module prints some
                    hints about what is happening.<br clear="none">
                    <br clear="none">
                    A really old tutorial, maybe still useful to read to
                    understand some concepts on this topic:<br clear="none">
                    <br clear="none">
                      - <a rel="nofollow" shape="rect" class="yiv6702638362moz-txt-link-freetext" target="_blank" href="http://www.kamailio.org/docs/kamailio-radius-1.0.x.html">http://www.kamailio.org/docs/kamailio-radius-1.0.x.html</a><br clear="none">
                    <br clear="none">
                    Cheers,<br clear="none">
                    Daniel<br clear="none">
                    <br clear="none">
                    <div class="yiv6702638362yqt9409844101" id="yiv6702638362yqt75757">
                      <div class="yiv6702638362moz-cite-prefix">On
                        21/09/15 09:09, Ciolpan Ionut-Marian wrote:<br clear="none">
                      </div>
                      <blockquote type="cite">
                        <div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;">
                          <div id="yiv6702638362yui_3_16_0_1_1442817622816_3578">Hi,</div>
                          <div id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><br clear="none">
                          </div>
                          <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578">I
                            want to implement Kamailio with Radius
                            authentication. To be more exactly I want to
                            register SIP users (PhonerLite and/or Jitsi)
                            based on the credentials stored in <b>radcheck</b>
                            table from radius database.</div>
                          <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><br clear="none">
                          </div>
                          <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578">First
                            of all, I have tried to register SIP users
                            based on the credentials stored in <b id="yiv6702638362yui_3_16_0_1_1442817622816_4054">users</b>
                            file from <b>/etc/raddb</b> directory. In
                            order to do this,I am using <b id="yiv6702638362yui_3_16_0_1_1442817622816_3955">auth_radius</b>
                            module (you can find the content of my <b id="yiv6702638362yui_3_16_0_1_1442817622816_4024">kamailio.cfg</b>
                            file in the attachements) but without
                            success. All of the SIP users are registeres
                            successfully even if they are not specified
                            in users file.</div>
                          <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><br clear="none">
                          </div>
                          <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578">Can
                            you provide me some help to achieve this
                            task? and also, can you explain to me how
                            should I do this authentication based on the
                            credentials stored in radcheck table?</div>
                          <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><br clear="none">
                          </div>
                          <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578">The
                            content of users file in /etc/raddb: </div>
                          <div dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><b id="yiv6702638362yui_3_16_0_1_1442817622816_3962">usertest@mydomain_name
                              Auth-Type := Digest, User-Password ==
                              "*89Lob?p"</b></div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><b id="yiv6702638362yui_3_16_0_1_1442817622816_3961">        Reply-Message
                              = "Authenticated"</b></div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><br clear="none">
                          </div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><br clear="none">
                          </div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><br clear="none">
                          </div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><span id="yiv6702638362yui_3_16_0_1_1442817622816_4139">Thank you for any help
                              you can provide !</span></div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><br clear="none">
                          </div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><span id="yiv6702638362yui_3_16_0_1_1442817622816_4141">Best regards </span></div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><span><br clear="none">
                            </span></div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><span><br clear="none">
                            </span></div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><span id="yiv6702638362yui_3_16_0_1_1442817622816_4217">PS: kamailio 4.0.5</span></div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><span id="yiv6702638362yui_3_16_0_1_1442817622816_4189">       freeradius
                              2.2.0<br clear="none">
                            </span></div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><span id="yiv6702638362yui_3_16_0_1_1442817622816_4216">       radclient 2.2.0</span></div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><span><br clear="none">
                            </span></div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3578"><span id="yiv6702638362yui_3_16_0_1_1442817622816_4238">PPS: I managed to
                              register SIP users based on the
                              credentials stored in subscriber table
                              from kamailio db. <br clear="none">
                            </span></div>
                          <div class="yiv6702638362" dir="ltr" id="yiv6702638362yui_3_16_0_1_1442817622816_3952"><br clear="none" class="yiv6702638362" id="yiv6702638362yui_3_16_0_1_1442817622816_3954">
                          </div>
                        </div>
                        <br clear="none">
                        <fieldset class="yiv6702638362mimeAttachmentHeader"></fieldset>
                        <br clear="none">
                        <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a rel="nofollow" shape="rect" class="yiv6702638362moz-txt-link-abbreviated" ymailto="mailto:sr-users@lists.sip-router.org" target="_blank" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a rel="nofollow" shape="rect" class="yiv6702638362moz-txt-link-freetext" target="_blank" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                      </blockquote>
                    </div>
                    <br clear="none">
                    <pre class="yiv6702638362moz-signature">-- 
Daniel-Constantin Mierla
<a rel="nofollow" shape="rect" class="yiv6702638362moz-txt-link-freetext" target="_blank" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a rel="nofollow" shape="rect" class="yiv6702638362moz-txt-link-freetext" target="_blank" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a rel="nofollow" shape="rect" class="yiv6702638362moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a>
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - <a rel="nofollow" shape="rect" class="yiv6702638362moz-txt-link-freetext" target="_blank" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a></pre>
                  </div>
                </div>
                <br clear="none">
                <br clear="none">
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote></div>
    <br clear="none">
    <pre class="yiv6702638362moz-signature">-- 
Daniel-Constantin Mierla
<a rel="nofollow" shape="rect" class="yiv6702638362moz-txt-link-freetext" target="_blank" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a rel="nofollow" shape="rect" class="yiv6702638362moz-txt-link-freetext" target="_blank" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a rel="nofollow" shape="rect" class="yiv6702638362moz-txt-link-freetext" target="_blank" href="http://www.asipto.com/">http://www.asipto.com</a>
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - <a rel="nofollow" shape="rect" class="yiv6702638362moz-txt-link-freetext" target="_blank" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a></pre>
  </div></div><br><br></div>  </div> </div>  </div></div></body></html>