[Serusers] AVP/SELECT type / length in ser.cfg?

Mike Trest - Personal Mike at Trest.COM
Fri Feb 29 20:22:07 CET 2008


Thanks.  I will try eval on test machine.

At 01:37 PM 2/29/2008, Michal Matyska wrote:
>Well,
>
>you can use eval module for that (until the function will be in the
>core).
>
>eval_push("$avp"); or eval_push("@select");
>eval_oper("strlen");
>eval_pop("$result"); or $result=@eval.pop[-1]
>
>Beware UNTESTED :-D
>
>Michal
>
>
>
>Bogdan Pintea píše v Pá 29. 02. 2008 v 18:42 +0100:
> > Neither is supported, afaik. I've coded a function to return the length
> > of string AVPs, but this kind of basic functionality should probably go
> > into core, along with the AVP overhaul.
> >
> > Regards,
> > Bogdan.
> >
> > Mike Trest - Personal wrote:
> > > Hi,
> > > How can I reference the type and length attributes of a variable (
> > > @set or $avp) ? ? ?
> > > ..mike..
> > >
> > > _______________________________________________
> > > Serusers mailing list
> > > Serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> > >
> > >
> >
> >




More information about the sr-users mailing list