[Kamailio-Users] Avoid encoding of CDR's written to database by Radius

CSB kjcsb at xnet.co.nz
Tue Jun 23 10:37:07 CEST 2009


> 
> CSB writes:
> 
>  > So how can I write +6012345678 to the database, rather than
>  > =2B6012345678?
> 
> if you use freeradius, add + to safe-characters.
> 
vi /etc/raddb/sql.conf
sql {
	safe-characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /+"
...
service radiusd restart

Works nicely.

Thanks





More information about the sr-users mailing list