diff options
Diffstat (limited to 'xpp/utils/genzaptelconf')
-rwxr-xr-x | xpp/utils/genzaptelconf | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/xpp/utils/genzaptelconf b/xpp/utils/genzaptelconf index 144f988..a000ec0 100755 --- a/xpp/utils/genzaptelconf +++ b/xpp/utils/genzaptelconf @@ -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) |