Get the Event record of a NOTIFY header

Joined: Sun 07 of Aug, 2016

Get the Event record of a NOTIFY header

Posted:Sun 07 of Aug, 2016 (16:16 UTC)
Dear sir or madam

I woiuld like to have access to a record of the NOTIFY header

This is the Event record. I need it in order to have access to the callerID number shown in the middle of the line

Is there a function I use for this? I tried the SIP_HEADER() function but it does not seam to work

Thanks in advance


<--- SIP read from UDP:// --->
NOTIFY sip: SIP/2.0
Via: SIP/2.0/UDP;branch=z9hG4bK-49258d61
From: "PSTN2" <sip:pstn2@>;tag=762e824c9d49c91co1
To: <sip:>
Call-ID: 9d8a919d-f60f26a2@
CSeq: 8476 NOTIFY
Max-Forwards: 70
Event: fxo-port-state;pstn2;0;1;P2@;2104862548;0;;;1;3;d3dc8259-dc698cf9@;;
User-Agent: Cisco/SPA8800-6.1.11(XU)
Content-Length: 0