Add ability to adapt the IAX trunk packets to the MTU size, to avoid bad audio

when the number of channels fill the MTU on a given link.

In the future, this needs to be configurable per peer with trunking enabled.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2006-10-25 14:06:13 +00:00
parent 0fed2f78b9
commit 13ea5fc0d0
3 changed files with 103 additions and 14 deletions

View File

@@ -156,7 +156,16 @@ forcejitterbuffer=no
; minregexpire = 60
; maxregexpire = 60
;
; With a large amount of traffic on IAX2 trunks, there is a risk of bad voice quality due to
; the fact that the IAX2 trunking scheme depends on the Linux system to handle fragmentation of
; UDP packets. This may not be very efficient.
; This setting sets the maximum transmission unit for IAX2 UDP trunking.
; default is 1240 bytes. Zero disables this functionality and let's the O/S handle fragmentation.
;
; trunkmtu = 0
;
; IAX helper threads
; Establishes the number of iax helper threads to handle I/O.
; iaxthreadcount = 10
; Establishes the number of extra dynamic threads that may be spawned to handle I/O