6 Jul
2016
6 Jul
'16
6:08 a.m.
On Wed, Jul 06, 2016 at 11:31:29AM +0300, Манцуров Дмитрий Вячеславович wrote:
Tell me, please, how to make so that the montlycounter module in accounting section works only when Called-Station-Id starts with 8 (Called-Station-Id = '8.....')? I think that the need to write something on unlang use a regular expression, but I do not know how to do it correctly.
if (&Called-Station-Id =~ /^8/) { ... } All in the unlang man page. Matthew -- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>