LarkFeep.mesa
Copyright © 1986 by Xerox Corporation. All rights reserved.
Last Edited by: Swinehart, February 6, 1987 11:04:05 am PST
DIRECTORY
RefID USING [ ID ],
Rope USING [ROPE],
Thrush USING [ ActionID, ConversationID, NB, PartyID, SHHH ]
;
LarkFeep: CEDAR DEFINITIONS = {
LarkFeep is a voice service interface. It is exported to $trunk parties as an optional facility. It supplies trunk-specific actions. Its name should probably be changed.
The present implementation of LarkFeep doesn't generate ActionReports.
Feep is to be called while a conversation is active on the trunk, presumably by a representative of the party at the other end of the conversation. Validity of the caller is assumed, since the caller was able to locate and import this interface. However, it's fair to check one's own opinion of whether the conversation still exists and the trunk is actively in it.
number: The fully-processed number (including "*" and "#" and things) to dial.
noisy: If true, switching will be set up such that the other party hears the feeps.
on, off: If other than the default, determines the length of the generated tones, and the intervals between them, in Milliseconds.
nb will be $noSuchConv or $convNotActive or the like, if not $success.
The present implementation of LarkFeep.Feep doesn't generate ActionReports.
Feep:
PROCEDURE [
shhh: Thrush.SHHH, serviceID: RefID.ID, convID: Thrush.ConversationID, requestingParty: Thrush.PartyID,
number: Rope.ROPE, noisy: BOOLEAN ← FALSE, on, off: CARDINAL← 177777B]
RETURNS [nb: Thrush.NB];
Flash to be called under the same conditions, by same client, with same precautions as for Feep. It arranges to do a switchhook flash, permitting forwarding operations and such.
Action report on completion: actionClass: $switchhookFlash, actionType: $flashed.
extraTime: If other than the default, determines the time after completion of the flash until an event is reported, in Milliseconds. This permits some open-loop allowances for stutter-dial-tone before proceeding with the next operation.
Flash:
PROCEDURE [
shhh: Thrush.SHHH, serviceID: RefID.ID, convID: Thrush.ConversationID, requestingParty: Thrush.PartyID, actionID: Thrush.ActionID,
extraTime: CARDINAL← 177777B]
RETURNS [nb: Thrush.NB];
}.
Swinehart, May 30, 1986 6:04:07 pm PDT
First example of a service-specific interface
changes to: Feep, LarkFeep