summaryrefslogtreecommitdiff
path: root/xpp
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-01 05:29:42 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-01 05:29:42 +0000
commitb557eec0f88781388d4fc45ad0774224ddc45427 (patch)
treefc7ea22cfcea5c785f6e77d528a619a413fa4d28 /xpp
parent61cc6e4ac8324b1e38a5c3bb543d1d262552bb78 (diff)
r1667@boole: tzafrir | 2006-11-30 23:46:46 +0200
r2831@boole: tzafrir | 2006-11-29 11:05:08 +0200 genzaptelconf: A list of countries for which to use busydetect. (and get genzaptelconf here back in sync) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1681 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp')
-rwxr-xr-xxpp/utils/genzaptelconf17
1 files changed, 12 insertions, 5 deletions
diff --git a/xpp/utils/genzaptelconf b/xpp/utils/genzaptelconf
index 5618ee9..a000ec0 100755
--- a/xpp/utils/genzaptelconf
+++ b/xpp/utils/genzaptelconf
@@ -84,9 +84,9 @@ ALL_MODULES="zaphfc qozap ztgsm wctdm wctdm24xxp wcfxo wcfxs pciradio tor2 toris
# bri: bri_net; bri_cpe (Bristuffed Asterisk. No multi- support)
# bri_ptmpi: bri_net_ptmp; bri_cpe_ptmp (Bristuffed Asterisk, multi- support)
# pri: pri_net; pri_cpe (Recent Asterisk. Experimental)
-#ZAPBRI_SIGNALLING=bri
+ZAPBRI_SIGNALLING=bri
#ZAPBRI_SIGNALLING=bri_ptmp
-ZAPBRI_SIGNALLING=pri
+#ZAPBRI_SIGNALLING=pri
# read default configuration from /etc/default/zaptel
if [ -r $ZAPTEL_BOOT_DEBIAN ]; then . $ZAPTEL_BOOT_DEBIAN; fi
@@ -279,9 +279,16 @@ print_pattern() {
local sig=$2 #fxs/fxo
local mode=$3
local method='ks'
- if [ "$lc_country" = il ] && [ "$sig" = 'fxs' ]
- then method=ls
- fi
+
+ # Coutries in which we need to use busydetect:
+ # United Arab Emirats, Israel, Slovenia
+ case "$lc_country" in
+ ae|il|si)
+ if [ "$sig" = 'fxs' ]; then
+ method=ls
+ fi
+ ;;
+ esac
case "$mode" in
list) echo $chan $sig $astbanktype;;
files)