<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Uncomment the first line <br>
    <br>
    FREERADIUS=1
    <div># freeradius libs check (must be done in toplevel makefile)</div>
    <div>ifneq ("$(wildcard /usr/include/freeradius-client.h)","")</div>
    <div>FREERADIUS=1</div>
    <div>else</div>
    <div>#FREERADIUS=0</div>
    <div>endif<br>
      <br>
      and compile OpenSIPS again. We will try to fix that because<br>
      it's quite hard to configure.<br>
    </div>
    <br>
    <pre class="moz-signature" cols="72">Ionut Ionita
OpenSIPS Developer</pre>
    <div class="moz-cite-prefix">On 02/05/2016 03:23 PM, Dragomir
      Haralambiev wrote:<br>
    </div>
    <blockquote
cite="mid:CADzurOLs3EcH4M7Oct1jz2BE7wNTddRXLDQe-ixE5O5SaKp55Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>Here is firs lines from my MakeFile</div>
        <div><br>
        </div>
        <div>#FREERADIUS=1</div>
        <div># freeradius libs check (must be done in toplevel makefile)</div>
        <div>ifneq ("$(wildcard /usr/include/freeradius-client.h)","")</div>
        <div>FREERADIUS=1</div>
        <div>else</div>
        <div>#FREERADIUS=0</div>
        <div>endif</div>
        <div> </div>
        <div><br>
        </div>
        <div>I not see the /usr/include/freeradius-client.h</div>
        <div><br>
        </div>
        <div>Regards,</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2016-02-05 15:01 GMT+02:00 Ionut Ionita
          <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:ionutionita@opensips.org" target="_blank">ionutionita@opensips.org</a>&gt;</span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Thank you for your
              time.<br>
              Are you sure you have in your OpenSIPS Makefile
              FREERADIUS=1<br>
              for using freeradius-client.h and not radiusclient-ng?
              It's the first<br>
              commented line in the Makefile<br>
              <br>
              #FREERADIUS=1<br>
              <br>
               Because as I see in the output of nm all the async
              functions from OpenSIPS<br>
               are there and also all the freeradius library async
              functions are there, so the<br>
              used library is correct.<span class="HOEnZb"><font
                  color="#888888"><br>
                  <br>
                  <pre cols="72">Ionut Ionita
OpenSIPS Developer</pre>
                </font></span>
              <div>
                <div class="h5">
                  <div>On 02/05/2016 02:32 PM, Dragomir Haralambiev
                    wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Here is tests</div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">2016-02-05 12:35
                        GMT+02:00 Ionut Ionita <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:ionutionita@opensips.org"
                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:ionutionita@opensips.org">ionutionita@opensips.org</a></a>&gt;</span>:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div bgcolor="#FFFFFF" text="#000000"> Do you
                            have any other errors? Can you provide the
                            log please?<br>
                            After this please do the following:<br>
                            <br>
                            go to module folder:<br>
                            <br>
                            cd modules/aaa_radius<br>
                            <br>
                            from here run the following:<br>
                            <br>
                            make proper #it's not an error; is just a
                            warning that you should build it from the
                            main folder<br>
                            FREERADIUS=1 NICER=0 make #here you will
                            also receive a warning; please provide
                            output<br>
                            nm aaa_radius.so # please provide the output
                            of this<br>
                            nm `ldd aaa_radius.so | grep radius | awk
                            '{print $3}'` #and also for this<br>
                            <br>
                            Thank you<span><font color="#888888"><br>
                                <br>
                                <pre cols="72">Ionut Ionita
