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

Annotation of /rpms/smeserver-freepbx/contribs8/smeserver-freepbx-0.1-trunk_name_in_alert.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Feb 26 03:16:30 2013 UTC (11 years, 2 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-freepbx-0_1-32_el5_sme, smeserver-freepbx-0_1-33_el5_sme, HEAD
Initial import

1 unnilennium 1.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