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
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
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
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
Mihaly Zachar wrote:
Yes, I just found the documentation at berlios.de
At iptel.org there is no subst() function :-( !!!
check the readme from textops module directory
I would like to change the CLI...
Is there any other method than changing the From field??
some clients support the Remote-Party-Id: header. This header can by the proxy.
regards, klaus
Klaus Darilion wrote:
Mihaly Zachar wrote:
Yes, I just found the documentation at berlios.de
At iptel.org there is no subst() function :-( !!!
check the readme from textops module directory
I would like to change the CLI...
Is there any other method than changing the From field??
some clients support the Remote-Party-Id: header. This header can by the proxy.
regards, klaus
Thank you very much guys, Remote-Party-Id works well...
Thx: Misi