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 INFORMATION = "\x7B";
17 * Message type, see the class constants
23 * Call reference number to distinguish concurrent calls
30 * Service AccessPoint Identifier
37 * Is 1 when the message contains a command or
38 * the answer to a command.
43 * Terminal Endpoint Identifier (internal Telephone ID)
50 * Array of EDSS1_Parameter objects
54 public $parameters = array();
57 public function getTypeName()
59 $rc = new \ReflectionClass($this);
60 foreach ($rc->getConstants() as $name => $value) {
61 if (ord($value) == $this->type) {