default threshold of 100 is more accurate, also we unload the card modules after we've unloaded the layers
This commit is contained in:
parent
25f37a1d92
commit
86beb33815
|
@ -190,7 +190,7 @@ int dsp_options;
|
|||
static int poll = 0;
|
||||
int dsp_poll, dsp_tics;
|
||||
|
||||
int dtmftreshold=200L;
|
||||
int dtmftreshold=100L;
|
||||
|
||||
#ifdef MODULE
|
||||
MODULE_AUTHOR("Andreas Eversberg");
|
||||
|
|
10
misdn-init
10
misdn-init
|
@ -518,7 +518,7 @@ function create_misdn_init_conf {
|
|||
poll=128
|
||||
#pcm=1,1
|
||||
dsp_options=0
|
||||
dtmftreshold=200
|
||||
dtmftreshold=100
|
||||
debug=0"
|
||||
|
||||
if [ -f ${misdn_init_conf} ]; then
|
||||
|
@ -586,16 +586,20 @@ case "$1" in
|
|||
|
||||
check_asterisk
|
||||
|
||||
unload_card_modules
|
||||
|
||||
for mod in $(lsmod | sed -ne '/Module/!{s/\([^ ]*\).*/\1/;p}');
|
||||
do
|
||||
case "${mod}" in
|
||||
mISDN_capi | mISDN_dsp | l3udss1 | mISDN_l2 | mISDN_l1 | mISDN_isac | mISDN_core)
|
||||
mISDN_capi | mISDN_dsp | l3udss1 | mISDN_l2 | mISDN_l1 | mISDN_isac )
|
||||
eval "${RMMOD} ${mod}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
unload_card_modules
|
||||
|
||||
${RMMOD} mISDN_core
|
||||
|
||||
;;
|
||||
|
||||
restart|--restart)
|
||||
|
|
Loading…
Reference in New Issue