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=sigco
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

Reply via email to