diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-11-30 21:46:46 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-11-30 21:46:46 +0000 |
commit | acfbf5805c4b38166e6559a13a8b332f0a92ae2d (patch) | |
tree | 1c02483554f76a376db08cd14917b19963dfec15 /xpp/utils | |
parent | 9e81e78446308a27fd157ca7943a25457c59075d (diff) |
r2831@boole: tzafrir | 2006-11-29 11:05:08 +0200
genzaptelconf: A list of countries for which to use busydetect.
(backport of changeset:2829)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1667 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/utils')
-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) |