Passing regexps from SQL to unlang

Maxim S. Denisov kbessmertniy at
Mon Feb 18 16:16:45 CET 2013


I need to translate calling-station-id to E.164. NAS can send these numbers in several formats, for example number +74951234567 can come as 1234567, 04951234567 or 0074951234567. I think about adding a field in nas table and specify several regexps with delimiter. Can I fetch this field, parse it to several regexps and use them in unlang as regexps?

More information about the Freeradius-Users mailing list