separation of parameter types. numbers are highlighted in red now
[auerswald-callnotifier.git] / src / callnotifier / EDSS1 / Message.php
index 4c3bd68b99c2ff654373401616a7b34f5def6ed1..d49000525e92d3f7dd5ec3d11c0be7bb25573f9f 100644 (file)
@@ -11,6 +11,7 @@ class EDSS1_Message
     const DISCONNECT = "\x45";
     const RELEASE = "\x4D";
     const RELEASE_COMPLETE = "\x5A";
     const DISCONNECT = "\x45";
     const RELEASE = "\x4D";
     const RELEASE_COMPLETE = "\x5A";
+    const FACILITY = "\x62";
     const INFORMATION = "\x7B";
 
     /**
     const INFORMATION = "\x7B";
 
     /**
@@ -28,24 +29,40 @@ class EDSS1_Message
 
     /**
      * Service AccessPoint Identifier
 
     /**
      * Service AccessPoint Identifier
+     *
+     * @var integer
      */
     public $sapi;
 
     /**
      * Call/Response bit
      *
      */
     public $sapi;
 
     /**
      * Call/Response bit
      *
-     * Is 1 when the message contains a command or
-     * the answer to a command.
+     * Is 1 when the message contains a command to the TE or
+     * the answer to a command from the TE.
+     *
+     * 0 when it it is a request from the TE to the network,
+     * or the answer to a TE request.
+     *
+     * @var integer
      */
     public $callResponse;
 
     /**
      * Terminal Endpoint Identifier (internal Telephone ID)
      */
     public $callResponse;
 
     /**
      * Terminal Endpoint Identifier (internal Telephone ID)
+     * TEI=127 means broadcast
      *
      * @var integer
      */
     public $tei;
 
      *
      * @var integer
      */
     public $tei;
 
+    /**
+     * Type of the block
+     * 0 - information block
+     * 1 - control block
+     * @var integer
+     */
+    public $blockType;
+
     /**
      * Array of EDSS1_Parameter objects
      *
     /**
      * Array of EDSS1_Parameter objects
      *