IBMTromboneOut

This state table performs the outbound call part of the trombone operation and should never called by the user (IBM_Trombone_Custom_Server calls it). Its job is to perform a MakeCall and return the status of the attempt to IBM_Trombone_Custom_Server. If the MakeCall is successful, it uses a WaitEvent action to wait until one of the parties hangs up before exiting. A third party hang-up is indicated by an EDGE_HUP from the WaitEvent; a caller hang-up is indicated by an EDGE_EVENT_HOST from the WaitEvent.

The most likely area that may need to be customized is to play an announcement prompt to the third party before connecting to the caller (look for the “MakeCall succeeded” comment in the source code for this state table). A simple PlayPrompt can be inserted here if the prompt is fixed.

If you want to vary the prompt to be played depending on who the caller is, use the user_data parameter to carry data to specify which prompt to play.

Parameters

String phone_number (40 character max):

The number to dial for the outgoing part of the Trombone (see definition of phone_number in the MakeCall state table action for details).

String format (50 characters max):

The format string for the number to dial for the outgoing part of the trombone (see the definition of format in the MakeCall state table action for details).

String permit_ch_grps (64 characters max):

The permitted channel groups for the outgoing part of the trombone. This value should be copied into SV178 (see the definition of SV178 for information on how this variable is used).

String permit_channels (64 characters max):

The permitted channels for the outgoing part of the trombone This value should be copied into SV228 (see the definition of SV228 for information on how this variable is used).

String log_filename (64 characters max):

If this is blank, no event logging is performed.

If you supply a filename, the IBMTromboneLog state table logs the trombone calls and their results to an event log with that filename.

String user_data (64 characters max):

Some user-defined data for simple communications from the IBMTromboneCall state table to the IBMTromboneOut state table.

This may be used, for example, to reference a prompt to be played as an announcement to the third party before the trombone operation connects the third party to the caller.

String partner_call_id:

This is the Call Reference of the inbound part of the trombone operation. It is supplied to provide a unique link between the two halves of the trombone operation for debug purposes. It is included in the header information of any event logging.

String addn_call_info1 (140 characters max):

Reserved for Blueworx Voice Response.

String addn_call_info2 (35 characters max):

Reserved for Blueworx Voice Response.

String addn_call_info3 (35 characters max):

Reserved for Blueworx Voice Response.

String addn_call_info4 (35 characters max):

Reserved forBlueworx Voice Response.

String addn_call_info5 (35 characters max):

Reserved for Blueworx Voice Response.