1 |
slords |
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 |
|
|
|