Note: G711 is a sample based codec G723 and G729 are frame based codecs
Example: 160 bytes * 8 bits/byte * sec/(64 * 10 3 bits) = 20 * 10 -3 = 20 ms
So,160 bytes in the RTP payload section means a ptime of 20 ms for G711.