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 binksSent: Tuesday, May 19, 2015 00:47To: Kamailio (SER) - Users Mailing ListReply To: Kamailio (SER) - Users Mailing ListSubject: [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
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com