|
1 /** |
|
2 * SAPI Sample Data - Logging |
|
3 */ |
|
4 |
|
5 (function(){ |
|
6 |
|
7 |
|
8 var logging_data = [{ |
|
9 "EventType":0, |
|
10 "RemoteParty":"", |
|
11 "EventDuration":5518, |
|
12 "EventTime":"Wednesday, 08 April, 2009 11:17:42 am", |
|
13 "Subject":"A", |
|
14 "PhoneNumber":"5270443", |
|
15 "Description":"Voice call", |
|
16 "Link":0, |
|
17 "id":"30", |
|
18 "Direction":1, |
|
19 "EventData":"" |
|
20 },{ |
|
21 "EventType":0, |
|
22 "RemoteParty":"", |
|
23 "EventDuration":472, |
|
24 "EventTime":"Wednesday, 08 April, 2009 11:17:42 am", |
|
25 "Subject":"A", |
|
26 "PhoneNumber":"1247463", |
|
27 "Description":"Voice call", |
|
28 "Link":0, |
|
29 "id":"29", |
|
30 "Direction":1, |
|
31 "EventData":"" |
|
32 },{ |
|
33 "EventType":0, |
|
34 "RemoteParty":"", |
|
35 "EventDuration":1914, |
|
36 "EventTime":"Wednesday, 08 April, 2009 11:17:42 am", |
|
37 "Subject":"A", |
|
38 "PhoneNumber":"8759891", |
|
39 "Description":"Voice call", |
|
40 "Link":0, |
|
41 "id":"28", |
|
42 "Direction":1, |
|
43 "EventData":"" |
|
44 },{ |
|
45 "EventType":0, |
|
46 "RemoteParty":"", |
|
47 "EventDuration":3130, |
|
48 "EventTime":"Wednesday, 08 April, 2009 11:17:32 am", |
|
49 "Subject":"A", |
|
50 "PhoneNumber":"3200343", |
|
51 "Description":"Voice call", |
|
52 "Link":0, |
|
53 "id":"27", |
|
54 "Direction":0, |
|
55 "EventData":"" |
|
56 },{ |
|
57 "EventType":0, |
|
58 "RemoteParty":"", |
|
59 "EventDuration":4128, |
|
60 "EventTime":"Wednesday, 08 April, 2009 11:17:32 am", |
|
61 "Subject":"A", |
|
62 "PhoneNumber":"2101692", |
|
63 "Description":"Voice call", |
|
64 "Link":0, |
|
65 "id":"26", |
|
66 "Direction":0, |
|
67 "EventData":"" |
|
68 },{ |
|
69 "EventType":0, |
|
70 "RemoteParty":"", |
|
71 "EventDuration":2012, |
|
72 "EventTime":"Wednesday, 08 April, 2009 11:17:32 am", |
|
73 "Subject":"A", |
|
74 "PhoneNumber":"8813355", |
|
75 "Description":"Voice call", |
|
76 "Link":0, |
|
77 "id":"25", |
|
78 "Direction":0, |
|
79 "EventData":"" |
|
80 },{ |
|
81 "EventType":0, |
|
82 "RemoteParty":"", |
|
83 "EventDuration":0, |
|
84 "EventTime":"Wednesday, 08 April, 2009 11:17:24 am", |
|
85 "Subject":"A", |
|
86 "PhoneNumber":"8092875", |
|
87 "Description":"Voice call", |
|
88 "Link":0, |
|
89 "id":"24", |
|
90 "Direction":5, |
|
91 "EventData":"" |
|
92 },{ |
|
93 "EventType":0, |
|
94 "RemoteParty":"", |
|
95 "EventDuration":0, |
|
96 "EventTime":"Wednesday, 08 April, 2009 11:17:24 am", |
|
97 "Subject":"A", |
|
98 "PhoneNumber":"3702771", |
|
99 "Description":"Voice call", |
|
100 "Link":0, |
|
101 "id":"23", |
|
102 "Direction":5, |
|
103 "EventData":"" |
|
104 },{ |
|
105 "EventType":0, |
|
106 "RemoteParty":"", |
|
107 "EventDuration":0, |
|
108 "EventTime":"Wednesday, 08 April, 2009 11:17:24 am", |
|
109 "Subject":"A", |
|
110 "PhoneNumber":"2680939", |
|
111 "Description":"Voice call", |
|
112 "Link":0, |
|
113 "id":"22", |
|
114 "Direction":5, |
|
115 "EventData":"" |
|
116 },{ |
|
117 "EventType":0, |
|
118 "RemoteParty":"", |
|
119 "EventDuration":0, |
|
120 "EventTime":"Wednesday, 08 April, 2009 11:17:11 am", |
|
121 "Subject":"A", |
|
122 "PhoneNumber":"1075503", |
|
123 "Description":"Voice call", |
|
124 "Link":0, |
|
125 "id":"21", |
|
126 "Direction":5, |
|
127 "EventData":"" |
|
128 },{ |
|
129 "EventType":0, |
|
130 "RemoteParty":"", |
|
131 "EventDuration":0, |
|
132 "EventTime":"Wednesday, 08 April, 2009 11:17:11 am", |
|
133 "Subject":"A", |
|
134 "PhoneNumber":"9781533", |
|
135 "Description":"Voice call", |
|
136 "Link":0, |
|
137 "id":"20", |
|
138 "Direction":5, |
|
139 "EventData":"" |
|
140 },{ |
|
141 "EventType":0, |
|
142 "RemoteParty":"", |
|
143 "EventDuration":0, |
|
144 "EventTime":"Wednesday, 08 April, 2009 11:17:11 am", |
|
145 "Subject":"A", |
|
146 "PhoneNumber":"4185107", |
|
147 "Description":"Voice call", |
|
148 "Link":0, |
|
149 "id":"19", |
|
150 "Direction":5, |
|
151 "EventData":"" |
|
152 },{ |
|
153 "EventType":4, |
|
154 "RemoteParty":"Mobile Office", |
|
155 "EventDuration":90, |
|
156 "EventTime":"Wednesday, 08 April, 2009 11:18:37 am", |
|
157 "Subject":"", |
|
158 "PhoneNumber":"", |
|
159 "Description":"Packet Data", |
|
160 "Link":0, |
|
161 "id":"18", |
|
162 "Direction":1, |
|
163 "EventData":"" |
|
164 },{ |
|
165 "EventType":4, |
|
166 "RemoteParty":"Mobile Office", |
|
167 "EventDuration":80, |
|
168 "EventTime":"Wednesday, 08 April, 2009 11:15:30 am", |
|
169 "Subject":"", |
|
170 "PhoneNumber":"", |
|
171 "Description":"Packet Data", |
|
172 "Link":0, |
|
173 "id":"18", |
|
174 "Direction":1, |
|
175 "EventData":"" |
|
176 },{ |
|
177 "EventType":4, |
|
178 "RemoteParty":"Mobile Office", |
|
179 "EventDuration":16, |
|
180 "EventTime":"Wednesday, 08 April, 2009 11:12:33 am", |
|
181 "Subject":"", |
|
182 "PhoneNumber":"", |
|
183 "Description":"Packet Data", |
|
184 "Link":0, |
|
185 "id":"17", |
|
186 "Direction":1, |
|
187 "EventData":"8303,17570" |
|
188 },{ |
|
189 "EventType":0, |
|
190 "RemoteParty":"", |
|
191 "EventDuration":2998, |
|
192 "EventTime":"Wednesday, 08 April, 2009 11:09:20 am", |
|
193 "Subject":"A", |
|
194 "PhoneNumber":"1716582", |
|
195 "Description":"Voice call", |
|
196 "Link":0, |
|
197 "id":"16", |
|
198 "Direction":1, |
|
199 "EventData":"" |
|
200 },{ |
|
201 "EventType":0, |
|
202 "RemoteParty":"", |
|
203 "EventDuration":681, |
|
204 "EventTime":"Wednesday, 08 April, 2009 11:09:20 am", |
|
205 "Subject":"A", |
|
206 "PhoneNumber":"9888150", |
|
207 "Description":"Voice call", |
|
208 "Link":0, |
|
209 "id":"15", |
|
210 "Direction":1, |
|
211 "EventData":"" |
|
212 },{ |
|
213 "EventType":0, |
|
214 "RemoteParty":"", |
|
215 "EventDuration":2294, |
|
216 "EventTime":"Wednesday, 08 April, 2009 11:09:20 am", |
|
217 "Subject":"A", |
|
218 "PhoneNumber":"8378283", |
|
219 "Description":"Voice call", |
|
220 "Link":0, |
|
221 "id":"14", |
|
222 "Direction":1, |
|
223 "EventData":"" |
|
224 },{ |
|
225 "EventType":0, |
|
226 "RemoteParty":"", |
|
227 "EventDuration":4232, |
|
228 "EventTime":"Wednesday, 08 April, 2009 11:09:19 am", |
|
229 "Subject":"A", |
|
230 "PhoneNumber":"6818380", |
|
231 "Description":"Voice call", |
|
232 "Link":0, |
|
233 "id":"13", |
|
234 "Direction":1, |
|
235 "EventData":"" |
|
236 },{ |
|
237 "EventType":0, |
|
238 "RemoteParty":"", |
|
239 "EventDuration":599, |
|
240 "EventTime":"Wednesday, 08 April, 2009 11:09:19 am", |
|
241 "Subject":"A", |
|
242 "PhoneNumber":"5933409", |
|
243 "Description":"Voice call", |
|
244 "Link":0, |
|
245 "id":"12", |
|
246 "Direction":1, |
|
247 "EventData":"" |
|
248 },{ |
|
249 "EventType":0, |
|
250 "RemoteParty":"", |
|
251 "EventDuration":6376, |
|
252 "EventTime":"Wednesday, 08 April, 2009 11:09:12 am", |
|
253 "Subject":"A", |
|
254 "PhoneNumber":"5487982", |
|
255 "Description":"Voice call", |
|
256 "Link":0, |
|
257 "id":"11", |
|
258 "Direction":0, |
|
259 "EventData":"" |
|
260 },{ |
|
261 "EventType":0, |
|
262 "RemoteParty":"", |
|
263 "EventDuration":6325, |
|
264 "EventTime":"Wednesday, 08 April, 2009 11:09:12 am", |
|
265 "Subject":"A", |
|
266 "PhoneNumber":"2859596", |
|
267 "Description":"Voice call", |
|
268 "Link":0, |
|
269 "id":"10", |
|
270 "Direction":0, |
|
271 "EventData":"" |
|
272 },{ |
|
273 "EventType":0, |
|
274 "RemoteParty":"", |
|
275 "EventDuration":6571, |
|
276 "EventTime":"Wednesday, 08 April, 2009 11:09:12 am", |
|
277 "Subject":"A", |
|
278 "PhoneNumber":"2820138", |
|
279 "Description":"Voice call", |
|
280 "Link":0, |
|
281 "id":"9", |
|
282 "Direction":0, |
|
283 "EventData":"" |
|
284 },{ |
|
285 "EventType":0, |
|
286 "RemoteParty":"", |
|
287 "EventDuration":4929, |
|
288 "EventTime":"Wednesday, 08 April, 2009 11:09:12 am", |
|
289 "Subject":"A", |
|
290 "PhoneNumber":"6356454", |
|
291 "Description":"Voice call", |
|
292 "Link":0, |
|
293 "id":"8", |
|
294 "Direction":0, |
|
295 "EventData":"" |
|
296 },{ |
|
297 "EventType":0, |
|
298 "RemoteParty":"", |
|
299 "EventDuration":2620, |
|
300 "EventTime":"Wednesday, 08 April, 2009 11:09:12 am", |
|
301 "Subject":"A", |
|
302 "PhoneNumber":"4461166", |
|
303 "Description":"Voice call", |
|
304 "Link":0, |
|
305 "id":"7", |
|
306 "Direction":0, |
|
307 "EventData":"" |
|
308 },{ |
|
309 "EventType":0, |
|
310 "RemoteParty":"", |
|
311 "EventDuration":0, |
|
312 "EventTime":"Wednesday, 08 April, 2009 11:09:02 am", |
|
313 "Subject":"A", |
|
314 "PhoneNumber":"8811808", |
|
315 "Description":"Voice call", |
|
316 "Link":0, |
|
317 "id":"6", |
|
318 "Direction":5, |
|
319 "EventData":"" |
|
320 },{ |
|
321 "EventType":0, |
|
322 "RemoteParty":"", |
|
323 "EventDuration":0, |
|
324 "EventTime":"Wednesday, 08 April, 2009 11:09:02 am", |
|
325 "Subject":"A", |
|
326 "PhoneNumber":"2985843", |
|
327 "Description":"Voice call", |
|
328 "Link":0, |
|
329 "id":"5", |
|
330 "Direction":5, |
|
331 "EventData":"" |
|
332 },{ |
|
333 "EventType":0, |
|
334 "RemoteParty":"", |
|
335 "EventDuration":0, |
|
336 "EventTime":"Wednesday, 08 April, 2009 11:09:02 am", |
|
337 "Subject":"A", |
|
338 "PhoneNumber":"9714278", |
|
339 "Description":"Voice call", |
|
340 "Link":0, |
|
341 "id":"4", |
|
342 "Direction":5, |
|
343 "EventData":"" |
|
344 },{ |
|
345 "EventType":0, |
|
346 "RemoteParty":"", |
|
347 "EventDuration":0, |
|
348 "EventTime":"Wednesday, 08 April, 2009 11:09:02 am", |
|
349 "Subject":"A", |
|
350 "PhoneNumber":"5044910", |
|
351 "Description":"Voice call", |
|
352 "Link":0, |
|
353 "id":"3", |
|
354 "Direction":5, |
|
355 "EventData":"" |
|
356 },{ |
|
357 "EventType":0, |
|
358 "RemoteParty":"", |
|
359 "EventDuration":0, |
|
360 "EventTime":"Wednesday, 08 April, 2009 11:09:02 am", |
|
361 "Subject":"A", |
|
362 "PhoneNumber":"6519793", |
|
363 "Description":"Voice call", |
|
364 "Link":0, |
|
365 "id":"2", |
|
366 "Direction":5, |
|
367 "EventData":"" |
|
368 }]; |
|
369 |
|
370 |
|
371 /** |
|
372 * register data! |
|
373 */ |
|
374 device.implementation.loadData('Service.Logging', 'Log', logging_data); |
|
375 |
|
376 })() |
|
377 |