[svn-commits] tzafrir: branch 1.2 r2063 - /branches/1.2/xpp/utils/genzaptelconf

svn-commits at lists.digium.com svn-commits at lists.digium.com
Wed Jan 31 12:44:58 MST 2007


Author: tzafrir
Date: Wed Jan 31 13:44:57 2007
New Revision: 2063

URL: http://svn.digium.com/view/zaptel?view=rev&rev=2063
Log:
Minor genzaptelconf fixes:
 * callerid not written to zapata.conf
 * some messages were not printed with say (and thus not supressed without -v)
(Xorcom changeset 3240)

Modified:
    branches/1.2/xpp/utils/genzaptelconf

Modified: branches/1.2/xpp/utils/genzaptelconf
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/utils/genzaptelconf?view=diff&rev=2063&r1=2062&r2=2063
==============================================================================
--- branches/1.2/xpp/utils/genzaptelconf (original)
+++ branches/1.2/xpp/utils/genzaptelconf Wed Jan 31 13:44:57 2007
@@ -216,8 +216,8 @@
 	# the USB connector. That order is rather arbitrary, but will not
 	# change without changes to the cabling.
 	xbusses=`sed -e '/STATUS=connected/!d' -e 's/ *STATUS=.*//' -e 's/ *CONNECTOR=//' /proc/xpp/xbuses | sort -t: -k 2 | cut -d: -f1`
-	echo 1>&2 "Zaptel registration order:"
-	echo 1>&2 "$xbusses"
+	say "Zaptel registration order:"
+	say "$xbusses"
 
 	# get a list of XPDs that were not yet registered as zaptel spans.
 	# this will be the case if you set the parameter zap_autoreg=0 to
@@ -902,7 +902,7 @@
 							echo "context=$context_phones" >> $zapata_file
 						fi
 					else # we have may have set it. So reset it:
-						echo "callerid=asreceived"
+						echo "callerid=asreceived"       >> $zapata_file
 						reset_values="$reset_values callerid"
 						#echo "mailbox="
 						if [ "$group_manual" != "yes" ]



More information about the svn-commits mailing list