[OpenSIPS-Users] Remove prefix from number

Marco Nesler marco.nesler at gmail.com
Mon Aug 29 14:25:38 CEST 2011


try with "strip(4) ;"

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

ciao
marco

2011/8/28 <sip at veliko-turnovo.com>

> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110829/fc1cd8fd/attachment.htm>


More information about the Users mailing list