try with "strip(4) ;"

http://www.opensips.org/Resources/DocsCoreFcn16#toc137

ciao
marco

2011/8/28 <[email protected]>

> Dear all,
>
> I try to remove prefix from phone number without success.
>
> $avp(prefix)="159#";
> $avp(number)=$fU;
> avp_subst("$avp(number)/$avp(ret)/g", "/$avp(pref)//g");
>
> How to do this?
>
> Best regards,
> Plamen
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to