aboutsummaryrefslogtreecommitdiff
path: root/src/callnotifier/CallMonitor/Call.php
blob: 0f16ead7e3493f3b7c96b0891390bff0b9fa5e2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
namespace callnotifier;

class CallMonitor_Call
{
    const INCOMING = 'i';
    const OUTGOING = 'o';

    /**
     * Type of call: "i"ncoming or "o"utgoing
     *
     * @var string
     */
    public $type;


    /**
     * Telephone number of caller
     *
     * @var string
     */
    public $from;

    /**
     * Telephone number of called person
     *
     * @var string
     */
    public $to;

    /**
     * Time when the call started, unix timestamp
     *
     * @var int
     */
    public $start;

    /**
     * Time when the call ended, unix timestamp
     */
    public $end;

}

?>