Why not use Dialplan module?
...
dp_translate("1","$fU/$var(from_user))
uac_replace_from("","sip:$var(from_user)$fd")
...
On Mon, 29 Aug 2011 01:53:10 +0600, <[email protected]> wrote:
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
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users