Hello Simon Thanks for your reply, but I got a simpler method and it worked well.
Regards Sanjeeb -----Original Message----- From: Simon Flannery [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 7:44 PM To: Sanjeeb Dash (WT01 - Telecom Applications and Solutions) Cc: [EMAIL PROTECTED]; [email protected] Subject: Re: [Sipp-users] Need your help for huge memory consumption per TLS connection with SIPP test tool Hi, I have not tested the following, but the general structure / idea should work. <recv response="200"> <action> <ereg regexp="<[0-9]*lr>" search_in="hdr" header="Record-Route" check_it="true" assign_to="1" /> <ereg regexp="<[0-9]*;comp=sigcomp;lr>" search_in="hdr" header="Record-Route" check_it="true" assign_to="2" /> </action> </recv> Simon On 9/13/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello All > > Below is the 200OK message. My requirement is I want to extract the > two routes in Record-Route header in some variable and parse those > variable in Route header of ACK and BYE. > > Any help? > > SIP/2.0 200 OK^M > Call-ID: [EMAIL PROTECTED] > CSeq: 1 INVITE^M > From: sipp <sip:[EMAIL PROTECTED]>;tag=1^M > To: sut <sip:[EMAIL PROTECTED]>;tag=10.232.120.6+1+14f0001+c02ca093^M > Server: DC-SIP/2.0^M > Supported: timer,100rel^M > Session-Expires: 90;refresher=uas^M > Record-Route: > <sip:[EMAIL PROTECTED];lr>,<sip:[EMAIL PROTECTED];comp=sig > co > mp;lr>^M > > Content-Length: 154^M > Content-Type: application/sdp^M > Contact: <sip:10.232.120.6>^M > Via: SIP/2.0/UDP 10.232.120.6:8800^M > ^M > v=0^M > o=Winphoria 2300 0 IN IP4 10.232.118.4^M s=Winphoria 10.232.118.4 > 7000^M c=IN IP4 10.232.118.4^M t=0 0^M m=audio 7000 RTP/AVP 0^M > a=rtpmap:0 PCMU/8000/1^M\uffff > > Thanks and Regards > Sanjeeb > > > > > ---------------------------------------------------------------------- > -- > - > This SF.net email is sponsored by: Microsoft Defy all challenges. > Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sipp-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sipp-users > > ---------------------------------------------------------------------- > --- This SF.net email is sponsored by: Microsoft Defy all challenges. > Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sipp-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sipp-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
