[OpenSIPS-Users] Remove prefix from number

sip at veliko-turnovo.com sip at veliko-turnovo.com
Sun Aug 28 21:53:10 CEST 2011


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




More information about the Users mailing list