How to use the trombone operation

A number of state tables are provided to allow you to set up a trombone operation. If your requirements for the trombone function are straightforward, you can use the supplied state tables without modification.

The IBMTromboneXmp sample application demonstrates how to use the IBMTromboneCall state table to make a tromboned call to a third party in one simple operation, and a high level flow chart for this application is given in Figure 1.

If your requirements are more complex, a number of state tables are provided that break down the function provided by the IBMTromboneCall state table into several stages. For most users, this should allow more control over setting up the trombone operation without having to modify the supplied state tables. The state tables that break down the IBMTromboneCall function are IBMTromboneMake, IBMTromboneRdy, IBMTromboneConn, IBMTromboneDisc, and IBMTromboneWait. The two state tables IBMTromboneXmpA and IBMTromboneXmpB show two slightly different ways of using these state tables to setup a trombone operation.

This section uses the IBMTromboneXmp application to explain trombone operation.

As you can see, you must supply the IBMTromboneCall state table with the phone number to which to make the outbound part of the trombone call and the format string for dialing this number. You can leave all other parameters to the IBMTromboneCall state table blank, unless you want to use the extra functionality they provide.

In the IBMTromboneXmp state table, two additional features are used:

  1. The log_file_name parameter is set to Trombone_Test to provide an event log of all the trombone calls. See the Blueworx Voice Response for AIX: Configuring the System information for information about viewing logged events.
  2. The end_on_DTMF parameter is set to “1234” to allow the caller to disconnect the trombone call by dialing 1234 during the trombone operation.
Figure 1. High-level flow chart for the IBMTromboneXmp state table
This Figure is a simple flow chart of boxes as follows:Incoming call starts the state table IBMTromboneXmp.Initialize variables and issue AnswerCall action.Issue PlayPrompt action and use GetData action to determine the number to trombone to.Make a format string for the number (all pounds in this example, but you may need to add a leading point or comma, depending on your telephony.This box begins with the action InvokeStateTable (IBMTromboneCall) and contains these parameters: phone_number=supplied phone number; format=derived format string; log_file_name="Trombone_Test"; user_data=blank; out_stbl_name=blank (default: IBMTromboneOut); end_on_DTMF="1234";music_on_hold=blank (default: no music on hold); call_status (return code). In the same box are Return Edge 0 to Return Edge 3. Return Edge 0 returns the flow to Box 3 by means of a Playprompt action to indicate a disconnection. The other results flow into the next box.Issue Playprompt action to indicate a technical problem.CloseEverything action.