<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"><<a href="mailto:ionutionita@opensips.org" target="_blank">ionutionita@opensips.org</a>></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 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 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
<radius_send_auth>, 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"><<a href="mailto:ionutionita@opensips.org" target="_blank">ionutionita@opensips.org</a>></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"><<a href="mailto:ionutionita@opensips.org" target="_blank"></a><a href="mailto:ionutionita@opensips.org" target="_blank">ionutionita@opensips.org</a>></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"><<a href="mailto:goup2010@gmail.com" target="_blank"></a><a href="mailto:goup2010@gmail.com" target="_blank">goup2010@gmail.com</a>></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"><<a href="mailto:ionutionita@opensips.org" target="_blank"></a><a href="mailto:ionutionita@opensips.org" target="_blank">ionutionita@opensips.org</a>></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
<radius_send_auth>,
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" 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>
</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">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>