[reSIProcate] how to parser Proprietary SIP Headers

Scott Godin slgodin at icescape.com
Thu Nov 22 07:22:57 CST 2007


Check out:  http://www.resiprocate.org/Use_Overview#Extension_Header

 

Scott

 

From: resiprocate-devel-bounces at resiprocate.org
[mailto:resiprocate-devel-bounces at resiprocate.org] On Behalf Of maodong hu
Sent: November 22, 2007 4:56 AM
To: resiprocate-devel at list.resiprocate.org
Subject: [reSIProcate] how to parser Proprietary SIP Headers

 

Hi all and scott

 

I have a ccm sip message, it have a Proprietary SIP Headers "Diversion", it
is the Original Called Party info, how resip can parse it and get result
"2010"?

 


INVITE sip:2030 at 172.18.203.51:5060 SIP/2.0
Via: SIP/2.0/UDP 172.18.203.55:5060;branch=z9hG4bK4cce653c
Remote-Party-ID: "SIP Line 2005" < sip:2005 at 172.18.203.55
<mailto:sip:2005 at 172.18.203.55> >;party=calling;screen=yes;privacy=off
From: "SIP Line 2005"
<sip:2005 at 172.18.203.55>;tag=b9c8b19b-c709-4d85-86d4-d2f557c6c2a6-26395844 
To: <sip:2030 at 172.18.203.51>
Date: Thu, 17 Aug 2006 20:05:46 GMT
Call-ID: c3b68e80-4e41cc1a-ad-37cb12ac at 172.18.203.55 
Supported: timer,replaces
Min-SE: 1800
User-Agent: Cisco-CCM5.0
Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER,
SUBSCRIBE, NOTIFY
CSeq: 101 INVITE
Expires: 180
Allow-Events: presence 
Call-Info: <urn:x-cisco-remotecc:callinfo>; security= NotAuthenticated;
orientation= from; call-instance= 1
Alert-Info: <file://Bellcore-dr1/ <file:///\\bellcore-dr1\> >
Contact: <sip:2030 at 172.18.203.55 :5060>
Diversion: "SIP Alerting 2010"
<sip:2010 at 172.18.203.55>;reason=unconditional;privacy=off;screen=yes
Max-Forwards: 69
Content-Length: 0 


-- 
Best Regards

Maodong Hu 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20071122/4eaaf3c6/attachment.htm>


More information about the resiprocate-devel mailing list