‎Hello,

Various GUIDs and other signatures in SIP exist to link branches, transactions, and dialogs, but none that are uniquely generated per packet. The best you're going to be able to do is to compute a checksum, but even that is no guarantee in a REGISTER flow.

--
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

Sent from my BlackBerry.
From: jay binks
Sent: Tuesday, May 19, 2015 00:47
To: Kamailio (SER) - Users Mailing List
Reply To: Kamailio (SER) - Users Mailing List
Subject: [SR-Users] SIP Packet identifier

So im logging lots of information to Syslog to assist our helpdesk in diagnosing customer issues.

Im seeing LOTS of user agents that re-use the sip Call-ID ( especially in registers ).
What im wanting to be able to do is link a log message ( that I log at some point in my dialplan ) to a specific SIP packet ( viewed from voipmonitor, HOMER, wireshark ).

I cant REALLY see anything in the SIP to uniquely identify a packet, however if kamailio provided the UDP packet checksum in a pseudo variable then we could combine that with the sip call-id to hopefully do what im after.

does anyone else have any ideas about how do what im after ?

--
Sincerely

Jay