OpenSIPS Developer</pre>
                              </font></span>
                            <div>
                              <div>
                                <div>On 02/05/2016 11:51 AM, Dragomir
                                  Haralambiev wrote:<br>
                                </div>
                                <blockquote type="cite">
                                  <div dir="ltr">make proper working
                                    ONLY in main dir<br>
                                    <br>
                                    I make follow:<br>
                                    make clean<br>
                                    make proper<br>
                                    make all<br>
                                    make install<br>
                                    <br>
                                    When try to run I receive:
                                    <div><br>
                                      <span style="font-size:12.8px"> unknown
                                        async command
                                        &lt;radius_send_auth&gt;,
                                        missing loadmodule?</span><br>
                                      <br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>Regards,</div>
                                    <div>Dragomir</div>
                                  </div>
                                  <div class="gmail_extra"><br>
                                    <div class="gmail_quote">2016-02-05
                                      11:32 GMT+02:00 Ionut Ionita <span
                                        dir="ltr">&lt;<a
                                          moz-do-not-send="true"
                                          href="mailto:ionutionita@opensips.org"
                                          target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:ionutionita@opensips.org">ionutionita@opensips.org</a></a>&gt;</span>:<br>
                                      <blockquote class="gmail_quote"
                                        style="margin:0 0 0
                                        .8ex;border-left:1px #ccc
                                        solid;padding-left:1ex">
                                        <div bgcolor="#FFFFFF"
                                          text="#000000"> The library
                                          looks ok. Could you try
                                          recompiling the module?<br>
                                          <br>
                                          cd modules/aaa_radius ; make
                                          proper<br>
                                          <br>
                                          and then recompile it from
                                          opensips main folder.<span><font
                                              color="#888888"><br>
                                              <pre cols="72">Ionut Ionita
OpenSIPS Developer</pre>
                                            </font></span>
                                          <div>
                                            <div>
                                              <div>On 02/05/2016 11:22
                                                AM, Dragomir Haralambiev
                                                wrote:<br>
                                              </div>
                                              <blockquote type="cite">
                                                <div dir="ltr">Hi,
                                                  Thnaks for your
                                                  replay.
                                                  <div><br>
                                                    <div>I send patched
freeradius-client.h. </div>
                                                  </div>
                                                  <div><br>
                                                  </div>
                                                  <div>Regards,</div>
                                                  <div>Dragomir</div>
                                                </div>
                                                <div class="gmail_extra"><br>
                                                  <div
                                                    class="gmail_quote">2016-02-05

                                                    11:15 GMT+02:00
                                                    Ionut Ionita <span
                                                      dir="ltr">&lt;<a
                                                        moz-do-not-send="true"
href="mailto:ionutionita@opensips.org" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:ionutionita@opensips.org">ionutionita@opensips.org</a></a>&gt;</span>:<br>
                                                    <blockquote
                                                      class="gmail_quote"
                                                      style="margin:0 0
                                                      0
                                                      .8ex;border-left:1px
                                                      #ccc
                                                      solid;padding-left:1ex">
                                                      <div
                                                        bgcolor="#FFFFFF"
                                                        text="#000000">
                                                        Ok! After the
                                                        patch you should
                                                        have in the
                                                        header the
                                                        following three
                                                        lines<br>
                                                        <br>
                                                        #ifndef
                                                        RADIUS_ASYNC_SUPPORT<br>
                                                            #define
                                                        RADIUS_ASYNC_SUPPORT<br>
                                                        #endif<br>
                                                        <br>
                                                        at the very
                                                        beginning. This
                                                        helps compiling
                                                        the async
                                                        support<br>
                                                        for the
                                                        aaa_radius
                                                        module only if
                                                        this patch is
                                                        applied.<span><font
color="#888888"><br>
                                                           <br>
                                                          <br>
                                                          <pre cols="72">Ionut Ionita
OpenSIPS Developer</pre>
                                                          </font></span>
                                                        <div>
                                                          <div>
                                                          <div>On
                                                          02/05/2016
                                                          10:56 AM,
                                                          Dragomir
                                                          Haralambiev
                                                          wrote:<br>
                                                          </div>
                                                          <blockquote
                                                          type="cite">
                                                          <div dir="ltr">Do
                                                          you want to
                                                          send freeradius-client.h
                                                          after the
                                                          patch?</div>
                                                          <div
                                                          class="gmail_extra"><br>
                                                          <div
                                                          class="gmail_quote">2016-02-05


                                                          10:49
                                                          GMT+02:00
                                                          Dragomir
                                                          Haralambiev <span
                                                          dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:goup2010@gmail.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:goup2010@gmail.com">goup2010@gmail.com</a></a>&gt;</span>:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">
                                                          <div dir="ltr">Yes

                                                          I apply the
                                                          patch and then
                                                          compile
                                                          Opensips 2.2.</div>
                                                          <div>
                                                          <div>
                                                          <div
                                                          class="gmail_extra"><br>
                                                          <div
                                                          class="gmail_quote">2016-02-05



                                                          10:05
                                                          GMT+02:00
                                                          Ionut Ionita <span
                                                          dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:ionutionita@opensips.org"
                                                          target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:ionutionita@opensips.org">ionutionita@opensips.org</a></a>&gt;</span>:<br>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0
                                                          0 0
                                                          .8ex;border-left:1px
                                                          #ccc
                                                          solid;padding-left:1ex">
                                                          <div
                                                          bgcolor="#FFFFFF"
                                                          text="#000000">
                                                          Hi Dragomir,<br>
                                                              <br>
                                                              Did you
                                                          apply the
                                                          patch on the
                                                          freeradius-client
                                                          library as
                                                          shown in [0]?
                                                          The async
                                                          support for
                                                          aaa_radius
                                                          it's compiled
                                                          only if the
                                                          patch is
                                                          applied on the
                                                          library.<br>
                                                          <br>
                                                          <pre cols="72">Ionut Ionita
