Hi, when i view any trace via wire-shark, how wire shark identifying the country code from the calling or called party number ? Some of the country codes are two digits and some are three digits what is the logic to identify the country code out of the number ? Best Regards Anand.R asked 10 Aug '16, 04:22 AnandRoni |
One Answer:
Have a look at dissect_e164_cc() in packet-e164.c https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob;f=epan/dissectors/packet-e164.c;h=00638ab5c72f3dd76971cb9f3fc8e865119e5554;hb=HEAD But basically looking at the digits one by one. eg First digit == 1 CC Length =1. answered 10 Aug '16, 05:02 Anders ♦ |