<div dir="ltr">Now my Makefile begin with follow lines:<div><div><br></div><div>ifeq (&quot;$(FREERADIUS)&quot;, &quot;&quot;)</div><div>ifneq (&quot;$(wildcard /usr/include/freeradius-client.h)&quot;,&quot;&quot;)</div><div>FREERADIUS=1</div><div>endif</div><div>endif</div></div><div><br></div><div>I compile with :<br><span style="font-size:12.8px">FREERADIUS=1 make all<br></span><span style="font-size:12.8px">FREERADIUS=1 make install<br></span><br>Problem still exists!</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-05 16:28 GMT+02:00 Ionut Ionita <span dir="ltr">&lt;<a 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">
    Can you try this patch?<br>
    And when you compile try <br>
    FREERADIUS=1 make all<span class="HOEnZb"><font color="#888888"><br>
    <pre cols="72">Ionut Ionita
OpenSIPS Developer</pre></font></span><div><div class="h5">
    <div>On 02/05/2016 04:08 PM, Dragomir
      Haralambiev wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">I do this but problem is not resolved
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2016-02-05 15:27 GMT+02:00 Ionut Ionita
          <span dir="ltr">&lt;<a 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"> Uncomment the first
              line <br>
              <span> <br>
                FREERADIUS=1
                <div># freeradius libs check (must be done in toplevel
                  makefile)</div>
                <div>ifneq (&quot;$(wildcard
                  /usr/include/freeradius-client.h)&quot;,&quot;&quot;)</div>
                <div>FREERADIUS=1</div>
                <div>else</div>
                <div>#FREERADIUS=0</div>
              </span>
              <div>endif<br>
                <br>
                and compile OpenSIPS again. We will try to fix that
                because<br>
                it&#39;s quite hard to configure.<span><font color="#888888"><br>
                  </font></span></div>
              <span><font color="#888888"> <br>
                  <pre cols="72">Ionut Ionita
OpenSIPS Developer</pre>
                </font></span>
              <div>
                <div>
                  <div>On 02/05/2016 03:23 PM, Dragomir Haralambiev
                    wrote:<br>
                  </div>
                  <blockquote 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 (&quot;$(wildcard
                        /usr/include/freeradius-client.h)&quot;,&quot;&quot;)</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 href="mailto:ionutionita@opensips.org" target="_blank"></a><a 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&#39;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><font color="#888888"><br>
                                <br>
                                <pre cols="72">Ionut Ionita
OpenSIPS Developer</pre>
                              </font></span>
                            <div>
                              <div>
                                <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 href="mailto:ionutionita@opensips.org" target="_blank"></a><a 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"> 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&#39;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 &#39;{print $3}&#39;`
                                          #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 href="mailto:ionutionita@opensips.org" target="_blank"></a><a 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">
                                                        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 href="mailto:ionutionita@opensips.org" target="_blank"></a><a 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">
                                                          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 href="mailto:goup2010@gmail.com" target="_blank"></a><a href="mailto:goup2010@gmail.com" target="_blank">goup2010@gmail.com</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 href="mailto:ionutionita@opensips.org" target="_blank"></a><a 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">
                                                          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&#39;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
&quot;aaa_radius.so&quot;</div>
                                                          <div>modparam(&quot;aaa_radius&quot;,
&quot;radius_config&quot;,
&quot;/etc/radiusclient/radiusclient.conf&quot;)<br>
                                                          </div>
                                                          <div>&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;&#39;</div>
                                                          async(
                                                          radius_send_auth(&quot;register&quot;,&quot;regrespons&quot;),
                                                          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 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>
                                                          <br>
                                                          </div>
                                                          <br>
_______________________________________________<br>
                                                          Users mailing
                                                          list<br>
                                                          <a href="mailto:Users@lists.opensips.org" target="_blank"></a><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"></a><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>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          <br>
                                                          <fieldset></fieldset>
                                                          <br>
                                                          <pre>_______________________________________________
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>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <br>
_______________________________________________<br>
                                                          Users mailing
                                                          list<br>
                                                          <a href="mailto:Users@lists.opensips.org" target="_blank"></a><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"></a><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>
                                                          <br>
                                                          <fieldset></fieldset>
                                                          <br>
                                                          <pre>_______________________________________________
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>
                                                          <br>
                                                          </div>
                                                        </div>
                                                      </div>
                                                      <br>
_______________________________________________<br>
                                                      Users mailing list<br>
                                                      <a href="mailto:Users@lists.opensips.org" target="_blank"></a><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" rel="noreferrer" target="_blank"></a><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>
                                                <br>
                                                <fieldset></fieldset>
                                                <br>
                                                <pre>_______________________________________________
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>
                                              <br>
                                            </div>
                                          </div>
                                        </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" 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 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>
                                <br>
                              </div>
                            </div>
                          </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" 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 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>
                  <br>
                </div>
              </div>
            </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" 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 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>
    <br>
  </div></div></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" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>