Note: all positions are excluding comments.
Thrush.
NB:
TYPE =
ATOM;
{
$success, -- call succeeded, party may be in new state.
Conversation-transition codes
$stateMismatch, -- the most common problem; your information's out of date.
$notInConv, -- you're not a party to this conversation, and call requires it.
$noSuchConv, -- named conversation doesn't exist.
$noSuchParty, -- named (own) party doesn't exist.
..system inconsistency or bug in caller
$partyAlreadyActive, -- Not allowed to be active in two conversations
$convIdle, -- not allowed to return to a conversation everyone has abandoned!
$noSuchSmarts, -- get the drift?
$noSuchParty2, -- second named (called) party doesn't exist.
$narcissism, -- attempt to connect to self rejected <<The right way to complain?>>
$convNotActive, -- activity requested that is only satisfiable if requesting party active
$convStillActive -- can't destroy it if remaining connections are not orphans.,
...,
..trunk party busy for GetParty
Other codes -- initialization problems, mostly
$noIdentSupplied, -- not enough information to turn name or number into party, and so on.
$noEntryFound, -- no RName information found in white pages data base for named individual.
$noTrunkParty, -- corresponding to supplied party
$couldntAuthenticate, -- password verification problem during initialization
$couldntConnect, -- interface import or other similar problem during initialization
$noNameAvailable, -- can't find the name of a party
..system inconsistency being reported
$interfaceError, -- call had an invalid parameter or combination of parameters
$voiceTerminalBusy -- fb/bd conflict
};
WaitForActive
nb←Request[cDesc, $failed, $error, "Finch failed to connect to voice service."];
IF nb=$success
THEN nb←$timedOut;
Request.Advance.nb~~$success
Request.Advance.nb~~$convIdle
Request.Advance.nb~~$bilateralConv -- $active only
Request.Advance.nb~~$conferenceConv -- $active only
Request.Advance.nb~~$voiceTerminalUnavailable -- $active only
Request.Advance.nb~~$noSuchSmarts
Request.Advance.nb~~$noSuchParty
Request.Advance.nb~~$noSuchConv
Request.Advance.nb~~$notInConv
Request.Advance.nb~~$stateMismatch
Request.Advance.nb~~$interfaceError