Thanks Marco, Strip(4) remove first 4 characters from number. I want to remove prefix (AVP variables).
Do you have any idea? >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> _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
