[zaptel-commits] tzafrir: branch 1.2 r1667 - in /branches/1.2/xpp:
./ utils/genzaptelconf
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Thu Nov 30 14:46:47 MST 2006
Author: tzafrir
Date: Thu Nov 30 15:46:46 2006
New Revision: 1667
URL: http://svn.digium.com/view/zaptel?view=rev&rev=1667
Log:
r2831 at boole: tzafrir | 2006-11-29 11:05:08 +0200
genzaptelconf: A list of countries for which to use busydetect.
(backport of changeset:2829)
Modified:
branches/1.2/xpp/ (props changed)
branches/1.2/xpp/utils/genzaptelconf
Propchange: branches/1.2/xpp/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Thu Nov 30 15:46:46 2006
@@ -1,4 +1,4 @@
-283159da-0705-0410-b60c-f2062b4bb6ad:/components/xpp-zaptel/branches/RELEASE-1.2.0/xpp:2817
+283159da-0705-0410-b60c-f2062b4bb6ad:/components/xpp-zaptel/branches/RELEASE-1.2.0/xpp:2831
283159da-0705-0410-b60c-f2062b4bb6ad:/components/xpp-zaptel/trunk/xpp:2600
f558416c-6c06-0410-9f27-dde2687782d0:/branches/1.4/xpp:1623
f558416c-6c06-0410-9f27-dde2687782d0:/team/tzafrir/xpp_1.2/xpp:1554
Modified: branches/1.2/xpp/utils/genzaptelconf
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/utils/genzaptelconf?view=diff&rev=1667&r1=1666&r2=1667
==============================================================================
--- branches/1.2/xpp/utils/genzaptelconf (original)
+++ branches/1.2/xpp/utils/genzaptelconf Thu Nov 30 15:46:46 2006
@@ -279,9 +279,16 @@
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)
More information about the zaptel-commits
mailing list