[OpenSIPS-Users] Radius Async

Dragomir Haralambiev goup2010 at gmail.com
Fri Feb 5 13:31:17 CET 2016


2016-02-05 12:35 GMT+02:00 Ionut Ionita <ionutionita at opensips.org>:

> Do you have any other errors? Can you provide the log please?
> After this please do the following:
>
> go to module folder:
>
> cd modules/aaa_radius
>
> from here run the following:
>
> make proper #it's not an error; is just a warning that you should build it
> from the main folder
> FREERADIUS=1 NICER=0 make #here you will also receive a warning; please
> provide output
> nm aaa_radius.so # please provide the output of this
> nm `ldd aaa_radius.so | grep radius | awk '{print $3}'` #and also for this
>
> Thank you
>
> Ionut Ionita
> OpenSIPS Developer
>
> On 02/05/2016 11:51 AM, Dragomir Haralambiev wrote:
>
> make proper working ONLY in main dir
>
> I make follow:
> make clean
> make proper
> make all
> make install
>
> When try to run I receive:
>
>  unknown async command <radius_send_auth>, missing loadmodule?
>
>
> Regards,
> Dragomir
>
> 2016-02-05 11:32 GMT+02:00 Ionut Ionita <ionutionita at opensips.org>:
>
>> The library looks ok. Could you try recompiling the module?
>>
>> cd modules/aaa_radius ; make proper
>>
>> and then recompile it from opensips main folder.
>>
>> Ionut Ionita
>> OpenSIPS Developer
>>
>> On 02/05/2016 11:22 AM, Dragomir Haralambiev wrote:
>>
>> Hi, Thnaks for your replay.
>>
>> I send patched freeradius-client.h.
>>
>> Regards,
>> Dragomir
>>
>> 2016-02-05 11:15 GMT+02:00 Ionut Ionita < <ionutionita at opensips.org>
>> ionutionita at opensips.org>:
>>
>>> Ok! After the patch you should have in the header the following three
>>> lines
>>>
>>> #ifndef RADIUS_ASYNC_SUPPORT
>>>     #define RADIUS_ASYNC_SUPPORT
>>> #endif
>>>
>>> at the very beginning. This helps compiling the async support
>>> for the aaa_radius module only if this patch is applied.
>>>
>>>
>>> Ionut Ionita
>>> OpenSIPS Developer
>>>
>>> On 02/05/2016 10:56 AM, Dragomir Haralambiev wrote:
>>>
>>> Do you want to send freeradius-client.h after the patch?
>>>
>>> 2016-02-05 10:49 GMT+02:00 Dragomir Haralambiev < <goup2010 at gmail.com>
>>> goup2010 at gmail.com>:
>>>
>>>> Yes I apply the patch and then compile Opensips 2.2.
>>>>
>>>> 2016-02-05 10:05 GMT+02:00 Ionut Ionita < <ionutionita at opensips.org>
>>>> ionutionita at opensips.org>:
>>>>
>>>>> Hi Dragomir,
>>>>>
>>>>>     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.
>>>>>
>>>>> Ionut Ionita
>>>>> OpenSIPS Developer
>>>>>
>>>>> On 02/05/2016 01:28 AM, Dragomir Haralambiev wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> I try setup Async in Opensips 2.2
>>>>> .......
>>>>>
>>>>> loadmodule "aaa_radius.so"
>>>>> modparam("aaa_radius", "radius_config",
>>>>> "/etc/radiusclient/radiusclient.conf")
>>>>> ''''''''''
>>>>> async( radius_send_auth("register","regrespons"), return_register );
>>>>> ......
>>>>>
>>>>>
>>>>> I receive follow Error:
>>>>>
>>>>>  unknown async command <radius_send_auth>, missing loadmodule?
>>>>>
>>>>> Where is problem?
>>>>>
>>>>> Regards,
>>>>> Dragomir
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> <Users at lists.opensips.org>Users at lists.opensips.org
>>>>> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>>
>>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>>
>> _______________________________________________
>> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160205/e9538c59/attachment-0001.htm>


More information about the Users mailing list