Is there a way to parse headers from the sip invite.
trying to match P-Charge-Info -> Trk=
Code:
INVITE sip:+1XXXXXXXXXX@XXX.XXX.XXX.XXX SIP/2.0
Via: SIP/2.0/UDP XXX.XXX.XXX.XXX:5060;branch=z9hG4bKcr33ea008g70i9rqb4j1.1
From: "WIRELESS CALLER" <sip:+1XXXXXXXXXX@XXX.XXX.XXX.XXX:5060>;tag=gK04471238
To: <sip:+1XXXXXXXXXX@XXX.XXX.XXX.XXX>
P-Asserted-Identity: "WIRELESS CALLER" <sip:+1XXXXXXXXXX;verstat=TN-Validation-Passed@XXX.XXX.XXX.XXX:5060>
P-Attestation-Indicator: A
P-Origination-ID: FFFFFFFF-FFFF-FFFF-FFFF-010100000000
P-Charge-Info: tel:1XXXXXXXXX;Rate=0.0000;Trk=SomeClient
trying to match P-Charge-Info -> Trk=