Property | Type | Description | |
---|---|---|---|
$callbackPhoneNumber | Hex representation of a phone number configured for the user on which the answerer should call back. | ||
$signature | string | ||
$userPrivilege | Dial-in bit-mask (NoCallback = 1, AdminSetCallback = 2, CallerSetCallback = 4, DialinPrivilege = 8) |
Method | Description | |
---|---|---|
__construct ( string | null $dialInData = null ) | ||
getCallbackPhoneNumber ( ) : string | Get the CallbackPhoneNumber as a hex value. The encoding process for this value is currently unknown. | |
getSignature ( ) : string | Get the signature value for the dial-in data. | |
getUserPrivilege ( ) : integer | Get the UserPrivilege bit-mask. | |
isSignatureValid ( ) : boolean | Check whether the signature is valid, thus signifying a valid data structure. | |
setCallbackPhoneNumber ( string $callbackPhoneNumber ) | Set the CallbackPhoneNumber as a hex value. The encoding process for this value is currently unknown. | |
setUserPrivilege ( integer $userPrivilege ) | Set the UserPrivilege bit-mask. | |
toBinary ( ) : string | Get the binary representation of the dial-in data for the userParameters value. |
Method | Description | |
---|---|---|
dec2hex ( integer $int, integer $padLength = 2 ) : string | Need to make sure hex values are always an even length, so pad as needed. | |
decode ( string $binary ) | Decode and parse the binary dial-in data from the userParameters attribute (the data between 44 and 96 bytes). |
public __construct ( string | null $dialInData = null ) | ||
$dialInData | string | null |
public getCallbackPhoneNumber ( ) : string | ||
return | string |
public getSignature ( ) : string | ||
return | string |
public getUserPrivilege ( ) : integer | ||
return | integer |
public isSignatureValid ( ) : boolean | ||
return | boolean |
public setCallbackPhoneNumber ( string $callbackPhoneNumber ) | ||
$callbackPhoneNumber | string |
public setUserPrivilege ( integer $userPrivilege ) | ||
$userPrivilege | integer |
protected $callbackPhoneNumber |