Hello, please could any one tell us if we can execute two commands in the insert of rediswho module like this: Start { insert = "HSETNX MSISDN Calling-Station-Id %{Calling-Station-Id} \n\ HSETNX IP Framed-IP-Address %{Framed-IP-Address}" trim = "LTRIM %{Calling-Station-Id} 0 ${..trim_count}" expire = "EXPIRE %{User-Name} ${..expire_time}" } i need to insert into two hash for every accounting start . need your help the example above doesn't work for me i get an error rediswho: ERROR: Query failed, HSETNX MSISDN Calling-Station-Id %{Calling-Station-Id} \n HSETNX IP Framed-IP-Address %{Framed-IP-Address} rediswho_command: database query error in: 'HSETNX MSISDN Calling-Station-Id %{Calling-Station-Id} \n HSETNX IP Framed-IP-Address %{Framed-IP-Address}' Best Regards Mettichi Bassem
On Jan 10, 2018, at 4:44 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
please could any one tell us if we can execute two commands in the insert of rediswho module like this: ... the example above doesn't work for me i get an error
Then it doesn't work, does it? The server works as documented. You can't magically invent things, stick them into the configuration, and expect that it does what you want. Alan DeKok.
which configuration you talk about? there isonly one file rediswho, there is any other file to configure so all configuration is done here in redishwo file. Mettichi Bassem 2018-01-10 13:55 GMT+01:00 Alan DeKok <aland@deployingradius.com>:
On Jan 10, 2018, at 4:44 AM, Bassem Mettichi <mettichi@gmail.com> wrote:
please could any one tell us if we can execute two commands in the insert of rediswho module like this: ... the example above doesn't work for me i get an error
Then it doesn't work, does it?
The server works as documented. You can't magically invent things, stick them into the configuration, and expect that it does what you want.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
participants (2)
-
Alan DeKok -
Bassem Mettichi