[Pkg-voip-commits] r1126 - in asterisk/trunk/debian: . ast_config

Tzafrir Cohen tzafrir-guest at costa.debian.org
Tue Jan 3 21:00:14 UTC 2006


Author: tzafrir-guest
Date: 2006-01-03 21:00:14 +0000 (Tue, 03 Jan 2006)
New Revision: 1126

Added:
   asterisk/trunk/debian/ast_config/
   asterisk/trunk/debian/ast_config/manager.conf
Modified:
   asterisk/trunk/debian/changelog
   asterisk/trunk/debian/rules
Log:
* debian/ast_config/ place here configurutaion files that will override
  the defaults from the source, though not get into the sample documentation 
  dir
* debian/ast_config/manager.conf: asterisk does listen onthe manager by
  default, but only on localhost. Other packages need not edit manager.conf
  to get a manager acount



Added: asterisk/trunk/debian/ast_config/manager.conf
===================================================================
--- asterisk/trunk/debian/ast_config/manager.conf	2006-01-03 20:52:11 UTC (rev 1125)
+++ asterisk/trunk/debian/ast_config/manager.conf	2006-01-03 21:00:14 UTC (rev 1126)
@@ -0,0 +1,16 @@
+;
+; Asterisk Call Management support
+;
+
+; By default asterisk will listen on localhost only. 
+[general]
+enabled = yes
+port = 5038
+bindaddr = 127.0.0.1
+
+; No access is allowed by default.
+; To set a password, create a file in /etc/asterisk/manager.d
+; use creative permission games to allow other serivces to create their own
+; files
+#include "manager.d/*.conf" 
+

Modified: asterisk/trunk/debian/changelog
===================================================================
--- asterisk/trunk/debian/changelog	2006-01-03 20:52:11 UTC (rev 1125)
+++ asterisk/trunk/debian/changelog	2006-01-03 21:00:14 UTC (rev 1126)
@@ -2,8 +2,14 @@
 
   * Fix PID display (Closes: #338646)
   * changes to the init.d script (Tzafrir)
+  * debian/ast_config/ place here configurutaion files that will override
+    the defaults from the source, though not get into the sample documentation 
+    dir
+  * debian/ast_config/manager.conf: asterisk does listen onthe manager by
+    default, but only on localhost. Other packages need not edit manager.conf
+    to get a manager acount
 
- -- Kilian Krause <kilian at debian.org>  Mon,  2 Jan 2006 11:04:54 +0000
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Tue,  3 Jan 2006 22:56:30 +0200
 
 asterisk (1:1.2.1.dfsg-3) unstable; urgency=low
 

Modified: asterisk/trunk/debian/rules
===================================================================
--- asterisk/trunk/debian/rules	2006-01-03 20:52:11 UTC (rev 1125)
+++ asterisk/trunk/debian/rules	2006-01-03 21:00:14 UTC (rev 1126)
@@ -133,6 +133,9 @@
 	cp contrib/scripts/vmail.cgi $(CURDIR)/debian/tmp/usr/lib/cgi-bin/asterisk/
 	chmod +x $(CURDIR)/debian/tmp/usr/lib/cgi-bin/asterisk/vmail.cgi
 	$(RM) -f $(CURDIR)/debian/tmp/usr/sbin/{stereorize,streamplayer}
+	# override some default configurations. Leave the original ones
+	# in the sample configs:
+	cp debian/ast_config/* $(CURDIR)/debian/tmp/etc/asterisk
 
 	dh_install --sourcedir=debian/tmp
 	install -m 644 include/asterisk.h $(CURDIR)/debian/asterisk-dev/usr/include/asterisk.h




More information about the Pkg-voip-commits mailing list