This function either sets or gets the current answer mode of the system.
The answer mode is one of:
1 = multiple mailbox mode (the caller must enter a mailbox where they wish to leave a message)
2 = single mailbox mode (the caller simply leaves a message in the default mailbox)
Parameter: Mode
(for set)
Type: Integer
Description: The mode to set, either 1 or 2.
Return value: Mode
Type: Integer
Description: The current operating mode, either 1 or 2.
hsp.MBAnswerMode = modemode
return = hsp.MBAnswerMode
To set the operating mode to a single mailbox:
sub main()
hsp.MBAnswerMode = 2
end sub