[Serusers] Re: SER 0.9.6 and Media-Server Asterisk 1.4

Stefan Tichy seruser at pi4tel.de
Sun Jan 7 12:29:02 CET 2007


On Fri, Jan 05, 2007 at 10:59:16PM +0100, Martin Hoffmann wrote:
> Sure:
> 
>    replace ("/^To:(.*);tag=[^;]*(;.*)/To:\1\2/");

subst ("/^To:(.*);tag=[A-Za-z0-9]*/To:\1/");

seems to work. A search for "User-Agent: Asterisk PBX" in the Invite
should avoid trouble with other UA.


subst ("/^To:(.*);tag=[^;]*/To:\1/");
ignores line breaks even if no flag is used. That is not what I
expected.


-- 
Stefan Tichy <st at pi4tel.de>



More information about the sr-users mailing list