/[smecontribs]/rpms/smeserver-freepbx/contribs9/smeserver-freepbx-0.1-trunk_name_in_alert.patch
ViewVC logotype

Contents of /rpms/smeserver-freepbx/contribs9/smeserver-freepbx-0.1-trunk_name_in_alert.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Mon Jun 13 12:16:46 2016 UTC (7 years, 11 months ago) by unnilennium
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
bump to version 13

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-freepbx-0.1/root/var/lib/asterisk/agi-bin/trunk_alert_mail.agi mezzanine_patched_smeserver-freepbx-0.1/root/var/lib/asterisk/agi-bin/trunk_alert_mail.agi
2 --- smeserver-freepbx-0.1/root/var/lib/asterisk/agi-bin/trunk_alert_mail.agi 2008-11-27 02:57:44.000000000 +0100
3 +++ mezzanine_patched_smeserver-freepbx-0.1/root/var/lib/asterisk/agi-bin/trunk_alert_mail.agi 2008-11-27 02:57:17.000000000 +0100
4 @@ -6,6 +6,7 @@
5 export ${array[0]}=${array[1]}
6 done
7
8 +TRUNK=$1
9 DOMAIN=`dnsdomainname`
10 HOST=`hostname`
11
12 @@ -32,6 +33,7 @@
13
14 MSG="\n\n A call from \"$CIDNAME\" <$CID> (Type $TYPE)\n"
15 MSG="$MSG To : $DNID\n"
16 +MSG="$MSG Using Trunk : $TRUNK\n"
17 MSG="$MSG Has failed on host $HOST.$DOMAIN at $DATE\n\n"
18 MSG="$MSG The error is : $REPORT \n\n"
19

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed