For command line use (for all OS's) the Wireshark suite provides tshark. Within the tshark options, the -z option can output various forms of statistics, some of which relate to telephony protocols. See the tshark man page for more info.