From 84116778c70a665a6a5658995a024e997f949ac2 Mon Sep 17 00:00:00 2001 From: Chrisian Richter Date: Wed, 24 Jan 2007 16:45:12 +0000 Subject: [PATCH] added timer mechanism to misdn-init file --- misdn-init | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/misdn-init b/misdn-init index 43f8d8e..6e77676 100755 --- a/misdn-init +++ b/misdn-init @@ -321,6 +321,9 @@ function load_card_modules { debug) debug=${val} ;; + timer) + timer=${val} + ;; *) echo "unknown variable: ${var}" ;; @@ -375,6 +378,9 @@ function load_card_modules { hfcmulti_cmd="${hfcmulti_cmd} debug=${debug}" fi + if [ ! -z ${timer} ]; then + hfcmulti_cmd="${hfcmulti_cmd} timer=${timer}" + fi if [ -z "$1" ] ; then echo ${hfcmulti_cmd} @@ -641,6 +647,14 @@ function create_misdn_init_conf { # # Here you can tune the sensitivity of the dtmf tone recognizer. # +# timer=<1|0> +# +# set this to 1 if you want hfcmulti to register at ztdummy (zaptel) +# and provide a 1khz timing source for it. This makes it possible +# to have an accurate timing source for asterisk through zaptel from +# hfcmulti to make applications like Meetme and faxing between wctdm +# and hfcmulti work properly. +# poll=128 dsp_poll=128 dsp_options=0