Problem with attribute transfer to an external script

2009-03-26 Thread Dmitry Lyubimkov
Hello. We use FreeRADIUS as an intermediate server (proxy) between commercial billing system and radius clients (NAS, servers, etc). In this case it is a question about SIPProxy. The billing system sends some additional attributes. Here a example from FreeRADIUS log: rad_recv: Access-Reject packet

rlm_exec does not change already existing attributes

2006-04-24 Thread Dmitry Lyubimkov
In the rlm_exec module for change of attributes according to result of script it is used if (output_pairs) pairmove(output_pairs, &answer); in function static int exec_dispatch(void *instance, REQUEST *request) But function pairmove in valuepair.c does only the following /*

How it is better to start a script in FreeRadius to change User-Name and realm at proxing?

2006-04-22 Thread Dmitry Lyubimkov
FreeRadius is used for proxing ([EMAIL PROTECTED]) to others RADIUS servers. Also we change the some attributes at proxing. Некоторое время назад была задача при получении accounting менять аттрибут User-Name в зависимости от аттрибутов User-Name, Calling-Station-ID, Called-Station-ID, ... Some ti