201601181600
201601181800+01:00
60
Average Seizure Traffic per Line (Trunk Group)
Incoming Address Invalid Times (Trunk Group)
Incoming Answer Rate (Trunk Group)
Incoming Answer Times (Trunk Group)
Incoming Answer Traffic (Trunk Group)
Incoming Average Answer Traffic per Line (Trunk Group)
Incoming Average Call Completion Traffic per Line (Trunk Group)
Incoming Average Seizure Traffic per Line (Trunk Group)
Incoming Block Rate (Trunk Group)
Incoming Callee Busy (Trunk Group)
Incoming Callee No Response Times (Trunk Group)
Incoming Call Completion Rate (Trunk Group)
Incoming Call Completion Times (Trunk Group)
Incoming Call Completion Traffic (Trunk Group)
Incoming Common Resources Application Failures (Trunk Group)
Incoming Congestion Times (Trunk Group)
Incoming Continuity Check Failures (Trunk Group)
Incoming Continuity Check Times (Trunk Group)
Incoming Interworking Failures (Trunk Group)
Incoming No Answer After Ringing (Trunk Group)
Incoming Number Unallocated Times (Trunk Group)
Incoming Other Failure Causes (Trunk Group)
Incoming Paging No Response Times (Trunk Group)
Incoming Releases After Ringing (Trunk Group)
Incoming Releases Before Ringing (Trunk Group)
Incoming Seizure Times (Trunk Group)
Incoming Seizure Traffic (Trunk Group)
Incoming Special Signal Tone Played Times (Trunk Group)
Incoming Subscriber Absent Times (Trunk Group)
Incoming Subscriber Service Barred Times (Trunk Group)
Incoming Temporary Fault Times
Incoming Trunk Availability Rate for Incoming Calls (Trunk Group)
Incoming Trunk Circuit Dual Seizure Times (Trunk Group)
Incoming User Determined User Busy Times (Trunk Group)
Number of Available Circuits for Incoming Calls
Number of Available Circuits for Outgoing Calls (Trunk Group)
Number of Bidirectional Available Circuits for Incoming Calls (Trunk Group)
Number of Bidirectional Available Circuits for Outgoing Calls (Trunk Group)
Number of Bidirectional Blocked Circuits for Incoming Calls (Trunk Group)
Number of Bidirectional Blocked Circuits for Outgoing Calls (Trunk Group)
Number of Bidirectional Installed Circuits for Incoming Calls (Trunk Group)
Number of Bidirectional Installed Circuits for Outgoing Calls (Trunk Group)
Number of Blocked Circuits for Incoming Calls (Trunk Group)
Number of Blocked Circuits for Outgoing Calls (Trunk Group)
Number of Installed Circuits for Incoming Calls (Trunk Group)
Number of Installed Circuits for Outgoing Calls (Trunk Group)
Outgoing Address Invalid Times (Trunk Group)
Outgoing Answer Rate (Trunk Group)
Outgoing Answer Times (Trunk Group)
Outgoing Answer Traffic (Trunk Group)
Outgoing Average Answer Traffic per Line (Trunk Group)
Outgoing Average Call Completion Traffic per Line (Trunk Group)
Outgoing Average Seizure Traffic per Line (Trunk Group)
Outgoing Bearer Capability Type Mismatched Times (Trunk Group)
Outgoing Block Rate (Trunk Group)
Outgoing Callee Busy in a Local Call (Trunk Group)
Outgoing Callee Busy in a Toll Call (Trunk Group)
Outgoing Callee Busy (Trunk Group)
Outgoing Callee No Response Times (Trunk Group)
Outgoing Call Completion Rate (Trunk Group)
Outgoing Call Completion Times (Trunk Group)
Outgoing Call Completion Traffic (Trunk Group)
Outgoing Continuity Check Failures (Trunk Group)
Outgoing Continuity Check Times (Trunk Group)
Outgoing Dual Seizure Times (Trunk Group)
Outgoing Interworking Failures (Trunk Group)
Outgoing Local Office Failures (Trunk Group)
Outgoing No Answer After Ringing (Trunk Group)
Outgoing No Idle Circuit Duration (Trunk Group)
Outgoing Number Unallocated Times (Trunk Group)
Outgoing Other Failure Causes (Trunk Group)
Outgoing Overflow Ratio (Trunk Group)
Outgoing Overflow Times (Trunk Group)
Outgoing Paging No Response Times (Trunk Group)
Outgoing Peer Office Congestion Times (Trunk Group)
Outgoing Releases After Ringing (Trunk Group)
Outgoing Releases Before Ringing (Trunk Group)
Outgoing Release Times Of Normal Unspecified After Alerting (Trunk Group)
Outgoing Seizure Attempts (Trunk Group)
Outgoing Seizure Rate (Trunk Group)
Outgoing Seizure Times (Trunk Group)
Outgoing Seizure Traffic (Trunk Group)
Outgoing Special Signal Tone Played Times (Trunk Group)
Outgoing Subscriber Absent Times (Trunk Group)
Outgoing Subscriber Service Barred Times (Trunk Group)
Outgoing Trunk Availability Rate for Outgoing Calls (Trunk Group)
Outgoing Trunk Callee Line Faults for Outgoing Calls (Trunk Group)
Outgoing Trunk Circuit Dual Seizure Times (Trunk Group)
Outgoing Trunk Circuit Type Mismatched Times (Trunk Group)
Outgoing Trunk Reselection Times (Trunk Group)
Outgoing User Determined User Busy Times (Trunk Group)
MSOFTX3000/Trunk group:LABEL=UMG_PBX1, TG=7
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
30
30
0
0
30
30
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3600
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
false
MSOFTX3000/Trunk group:LABEL=UMG_PBX0, TG=6
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
30
30
0
0
30
30
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3600
0
0
100
3
0
0
0
0
0
3
0
0
0
0
0
0
0
0
0
0
0
0
false
MSOFTX3000/Trunk group:LABEL=UMG_VMSC1, TG=3
0.04
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
100
0
0
360
360
360
360
0
0
360
360
0
0
360
360
0
28.98
873
6.66
0.02
0.04
0.04
0
0
0
0
0
0
98.17
2843
13.9
0
0
0
0
0
39
0
0
55
0
0
0
0
1886
159
0
3012
100
3012
14.02
0
0
0
100
0
0
0
0
0
false
MSOFTX3000/Trunk group:LABEL=UMG_VMSC0, TG=2
0.01
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
100
0
0
360
360
360
360
0
0
360
360
0
0
360
360
0
28.56
287
2.01
0.01
0.01
0.01
0
0
0
0
0
1
94.33
949
4.37
0
0
0
0
0
13
0
0
56
0
0
0
0
595
53
0
1005
100
1005
4.41
0
0
0
100
0
0
0
0
0
false
MSOFTX3000/Trunk group:LABEL=UMG_RBT, TG=11
0.01
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
85.65
0
0
185
185
185
185
0
0
216
216
0
0
216
216
0
99.06
422
1.18
0.01
0.01
0.01
0
0
0
0
0
0
100
422
1.18
0
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0
426
100
426
1.2
0
0
0
85.65
0
0
0
0
0
false
MSOFTX3000/Trunk group:LABEL=UMG_ACELL, TG=8
0.78
27
27.53
630
8.21
0.27
0.43
0.52
0
0
3
98.73
2142
12.78
0
1
0
0
0
0
0
0
1
1505
89
2288
15.48
0
0
7
24
50
0
1
30
30
30
30
0
0
60
60
0
0
60
60
4
25.76
363
3.68
0.12
0.24
0.26
0
0
0
0
35
0
89.35
1155
7.22
0
0
5
0
0
5
148
0
261
0
0
0
2
573
114
113
1442
97.71
1409
7.84
0
4
0
50
0
0
0
33
48
false
MSOFTX3000/Trunk group:LABEL=TELECELOUT, TG=10
0.68
90
25.47
1460
17.63
0.12
0.19
0.24
0
2
11
98.69
5213
28.74
0
0
0
0
0
1
0
4
6
3716
279
5732
35.95
0
2
105
54
83.43
0
2
151
150
151
150
0
1
181
181
0
1
181
181
0
22.37
2573
24.58
0.16
0.32
0.44
0
0.55
0
0
7
30
97.04
9833
47.68
0
0
4
0
0
24
1
0
766
0
0
1
1
6589
1347
615
11514
99.89
11501
66.18
0
5
0
82.87
0
0
0
13
1
false
MSOFTX3000/Trunk group:LABEL=SOCATEL, TG=5
0.08
0
33.53
56
0.94
0.03
0.05
0.05
0
0
0
99.4
160
1.42
0
0
0
0
0
0
0
0
0
104
6
167
1.65
0
0
0
1
24.79
0
0
30
30
30
30
0
0
121
121
0
0
121
121
1
24.07
39
0.4
0.01
0.03
0.03
0
0
0
0
4
0
88.27
128
0.81
0
0
1
0
0
0
0
0
29
0
0
0
0
60
20
13
181
89.5
162
0.89
0
1
0
24.79
3
0
0
19
5
false
MSOFTX3000/Trunk group:LABEL=SFT_N7TG, TG=12
0.42
21
29.05
611
19.99
0.13
0.17
0.19
0
1
6
93.39
1783
25.35
0
0
0
0
0
24
0
84
31
1141
56
2103
28.27
0
79
29
18
83.33
0
2
150
150
150
150
0
0
180
180
0
0
180
180
14
33.24
702
26
0.17
0.22
0.23
0
0
0
0
31
18
87.93
1735
32.49
0
0
27
2
0
16
0
13
266
0
0
15
0
725
123
195
2117
99.76
2112
34.36
0
16
0
83.33
0
0
0
5
22
false
MSOFTX3000/Trunk group:LABEL=NATIONLINK, TG=9
0.25
14
29.81
468
5.57
0.06
0.1
0.12
0
2
2
98.41
1471
9.1
0
0
0
0
0
1
0
1
4
992
58
1570
11.1
0
0
10
18
97.85
0
0
91
91
91
91
0
0
93
93
0
0
93
93
0
24.17
467
4.93
0.05
0.1
0.13
0
0
0
0
0
6
97
1660
8.86
0
0
1
0
0
3
0
0
253
0
0
1
6
937
228
239
1943
99.43
1932
11.46
0
0
0
97.85
0
0
0
11
0
false
MSOFTX3000/Trunk group:LABEL=MSX_TO_SRP, TG=1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
100
0
0
124
124
124
124
0
0
124
124
0
0
124
124
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
100
0
0
0
0
0
false
MSOFTX3000/Trunk group:LABEL=MOOV_INTL, TG=14
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
50
0
0
60
60
60
60
0
0
120
120
0
0
120
120
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
50
0
0
0
0
0
false
MSOFTX3000/Trunk group:LABEL=IPBX-OCF, TG=17
0.03
0
42.86
9
0.64
0.02
0.02
0.02
0
0
0
90.48
21
0.69
0
0
0
0
0
0
0
0
2
10
0
21
0.72
0
0
0
0
100
0
0
30
30
30
30
0
0
30
30
0
0
30
30
0
92.5
37
0.17
0.01
0.01
0.01
0
0
0
0
0
0
100
37
0.19
0
0
0
0
0
0
0
2
0
0
0
0
0
0
1
0
40
100
40
0.21
0
0
0
100
0
0
0
0
0
false
MSOFTX3000/Trunk group:LABEL=ZEUS_TELCOM, TG=18
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
30
30
0
0
30
30
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3600
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
false
MSOFTX3000/Trunk group:LABEL=TELECEL_INTER, TG=4
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
30
30
0
0
30
30
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
3600
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
false
201601181700
script perl of conversion
[idriss@hp-dv6:~]$ cat entree.xml
trunkinterco
interco1
trunkinterco
interco1
####
[idriss@hp-dv6:~]$ cat test.php
#!/usr/bin/php
xpath('/xml/element');
$fileContent = "";
foreach ($xpathElements as $elem){
if ($nom = $elem->nom){
$fileContent .= $nom[0];
}
$fileContent .= ";";
if ($prenom = $elem->prenom){
$fileContent .= $prenom[0];
}
// ...
$fileContent .= "\n";
}
file_put_contents("sortie.csv", $fileContent);
?>
[idriss@hp-dv6:~]$ chmod +x test.php
[idriss@hp-dv6:~]$ ./test.php
[idriss@hp-dv6:~]$ cat sortie.csv
DUPOND;Paul
DURAND;Pierre
[idriss@hp-dv6:~]$