[zaptel-commits] tzafrir: branch 1.4 r1675 - in /branches/1.4/xpp: ./ utils/genzaptelconf

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Thu Nov 30 17:08:55 MST 2006


Author: tzafrir
Date: Thu Nov 30 18:08:54 2006
New Revision: 1675

URL: http://svn.digium.com/view/zaptel?view=rev&rev=1675
Log:
 r1667 at boole:  tzafrir | 2006-11-30 23:46:46 +0200
  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.4/xpp/   (props changed)
    branches/1.4/xpp/utils/genzaptelconf

Propchange: branches/1.4/xpp/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Thu Nov 30 18:08:54 2006
@@ -1,5 +1,5 @@
-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.2/xpp:1666
+f558416c-6c06-0410-9f27-dde2687782d0:/branches/1.2/xpp:1667
 f558416c-6c06-0410-9f27-dde2687782d0:/team/tzafrir/xpp_1.2/xpp:1554
 f558416c-6c06-0410-9f27-dde2687782d0:/trunk/xpp:1453

Modified: branches/1.4/xpp/utils/genzaptelconf
URL: http://svn.digium.com/view/zaptel/branches/1.4/xpp/utils/genzaptelconf?view=diff&rev=1675&r1=1674&r2=1675
==============================================================================
--- branches/1.4/xpp/utils/genzaptelconf (original)
+++ branches/1.4/xpp/utils/genzaptelconf Thu Nov 30 18:08:54 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