add incoming/outgoing type to calls
[auerswald-callnotifier.git] / src / callnotifier / CallMonitor / Call.php
1 <?php
2 namespace callnotifier;
3
4 class CallMonitor_Call
5 {
6     const INCOMING = 'i';
7     const OUTGOING = 'o';
8
9     /**
10      * Type of call: "i"ncoming or "o"utgoing
11      *
12      * @var string
13      */
14     public $type;
15
16
17     /**
18      * Telephone number of caller
19      *
20      * @var string
21      */
22     public $from;
23
24     /**
25      * Telephone number of called person
26      *
27      * @var string
28      */
29     public $to;
30
31     /**
32      * Time when the call started, unix timestamp
33      *
34      * @var int
35      */
36     public $start;
37
38     /**
39      * Time when the call ended, unix timestamp
40      */
41     public $end;
42
43 }
44
45 ?>