LdapTools\Utilities\DialInData::decode PHP Method

decode() protected method

Decode and parse the binary dial-in data from the userParameters attribute (the data between 44 and 96 bytes).
protected decode ( string $binary )
$binary string
    protected function decode($binary)
    {
        $hex = bin2hex($binary);
        $this->signature = MBString::chr(hexdec(substr($hex, 0, 2)));
        $this->userPrivilege = hexdec(substr($hex, 2, 2));
        $this->callbackPhoneNumber = substr($hex, 4, 48);
    }