[Pkg-voip-commits] r2702 - in destar/trunk/debian: . patches
Alejandro Rios P.
alerios-guest at alioth.debian.org
Tue Nov 14 07:08:40 CET 2006
Author: alerios-guest
Date: 2006-11-14 07:08:40 +0100 (Tue, 14 Nov 2006)
New Revision: 2702
Added:
destar/trunk/debian/patches/example.dpatch
destar/trunk/debian/patches/manager.dpatch
Modified:
destar/trunk/debian/changelog
destar/trunk/debian/patches/00list
Log:
* Use /etc/asterisk/manager.d/destar.conf instead of
/etc/asterisk/manager.conf
* Added a Virtual PBX to default configuration user.
Modified: destar/trunk/debian/changelog
===================================================================
--- destar/trunk/debian/changelog 2006-11-14 06:05:42 UTC (rev 2701)
+++ destar/trunk/debian/changelog 2006-11-14 06:08:40 UTC (rev 2702)
@@ -10,6 +10,9 @@
* Tested and fixed op-panel integration (Closes: #393725).
* Create /etc/zaptel.conf file before usage (Closes: #398467).
* Improved README.Debian
+ * Use /etc/asterisk/manager.d/destar.conf instead of
+ /etc/asterisk/manager.conf
+ * Added a Virtual PBX to default configuration user.
-- Alejandro Rios P. <alejandro.rios at avatar.com.co> Tue, 14 Nov 2006 00:58:55 -0500
Modified: destar/trunk/debian/patches/00list
===================================================================
--- destar/trunk/debian/patches/00list 2006-11-14 06:05:42 UTC (rev 2701)
+++ destar/trunk/debian/patches/00list 2006-11-14 06:08:40 UTC (rev 2702)
@@ -1 +1,4 @@
no_medusa.dpatch
+op_panel.dpatch
+manager.dpatch
+example.dpatch
Added: destar/trunk/debian/patches/example.dpatch
===================================================================
--- destar/trunk/debian/patches/example.dpatch 2006-11-14 06:05:42 UTC (rev 2701)
+++ destar/trunk/debian/patches/example.dpatch 2006-11-14 06:08:40 UTC (rev 2702)
@@ -0,0 +1,26 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## example.dpatch by Alejandro Rios P. <alejandro.rios at avatar.com.co>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad destar-0.2.0~/examples/destar_cfg.py destar-0.2.0/examples/destar_cfg.py
+--- destar-0.2.0~/examples/destar_cfg.py 2006-08-28 19:41:45.000000000 -0500
++++ destar-0.2.0/examples/destar_cfg.py 2006-11-13 22:13:29.000000000 -0500
+@@ -6,7 +6,6 @@
+ id = "DID-IPPBX",
+ pw = "13579",
+ host = "201.8.67.79",
+- register = True,
+ insecure = True,
+ contextin = "ivr",
+ ivr = "attendant1",
+@@ -17,6 +16,7 @@
+ name = "admin",
+ secret = "ad26.",
+ level = "3",
++ pbx = "pbx1",
+ )
+
+ CfgIVRAutoatt(
Property changes on: destar/trunk/debian/patches/example.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: destar/trunk/debian/patches/manager.dpatch
===================================================================
--- destar/trunk/debian/patches/manager.dpatch 2006-11-14 06:05:42 UTC (rev 2701)
+++ destar/trunk/debian/patches/manager.dpatch 2006-11-14 06:08:40 UTC (rev 2702)
@@ -0,0 +1,36 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## manager.dpatch by Alejandro Rios P. <alejandro.rios at avatar.com.co>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad destar-0.2.0~/cfg_opt_manager.py destar-0.2.0/cfg_opt_manager.py
+--- destar-0.2.0~/cfg_opt_manager.py 2006-04-03 13:08:33.000000000 -0500
++++ destar-0.2.0/cfg_opt_manager.py 2006-11-13 22:05:42.000000000 -0500
+@@ -37,10 +37,10 @@
+ ]
+
+ def createAsteriskConfig(self):
+- c = AstConf("manager.conf")
++ c = AstConf("destar.conf")
+
+- c.setSection("general")
+- c.append("enabled=yes")
++ #c.setSection("general")
++ #c.append("enabled=yes")
+ #c.append("portno=5038")
+ #c.append("bindaddr=127.0.0.1")
+
+diff -urNad destar-0.2.0~/configlets.py destar-0.2.0/configlets.py
+--- destar-0.2.0~/configlets.py 2006-09-26 19:20:49.000000000 -0500
++++ destar-0.2.0/configlets.py 2006-11-13 22:10:13.000000000 -0500
+@@ -43,6 +43,8 @@
+
+
+ def __init__(self, fn):
++ if fn == 'destar.conf':
++ fn = os.path.join(CONF_DIR, 'manager.d', fn)
+ if fn == 'zaptel.conf':
+ fn = os.path.join("/etc", fn)
+ if fn == 'op_server.cfg' or fn == 'op_buttons.cfg':
Property changes on: destar/trunk/debian/patches/manager.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-voip-commits
mailing list