[OpenSIPS-Users] removing non-numerical from the 'From: ' header
Iñaki Baz Castillo
ibc at aliax.net
Fri Feb 19 14:54:50 CET 2010
El Viernes, 19 de Febrero de 2010, Dmitri G. escribió:
> Hi Bogdan,
>
> Thank you for your reply! dan I use regexps with uac_replace_from?
> My goal is to remove the non-numeric values, so From: <47Adrian at his_ip will
> become
> From: <47 at his_ip, From: <123gheorghe07 at his_ip will become From:
> <12307 at his_ip
>
> so you think it will work like this?
Un a regular expression to store your desired From username intoa a pseudo-
variable or AVP, and then use uac_replace_from with such pseudo-variable.
--
Iñaki Baz Castillo <ibc at aliax.net>
More information about the Users
mailing list