protected function decode($userParameters)
{
$hex = bin2hex($userParameters);
$this->preBinary = rtrim(pack('H*', substr($hex, 0, 44)));
// Check if any dial-in data is set first.
$dialInData = substr($hex, 44, 52);
if ($dialInData != str_pad('', 52, '20')) {
$this->dialInData = new DialInData(hex2bin($dialInData));
}
// It's possible there is no TSPropertyArray data and only dial-in data is set.
if (strlen($hex) > 96) {
$this->tsPropertyArray = new TSPropertyArray(hex2bin(substr($hex, 96)));
$this->postBinary = $this->tsPropertyArray->getPostBinary();
}
}