< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[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@xxxxxxxxxxxxx:5060 SIP/2.0
Via: SIP/2.0/UDP 172.18.203.55:5060;branch=z9hG4bK4cce653c
Remote-Party-ID: "SIP Line 2005" < sip:2005@xxxxxxxxxxxxx>;party=calling;screen=yes;privacy=off
From: "SIP Line 2005" <sip:2005@xxxxxxxxxxxxx>;tag=b9c8b19b-c709-4d85-86d4-d2f557c6c2a6-26395844
To: <sip:2030@xxxxxxxxxxxxx>
Date: Thu, 17 Aug 2006 20:05:46 GMT
Call-ID: c3b68e80-4e41cc1a-ad-37cb12ac@xxxxxxxxxxxxx
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/>
Contact: <sip:2030@xxxxxxxxxxxxx :5060>
Diversion: "SIP Alerting 2010" <sip:2010@xxxxxxxxxxxxx>;reason=unconditional;privacy=off;screen=yes
Max-Forwards: 69
Content-Length: 0

--
Best Regards

Maodong Hu