I asked the same question some time ago and i was told to hack the mysql module (i 
did).

Edit freeradius-0.9.2/src/modules/rlm_sql/rlm_sql.c and change the "strchr" to include 
"#" 
-------------------
if ((in[0] < 32) ||
strchr("@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: =/", *in) 
== NULL) {
                        snprintf(out, outlen, "=%02X", (unsigned char) in[0]);
-------------------

So the answer to your other question should be "=09" i think...

Joao Frade

> -----Original Message-----
> From: George Chelidze [mailto:[EMAIL PROTECTED] 
> Sent: quinta-feira, 30 de Outubro de 2003 14:28
> To: [EMAIL PROTECTED]
> Subject: '#' replaced with =23 in Called-Station-Id mysql field
> 
> 
> I have checked the details file and there is no replacement 
> there, seems 
>    its done in %{Called-Station-Id} variable parsing. Is there any 
> workaround to permit '#' as is or disable such parsing at all? If not 
> one more question? Say Called-Station-Id contains <tab>, how 
> it would be 
> parsed "=09" or "=9" ? Thanks in advance.
> 
> Best Regards,
> -- 
> George Chelidze
> 
> 
> 
> 
> - 
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to