Re: [SR-Users] update PAI Header User part

2022-06-24 Thread Karsten Horsmann
Hi, remove the header(s) and write the new header with your needs. Patrick Karton schrieb am Di., 21. Juni 2022, 10:27: > hello is there a cleaner/fastest way to update PAI header user part other > than using subst > > i come up with > > subst('/^P-Asserted-Identity:(.*)(sip|sips|tel|tels):([^

[SR-Users] update PAI Header User part

2022-06-21 Thread Patrick Karton
hello is there a cleaner/fastest way to update PAI header user part other than using subst i come up with subst('/^P-Asserted-Identity:(.*)(sip|sips|tel|tels):([^@]*)@([a-zA-Z0-9.]+)(.*)$/P-Asserted-Identity:\1\2:$var(newPAIUser)@\4\5/ig'); Thanks. ___