How to configure GSWave for the lowest internet speed?

Since Covid, my team is all working remotely. Thou everyone has good internet speed, sometimes the network fluctuates and I’m trying to find ways to prevent a drop in voice quality.

How can I configure GSWave to work on the lowest internet speed with good quality sound?

Note: GSWave connects to my Private FreePBX server hosted on a VPS.

As the 1st step in this direction, I’ve disabled all Codecs in GSWave & enabled only G729.
I assume this is the right step.

What else can I do with GSwave to operate at the lowest possible bandwidth without a drop in sound quality?


TBH, if you have network issues, you’ll have issues with any codec. But of course, using a codec that eats the least amount of bandwidth will work with slow internet connections.

Also, while LTE is getting faster now, a stable wifi connection is some times better than a “fast” LTE connection.

Changing the codec is unlikely to help unless the bottleneck is at the central end. The problem you will get with a far end overload is that the VoIP packets will be queued behind higher volume traffic, like video of the Olympics or Zoom calls, and you would need to prioritise your traffic over the competing traffic, which is not something that is supported on the public internet, or insert large jitter buffers at the receiving end, which would result in unacceptable round trip delays.

Also note that the gains from moving from G.711 to G.729 are not as large as you might expect, because there are significant overheads on packet sizes.

Try IAX2 and the codec of your choice, although the GS softphone doesn’t support it many do, and always uses less bandwidth than SIP as it is binary not text baaed protocol and greatly reduced ‘header’ overhead.

The main advantage of IAX2 is for trunking, as it can share packets between multiple calls, but that doesn’t seem to be relevant here.

Media is in binary coded packets for both IAX and SIP/RTP.

Also, the code to support it has seen little change in a very long time.

What is relevant is he is apparently starved of bandwidth, if he doesn’t try it he won’t know the gain, IAX2 only ‘shares packets’ if you tell the connection ‘trunk=yes’ and then you will need a DAHDI ‘hardware timer’ available.

IAX2 is always more efficient than SIP , for a complete reference to better configure IAX2

You will see how to restrict codecs , set COS et al.

If using g729 over sip, setting the ptime to 60ms should get a theoretical 13.3kbps per channel .

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.