[Serusers] Radius Accounting encoding issues.
sip
sip at arcdiv.com
Thu Mar 9 20:56:52 CET 2006
Worked like an absolute charm; thanks a million, Vitaly!
N.
On Thu, 9 Mar 2006 11:22:22 -0800, Vitaly Nikolaev wrote
> ONLY if you use freeradius and sql module, go to the source of
> freeradius, find file:
>
> src/modules/rlm_sql/rlm_sql.c
>
> open it in editor,
>
> search it for
>
> "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
> /"},
>
> string, that the list or characters that radius WILL NOT ENCODE AND WILL
> SEND IT AS IS, just add * in the list, recompile radius and try again..
> should work
>
> -----Original Message-----
> From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org]
> On Behalf Of sip Sent: Thursday, March 09, 2006 2:08 PM To: serusers at lists.iptel.org
> Subject: [Serusers] Radius Accounting encoding issues.
>
> I've set up radius accounting in SER 0.9.6 and I'm sure I'm missing
> something
> obvious, but when it encodes the URIs for things like
> CalledStationID or UserName, it's encoding the non-standard
> characters as hex. For instance, * becomes =2A , so my URI ends up
> looking like sip:=2A850XXXXXXX at domain.com where it should be
> sip:*850XXXXXXX at domain.com
>
> Is there something I'm missing in the table setup for the radacct table
> or a
> modparam somewhere that I missed in the README?
>
> N.
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list