Hello,

I'd like to store h323-setup-time in datetime format instead of varchar(32) in MYSQL db. The format of h323-setup-time by definition is:

hh:mm:ss.mmm ZON DDD MMM ## YYYY

How would you solve this problem? I have decided to use attr_rewrite with

^([0-9]{2}:([0-9]{2}:[0-9]{2})\.[0-9]{3}\ [A-Z]{3}\ [A-Z][a-z]{2}\ [0-9]{1,2}\ [0-9]{4}

in serachfor field, but I dont know what should be placed in replacewith. Is it possible to use substitutions like $1 or static string is permitable only? Any help would be appreciated. Thanks in advance.

Best Regards,
--
George Chelidze




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

Reply via email to