X-Git-Url: https://git.cweiske.de/auerswald-callnotifier.git/blobdiff_plain/0073743d7518e5899f0cd075a1c7755a9d603bbd..706f3104305337ecf582897bcc42499fa6623178:/src/callnotifier/EDSS1/Message.php diff --git a/src/callnotifier/EDSS1/Message.php b/src/callnotifier/EDSS1/Message.php index 3d22a82..d490005 100644 --- a/src/callnotifier/EDSS1/Message.php +++ b/src/callnotifier/EDSS1/Message.php @@ -11,12 +11,63 @@ class EDSS1_Message const DISCONNECT = "\x45"; const RELEASE = "\x4D"; const RELEASE_COMPLETE = "\x5A"; + const FACILITY = "\x62"; const INFORMATION = "\x7B"; - + /** + * Message type, see the class constants * @var integer */ public $type; + + /** + * Call reference number to distinguish concurrent calls + * + * @var integer + */ + public $callRef; + + /** + * Service AccessPoint Identifier + * + * @var integer + */ + public $sapi; + + /** + * Call/Response bit + * + * 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) + * TEI=127 means broadcast + * + * @var integer + */ + public $tei; + + /** + * Type of the block + * 0 - information block + * 1 - control block + * @var integer + */ + public $blockType; + + /** + * Array of EDSS1_Parameter objects + * + * @var array + */ public $parameters = array();