From a699c1955b9cfab6ca1c18b1c792ced278892012 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Fri, 21 Sep 2012 12:24:07 -0500 Subject: [PATCH] dahdi.conf.sample: Add description for "buffers" setting. This contains an edited version of the patch originally uploaded by John Bigelow. (closes issue ASTERISK-14435) Reported by: John Bigelow --- configs/chan_dahdi.conf.sample | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/configs/chan_dahdi.conf.sample b/configs/chan_dahdi.conf.sample index 460cd0b..dd4aaaf 100644 --- a/configs/chan_dahdi.conf.sample +++ b/configs/chan_dahdi.conf.sample @@ -1264,6 +1264,35 @@ pickupgroup=1 ;all - report channel and span alarms (aggregated behavior) ;none - do not report any alarms. +; +; Configure the default number of DAHDI buffers and the transmit policy to use. +; This can be used to eliminate data drops when scheduling jitter prevents +; Asterisk from writing to a DAHDI channel regularly. Most users will probably +; want "faxbuffers" instead of "buffers". +; +; The policies are: +; +; immediate - DAHDI will immediately start sending the data to the hardware after +; Asterisk writes to the channel. This is the default mode. It +; introduces the least amount of latency but has an increased chance for +; hardware under runs if Asterisk is not able to keep the DAHDI write +; queue from going empty. +; half - DAHDI will wait until half of the configured buffers are full before +; starting to transmit. This adds latency to the audio but reduces +; the chance of under runs. Essentially, this is like an in-kernel jitter +; buffer. +; full - DAHDI will not start transmitting until all buffers are full. +; Introduces the most amount of latency and is susceptible to over +; runs from the Asterisk process. +; +; The receive policy is never changed. DAHDI will always pass up audio as soon as possible. +; +; The default number of buffers is 4 and the default policy is immediate. +; +;buffers=4,immediate +; +; + ; ---------------- Options for use with signalling=ss7 ----------------- ; None of them can be changed by a reload. ; -- 1.7.9.5