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";
20 public $parameters = array();
23 public function getTypeName()
25 $rc = new \ReflectionClass($this);
26 foreach ($rc->getConstants() as $name => $value) {
27 if (ord($value) == $this->type) {