OpenSIPS Developer</pre>
                                                          <div>
                                                          <div>
                                                          <div>On
                                                          02/05/2016
                                                          01:28 AM,
                                                          Dragomir
                                                          Haralambiev
                                                          wrote:<br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <blockquote
                                                          type="cite">
                                                          <div>
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>Hello,</div>
                                                          <div><br>
                                                          </div>
                                                          <div>I try
                                                          setup Async in
                                                          Opensips 2.2</div>
                                                          <div>.......</div>
                                                          <div><br>
                                                          </div>
                                                          <div>loadmodule
"aaa_radius.so"</div>
                                                          <div>modparam("aaa_radius",
"radius_config",
"/etc/radiusclient/radiusclient.conf")<br>
                                                          </div>
                                                          <div>''''''''''</div>
                                                          async(
                                                          radius_send_auth("register","regrespons"),
                                                          return_register


                                                          );<br>
                                                          <div>......</div>
                                                          <div><br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>I receive
                                                          follow Error:<br>
                                                          <br>
                                                          <div> unknown
                                                          async command
                                                          &lt;radius_send_auth&gt;,



                                                          missing
                                                          loadmodule?</div>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          <div>Where is
                                                          problem?</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Regards,</div>
                                                          <div>Dragomir</div>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          <br>
                                                          <fieldset></fieldset>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                                                          </blockquote>
                                                          <br>
                                                          </div>
                                                          <br>
_______________________________________________<br>
                                                          Users mailing
                                                          list<br>
                                                          <a
                                                          moz-do-not-send="true"
href="mailto:Users@lists.opensips.org" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a></a><br>
                                                          <a
                                                          moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                                                          target="_blank"><a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></a><br>
                                                          <br>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          <br>
                                                          <fieldset></fieldset>
                                                          <br>
                                                          <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                                                          </blockquote>
                                                          <br>
                                                          </div>
                                                        </div>
                                                      </div>
                                                      <br>
_______________________________________________<br>
                                                      Users mailing list<br>
                                                      <a
                                                        moz-do-not-send="true"
href="mailto:Users@lists.opensips.org" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a></a><br>
                                                      <a
                                                        moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                                                        rel="noreferrer"
                                                        target="_blank"><a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></a><br>
                                                      <br>
                                                    </blockquote>
                                                  </div>
                                                  <br>
                                                </div>
                                                <br>
                                                <fieldset></fieldset>
                                                <br>
                                                <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                                              </blockquote>
                                              <br>
                                            </div>
                                          </div>
                                        </div>
                                        <br>
_______________________________________________<br>
                                        Users mailing list<br>
                                        <a moz-do-not-send="true"
                                          href="mailto:Users@lists.opensips.org"
                                          target="_blank">Users@lists.opensips.org</a><br>
                                        <a moz-do-not-send="true"
                                          href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                                          rel="noreferrer"
                                          target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                                        <br>
                                      </blockquote>
                                    </div>
                                    <br>
                                  </div>
                                  <br>
                                  <fieldset></fieldset>
                                  <br>
                                  <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                                </blockquote>
                                <br>
                              </div>
                            </div>
                          </div>
                          <br>
_______________________________________________<br>
                          Users mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:Users@lists.opensips.org"
                            target="_blank">Users@lists.opensips.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                            rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            Users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
              rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>