how to store some data in freeradius users file into custom table?
Hi all, is it possible to store IMSI code (IMSI for eap-sim data in users file) from freeradius to a custom table that i made in phpmyadmin, if it's possible can someone show me if the examples of the implementation? what i want to achieve is that for freeradius to store IMSI data to asterisk's real time table or for asterisk to read from freeradius's table for sip.conf and extension.conf username in asterisk files. really need help. thank you
rafa alfurqan wrote:
is it possible to store IMSI code (IMSI for eap-sim data in users file) from freeradius to a custom table that i made in phpmyadmin, if it's possible can someone show me if the examples of the implementation?
Yes. You will need to get the data via a SELECT statement: update control { Attribute-Name := "%{sql: SELECT ...}" }
what i want to achieve is that for freeradius to store IMSI data to asterisk's real time table or for asterisk to read from freeradius's table for sip.conf and extension.conf username in asterisk files.
It's probably easier to make FreeRADIUS read the Asterisk table. Alan DeKok.
Hi,
update control { Attribute-Name := "%{sql: SELECT ...}"
}
in what file should i write that?
It's probably easier to make FreeRADIUS read the Asterisk table.
is there any files/settings that i need to configure to set freeradius to read from asterisk's table? if there is, what needs to be changed? thank you
participants (2)
-
Alan DeKok -
rafa alfurqan