Yes, I just found the documentation at berlios.de
At
iptel.org there is no subst() function :-( !!!
I would like to change the CLI...
Is there any other method than changing the From field??
Thanks: Misi
Klaus Darilion wrote:
Be warned - modifying From: or To: is not allowed.
I use "subst" from textops module.
regards,
klaus
klaus
Mihaly Zachar wrote:
> Hi everybody, I'm a newbie here...
>
> I'd like to change the "From:" HF ...
>
> here is my input:
>
> From: User Name <sip:aaa123456\@1.1.1.1>;tag=426f34e337ec2855o
>
> my regexp would be:
>
> s/^From:(.*)aaa(\d{6})(.*)/From:$1$2$3/
>
>
> so, I would like to remove the "aaa" prefix from the number:
>
> the result should be:
>
> From: User Name <sip:123456@1.1.1.1>;tag=426f34e337ec2855o
>
>
> How can I use textops' replace() or subst_user() ??
>
> Thanks,
> Misi
>