x25today / voipwardialer

A Voip Wardialer for the phreaking of 2020
51 stars 11 forks source link

Optimization testing: Ensure ptime of 10ms to let VoIP flows to flush faster #4

Open fpietrosanti opened 4 years ago

fpietrosanti commented 4 years ago

Default audio codec tend to use ptime (amount of milliseconds per packet) to be 20ms.

As we need to speedup processing for DSP modem ingestione, we could try on Asterisk and PJSIP side to enforce a ptime to 10ms (assuming the codec does allow).

This will move from 50 packets per seconds per leg to 100 packers per second per legs, but improving the latency, hopefully leading to better DSP modem processing

fpietrosanti commented 4 years ago

PJSIP Conference bridge tuning to 10ms http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-July/003778.html

fpietrosanti commented 4 years ago

Asterisk ptime setup on aLaw codec https://www.dslreports.com/forum/r29534545-Asterisk-Ptime-settings-to-ensure-10ms