2 namespace callnotifier;
6 const ALERTING = "\x01";
7 const CALL_PROCEEDING = "\x02";
9 const CONNECT = "\x07";
10 const SETUP_ACKNOWLEDGE = "\x0D";
11 const DISCONNECT = "\x45";
12 const RELEASE = "\x4D";
13 const RELEASE_COMPLETE = "\x5A";
14 const FACILITY = "\x62";
15 const INFORMATION = "\x7B";
18 * Message type, see the class constants
24 * Call reference number to distinguish concurrent calls
31 * Service AccessPoint Identifier
40 * Is 1 when the message contains a command to the TE or
41 * the answer to a command from the TE.
43 * 0 when it it is a request from the TE to the network,
44 * or the answer to a TE request.
51 * Terminal Endpoint Identifier (internal Telephone ID)
52 * TEI=127 means broadcast
60 * 0 - information block
67 * Array of EDSS1_Parameter objects
71 public $parameters = array();
74 public function getTypeName()
76 $rc = new \ReflectionClass($this);
77 foreach ($rc->getConstants() as $name => $value) {
78 if (ord($value) == $this->type) {