I am developing a software which captures the UDP packets by using pcap lib in c++.
What is the way of understanding that received UDP packet is carrying SIP message in itself without using any third party software?
5060 port can be one of the ways but what if it is changed to something else?
Ex: My SIP Server is working on port #10000. In that case how can I understand it?