aboutsummaryrefslogtreecommitdiffstats
path: root/comms/atslog/files/patch-bp-250.lib
blob: bf5670efdff13163c605ebf4ebdb5628e7598459 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- libexec/bp-250.lib.orig Sun Mar  4 17:48:54 2007
+++ libexec/bp-250.lib  Tue Mar 20 19:55:47 2007
@@ -97,7 +97,12 @@
        $number=0;
    }
 
-   $forwarded=0;
+   if ($transfer_conditio=~(/1[1234]/)) {
+       $forwarded=1;
+   }
+   else {
+       $forwarded=0;
+   }
    # print("$timeofcall,$forwarded,$internally,$co,$way,$number,$duration\n");
    WriteRecord($timeofcall, $forwarded, $internally, $co, $way, $number, $duration);
 }