[Pkg-voip-commits] r3660 - in freepbx/trunk/debian: . patches

elcuco-guest at alioth.debian.org elcuco-guest at alioth.debian.org
Thu Jun 14 13:47:48 UTC 2007


Author: elcuco-guest
Date: 2007-06-14 13:47:48 +0000 (Thu, 14 Jun 2007)
New Revision: 3660

Added:
   freepbx/trunk/debian/patches/fix-process-fax-path.dpatch
Modified:
   freepbx/trunk/debian/changelog
   freepbx/trunk/debian/patches/00list
Log:
extensions.conf uses an hardcoded path for fax-process.pl. lets hardcode it to something usable


Modified: freepbx/trunk/debian/changelog
===================================================================
--- freepbx/trunk/debian/changelog	2007-06-11 07:50:19 UTC (rev 3659)
+++ freepbx/trunk/debian/changelog	2007-06-14 13:47:48 UTC (rev 3660)
@@ -27,6 +27,8 @@
     http://freepbx.org/trac/ticket/1921
   * freepbx-common: added fix-mysql-real-escape-string.dpatch, fixes upstream
     http://www.freepbx.org/trac/ticket/1963
+  * asterisk-config-freepbx: fix hardcoded path for fax-process.pl to match debian's 
+    FHS
 
   [ Chris Halls ]
   * Remove fix-recordings.patch - already fixed in a different way upstream

Modified: freepbx/trunk/debian/patches/00list
===================================================================
--- freepbx/trunk/debian/patches/00list	2007-06-11 07:50:19 UTC (rev 3659)
+++ freepbx/trunk/debian/patches/00list	2007-06-14 13:47:48 UTC (rev 3660)
@@ -12,6 +12,7 @@
 fix-agibin-dir
 fix-ari-link
 fix-permissions
+fix-process-fax-path
 
 # integration with debian's op-panel
 fix-fop-config.dpatch

Added: freepbx/trunk/debian/patches/fix-process-fax-path.dpatch
===================================================================
--- freepbx/trunk/debian/patches/fix-process-fax-path.dpatch	                        (rev 0)
+++ freepbx/trunk/debian/patches/fix-process-fax-path.dpatch	2007-06-14 13:47:48 UTC (rev 3660)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-process-fax-path.dpatch by Diego Iastrubni <diego.iastrubni at xorcom.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad upstream~/amp_conf/astetc/extensions.conf upstream/amp_conf/astetc/extensions.conf
+--- upstream~/amp_conf/astetc/extensions.conf	2007-01-25 09:14:53.000000000 +0200
++++ upstream/amp_conf/astetc/extensions.conf	2007-06-14 16:42:33.000000000 +0300
+@@ -1061,7 +1061,7 @@
+ ;exten => out_fax,1,wait(7)
+ exten => out_fax,1,txfax(${TXFAX_NAME}|caller)
+ exten => out_fax,2,Hangup
+-exten => h,1,system(/var/lib/asterisk/bin/fax-process.pl --to ${EMAILADDR} --from ${FAX_RX_FROM} --subject "Fax from ${URIENCODE(${CALLERID(number)})} ${URIENCODE(${CALLERID(name)})}" --attachment fax_${URIENCODE(${CALLERID(number)})}.pdf --type application/pdf --file ${FAXFILE});
++exten => h,1,system(/usr/share/asterisk/bin/fax-process.pl --to ${EMAILADDR} --from ${FAX_RX_FROM} --subject "Fax from ${URIENCODE(${CALLERID(number)})} ${URIENCODE(${CALLERID(name)})}" --attachment fax_${URIENCODE(${CALLERID(number)})}.pdf --type application/pdf --file ${FAXFILE});
+ exten => h,2,Hangup()
+ 
+ ;this is where parked calls go if they time-out.  Should probably re-ring


Property changes on: freepbx/trunk/debian/patches/fix-process-fax-path.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-voip-commits mailing list