gintel-as / gsp24-sipviewer

Gintel summer project - SIP Viewer
Apache License 2.0
1 stars 0 forks source link

Handle NoRefNo with backtracking in extractor #87

Open samer-12 opened 3 days ago

samer-12 commented 3 days ago

Add serarch for Call-ID where sessionID is defined, then change NoRefNo to that sessionID

Ex: 2024-06-17 12:06:09.413 DEBUG [or.sip.gen.SipLogMgr][thread-1] NoRefNo Sending message with id=B2E1A54D to NULL SIP/2.0 200 OK CSeq: 149 REGISTER Call-ID: chTKSZJGoQ8QsdHWEsJAWw..@10.331.188.840100 From: <sip:ssocfx20.ims.mnc002.mcc238.3gppnetwork.org:5092;lskpmc=S9O>;tag=476949397 To: sip:+4520843092@ims.mnc002.mcc238.3gppnetwork.org;tag=31405753_8eb25a2b_f42f003e_269d93e7 Via: SIP/2.0/TCP 10.253.213.111:5092;branch=z9hG4bK_IMSCL1851327.000_159becd17d55c9d56a08fbc1a8d639690101;lskpmc=S9O;rport=46528 Server: TelScale Sip Servlets 7.1.0-SNAPSHOT Content-Length: 0

samer-12 commented 3 days ago

Also look for From tag=xxxx and To tag=xxxx if present (from tag always present, to tag not always present)