how to access CallingStationId and CalledStationId propertes in diaup.conf (sql.conf) in a SQL query

Mehdi Ravanbakhsh babakco at
Sat Mar 23 11:31:27 CET 2013

Dear ALL

I use this query by calling stored procedure in database :

simul_count_query = "SELECT

but I can not access to the value of  CallingStationId and CalledStationId.

my radius.log file :

rlm_sql_postgresql: query: SELECT
rlm_sql_postgresql: Status: PGRES_FATAL_ERROR
rlm_sql_postgresql: Error invalid input syntax for type inet: ""
rlm_sql_postgresql: Postgresql Fatal Error: [22P02: INVALID TEXT
rlm_sql (sql) sql_checksimul: Database query failed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list