B C D E F G H I J K L M P R S T U W

B

BUFFERSIZE - Static variable in class cnrg.itx.gtwy.Gateway
Size of voice packets transferred from phone to Gateway.

C

callChangedEvent(CallEv[]) - Method in class cnrg.itx.gtwy.pbx.MyCallObserver
 
callInProgress() - Method in class cnrg.itx.gtwy.pbx.Dialer
This method returns true if the PBX has successfully placed a call and this call is still in progress.
ChannelControl - class cnrg.itx.gtwy.ChannelControl.
This is the building block interface between a class and a Gateway channel hardware control.
ChannelControl() - Constructor for class cnrg.itx.gtwy.ChannelControl
 
channelOffHook(int) - Method in class cnrg.itx.gtwy.ChannelControl
Sets the channel off hook to allow for passing voice data through.
channelOnHook(int) - Method in class cnrg.itx.gtwy.ChannelControl
Sets the channel on hook.
channelSetUp(int, int) - Method in class cnrg.itx.gtwy.ChannelControl
Used for channel initialization.
checkProvider() - Method in class cnrg.itx.gtwy.pbx.PBXSignaling
This method just checks that our provider hasn't quit on us
close() - Method in class cnrg.itx.gtwy.PlayDestination
Used to close the destination to receiving voice packets.
close() - Method in class cnrg.itx.gtwy.RecordSource
Method for closing the source.
cnrg.itx.gtwy - package cnrg.itx.gtwy
The gateway is the interface where the computer and telephone networks can transfer voice data to one another.  In the cnrg.itx.gtwy package, the software is configured to program Dialogic Corporation's D41/EPCI card.  The Windows NT platform is necessary to use this software. It is important to note that the D41/EPCI channels are limited to servicing half-duplex connections only.  In order to service a full-duplex connection, two channels are needed per session.  A "line" is an abstraction of these two channels.
cnrg.itx.gtwy.pbx - package cnrg.itx.gtwy.pbx
 

D

dialComputer(Line, String) - Method in class cnrg.itx.gtwy.Gateway
Dials an computer application extension from ListenChannel.
Dialer - class cnrg.itx.gtwy.pbx.Dialer.
This class handles placing one call in the PBX, from a line in the Gateway to some telephone number specified by a caller
Dialer(PBXSignaling, boolean, InvitePacket, String, String, Socket) - Constructor for class cnrg.itx.gtwy.pbx.Dialer
Base constructor for Dialer class
Dialer(PBXSignaling, InvitePacket, String, String, Socket) - Constructor for class cnrg.itx.gtwy.pbx.Dialer
Constructor with default logging (which is none)
DialingException - exception cnrg.itx.gtwy.pbx.DialingException.
This class is the exception thrown by Dialer
DialingException(String) - Constructor for class cnrg.itx.gtwy.pbx.DialingException
Constructor
dialingInProgress() - Method in class cnrg.itx.gtwy.pbx.Dialer
This method returns true is the PBX is in the act of dialing a destination telephone.
dialPhone(String, int) - Method in class cnrg.itx.gtwy.ChannelControl
Dials a phone.
dialPhone(String, Line) - Method in class cnrg.itx.gtwy.Gateway
Used by SignalInterface to place a call to a phone.

E

endPlayConnection(int) - Method in class cnrg.itx.gtwy.ChannelControl
Stops audio playout from computer to phone
endRecordConnection(int) - Method in class cnrg.itx.gtwy.ChannelControl
Terminates the data flow from phone to computer.

F

finalize() - Method in class cnrg.itx.gtwy.pbx.PBXSignalingServer
Destructor for PBXSignalingServer - stop all running Dialers, unregister from Directory Server, and exit
freeLine(Line) - Method in class cnrg.itx.gtwy.Gateway
Resets and unreserves a line for a future connection.

G

Gateway - class cnrg.itx.gtwy.Gateway.
This class contains the main Gateway control.
GatewayException - exception cnrg.itx.gtwy.GatewayException.
A GatewayException is a exception thrown by the various Gateway components.
GatewayException() - Constructor for class cnrg.itx.gtwy.GatewayException
Class constructor.
GatewayException(String) - Constructor for class cnrg.itx.gtwy.GatewayException
Class constructor.
getAvailability() - Method in class cnrg.itx.gtwy.Line
 
getAvailableLine() - Method in class cnrg.itx.gtwy.Gateway
Finds a line that can be used for a connection between a computer and a phone.
getChannelControl() - Method in class cnrg.itx.gtwy.Gateway
Called to receive the ChannelControl object responsible for controlling the Gateway hardware.
getChDev() - Method in class cnrg.itx.gtwy.Line
 
getExtension(int, boolean) - Method in class cnrg.itx.gtwy.ChannelControl
This is where the channel gets the phone's requested extension number.
getLine() - Method in class cnrg.itx.gtwy.PlayDestination
 
getLine() - Method in class cnrg.itx.gtwy.RecordSource
Called to get the Line instance associated with RecordSource.
getLineNumber() - Method in class cnrg.itx.gtwy.Line
 
getPhoneNumber() - Method in class cnrg.itx.gtwy.Line
 
getProperties() - Method in class cnrg.itx.gtwy.PlayDestination
The Gateway is not concerned about properties.
getProperties() - Method in class cnrg.itx.gtwy.RecordSource
The Gateway is not concerned about properties.
getProvider() - Method in class cnrg.itx.gtwy.pbx.JtapiHandler
this method simply returns a provider
getProvider() - Method in class cnrg.itx.gtwy.pbx.PBXSignaling
This method returns our Jtapi Provider, which is non-null
getSecondDev() - Method in class cnrg.itx.gtwy.Line
 
getStatistics() - Method in class cnrg.itx.gtwy.PlayDestination
 
getStatistics() - Method in class cnrg.itx.gtwy.RecordSource
 

H

handleDialInvite(InvitePacket, Socket) - Method in class cnrg.itx.gtwy.pbx.PBXSignaling
method handles a Dial INVITE packet.
handleHangupInvite(InvitePacket) - Method in class cnrg.itx.gtwy.pbx.PBXSignaling
This method handles a Hangup request (SigPacket.isHangup() true).
hangup(Line) - Method in class cnrg.itx.gtwy.Gateway
Called by a RecordChannel.

I

initialize(int, int, int, int) - Method in class cnrg.itx.gtwy.ChannelControl
Initializes parameters in the .cpp file.

J

JtapiHandler - class cnrg.itx.gtwy.pbx.JtapiHandler.
 
jtapiPeer - Variable in class cnrg.itx.gtwy.pbx.JtapiHandler
 

K

kickProvider() - Method in class cnrg.itx.gtwy.pbx.JtapiHandler
If our provider dies, this routine should try to kick it back into action

L

Line - class cnrg.itx.gtwy.Line.
A class that provides information regarding each Gateway line.
Line(int, int, int, String) - Constructor for class cnrg.itx.gtwy.Line
The line is considered available when an instance is created.
ListenChannel - class cnrg.itx.gtwy.ListenChannel.
Takes care of servicing incoming calls from the phone.
ListenChannel(Line, ChannelControl, Gateway) - Constructor for class cnrg.itx.gtwy.ListenChannel
 

M

main(String[]) - Static method in class cnrg.itx.gtwy.Gateway
The main entry point for the Gateway.
main(String[]) - Static method in class cnrg.itx.gtwy.pbx.Test
 
main(String[]) - Static method in class cnrg.itx.gtwy.pbx.PBXSignalDelete
 
main(String[]) - Static method in class cnrg.itx.gtwy.pbx.PBXSignalingServer
 
makeAvailable() - Method in class cnrg.itx.gtwy.Line
Makes the gateway line available for a connection between a phone and computer.
makeUnAvailable() - Method in class cnrg.itx.gtwy.Line
Makes the gateway line unavailable for another connection.
makeWait() - Method in class cnrg.itx.gtwy.ListenChannel
Puts the ListenChannel to "sleep".
mute(boolean) - Method in class cnrg.itx.gtwy.PlayDestination
Used to mute the voice data sent to the destination.
mute(boolean) - Method in class cnrg.itx.gtwy.RecordSource
Method to mute and unmute the source.
MyCallObserver - class cnrg.itx.gtwy.pbx.MyCallObserver.
 
MyCallObserver() - Constructor for class cnrg.itx.gtwy.pbx.MyCallObserver
 
MyCallObserver(boolean) - Constructor for class cnrg.itx.gtwy.pbx.MyCallObserver
 

P

PBXSignalDelete - class cnrg.itx.gtwy.pbx.PBXSignalDelete.
 
PBXSignalDelete() - Constructor for class cnrg.itx.gtwy.pbx.PBXSignalDelete
 
PBXSignaling - class cnrg.itx.gtwy.pbx.PBXSignaling.
The Signaling Component that controls the PBX.
PBXSignaling(boolean, String, String) - Constructor for class cnrg.itx.gtwy.pbx.PBXSignaling
Creates a PBXSignaling object and gets a provider
PBXSignalingException - exception cnrg.itx.gtwy.pbx.PBXSignalingException.
 
PBXSignalingException(String) - Constructor for class cnrg.itx.gtwy.pbx.PBXSignalingException
Constructor
PBXSignalingServer - class cnrg.itx.gtwy.pbx.PBXSignalingServer.
This is the main program class for PBXSignaling.
PBXSignalingServer.ThreadWait - class cnrg.itx.gtwy.pbx.PBXSignalingServer.ThreadWait.
Inner private class that waits for keyboard input.
PBXSignalingServer.ThreadWait(PBXSignalingServer, PBXSignalingServer) - Constructor for class cnrg.itx.gtwy.pbx.PBXSignalingServer.ThreadWait
 
PBXSignalingServer(String[]) - Constructor for class cnrg.itx.gtwy.pbx.PBXSignalingServer
Constructor is invoked by main.
PlayChannel - class cnrg.itx.gtwy.PlayChannel.
This class controls the second channel in a data connection.
PlayChannel(Line, ChannelControl) - Constructor for class cnrg.itx.gtwy.PlayChannel
 
PlayDestination - class cnrg.itx.gtwy.PlayDestination.
The user-defined destination of voice data packets from the computer network to the gateway.
PlayDestination(Line, ChannelControl) - Constructor for class cnrg.itx.gtwy.PlayDestination
 
playDTMF(String, int) - Method in class cnrg.itx.gtwy.ChannelControl
Plays DTMF tones to the telephone connected to the line.
playDTMF(String, Line, Connection) - Method in class cnrg.itx.gtwy.Gateway
Used by SignalInterface to play DTMF tones onto the connected phone.
playPacket(int, int) - Method in class cnrg.itx.gtwy.ChannelControl
Plays voice data from a buffer to a phone.
provider - Variable in class cnrg.itx.gtwy.pbx.JtapiHandler
 
PXFERFACTOR - Static variable in class cnrg.itx.gtwy.Gateway
Factor BUFFERSIZE is multiplied by to determine the size of voice packets transferred from Gateway to phone.

R

RecordChannel - class cnrg.itx.gtwy.RecordChannel.
Takes care of sending voice data from the primary channel from the phone to the computer network.
RecordChannel(Line, Connection, ChannelControl, Gateway) - Constructor for class cnrg.itx.gtwy.RecordChannel
 
recordPacket(RecordSource, int, int) - Method in class cnrg.itx.gtwy.ChannelControl
Sends voice data from phone to computer.
RecordSource - class cnrg.itx.gtwy.RecordSource.
This is abstracted as the source for the voice data packets sent from the Gateway to the computer network.
RecordSource(Channel, Line) - Constructor for class cnrg.itx.gtwy.RecordSource
 
rejectCallMessage(int) - Method in class cnrg.itx.gtwy.ChannelControl
Plays out a message to a phone when a call has been rejected.
reroute(int, int) - Method in class cnrg.itx.gtwy.ChannelControl
Reroutes the second channel's playout to the primary channel's playout.
resetPlaySequence(int, boolean) - Method in class cnrg.itx.gtwy.ChannelControl
Resets handlers for a playout on a phone.
resetRecordSequence(int, boolean) - Method in class cnrg.itx.gtwy.ChannelControl
Resets handlers for sending data from phone to computer.
resetSequence(Line) - Method in class cnrg.itx.gtwy.Gateway
Reinitializes a line for data flow.
restart() - Method in class cnrg.itx.gtwy.ListenChannel
"Wakes up" the ListenChannel to listen for the next incoming call.
run() - Method in class cnrg.itx.gtwy.PlayChannel
 
run() - Method in class cnrg.itx.gtwy.ListenChannel
 
run() - Method in class cnrg.itx.gtwy.RecordChannel
 
run() - Method in class cnrg.itx.gtwy.pbx.Test
 
run() - Method in class cnrg.itx.gtwy.pbx.Dialer
This method runs the thread - this thread continues to run until the call is hungup, or the PBX Server is shut down, or placing the call failed (then we exit right away).
run() - Method in class cnrg.itx.gtwy.pbx.PBXSignalingServer.ThreadWait
 

S

sendDTMF(String, Line) - Method in class cnrg.itx.gtwy.Gateway
RecordChannel calls this to send any DTMF digits it received while sending voice data from a phone to a computer.
sendToNetwork(byte[]) - Method in class cnrg.itx.gtwy.RecordSource
Called whenever data is received from a phone.
setPeerProperties(PropertiesCollection) - Method in class cnrg.itx.gtwy.PlayDestination
The Gateway does not set peer properties.
setPeerProperties(PropertiesCollection) - Method in class cnrg.itx.gtwy.RecordSource
Peer properties are never set.
setProperties(PropertiesCollection) - Method in class cnrg.itx.gtwy.PlayDestination
No properties are set.
setProperties(PropertiesCollection) - Method in class cnrg.itx.gtwy.RecordSource
No properties are set.
setUpConnection(Line, Connection) - Method in class cnrg.itx.gtwy.Gateway
Sets up a data connection between phone and computer.
shutDown(int[]) - Method in class cnrg.itx.gtwy.ChannelControl
Closes all Gateway channels and cleans up memory.
start() - Method in class cnrg.itx.gtwy.RecordSource
Method to start the source.
stop() - Method in class cnrg.itx.gtwy.RecordSource
Method to stop the source.
stop() - Method in class cnrg.itx.gtwy.pbx.JtapiHandler
 
stopDialers() - Method in class cnrg.itx.gtwy.pbx.PBXSignaling
This method is called when PBX Signaling is being shut down.

T

tearDownConnection(Line) - Method in class cnrg.itx.gtwy.Gateway
Used by SignalInterface to take down a data connection between computer and phone.
tearDownPlayConnection(Line) - Method in class cnrg.itx.gtwy.Gateway
Used by RecordChannel after a hangup to stop playout on a phone.
Test - class cnrg.itx.gtwy.pbx.Test.
This class can act as a surrogate Gateway for purposes of testing the PBX Server
Test(String[]) - Constructor for class cnrg.itx.gtwy.pbx.Test
 
TIMEOUT - Static variable in class cnrg.itx.gtwy.pbx.Dialer
 

U

unroute(int) - Method in class cnrg.itx.gtwy.ChannelControl
"Releases" the second channel from playing out on the primary channel.
useLine(Line) - Method in class cnrg.itx.gtwy.Gateway
Checks if the specified line can be used for a connection between a phone and computer.

W

waitForCall(int) - Method in class cnrg.itx.gtwy.ChannelControl
Sets up the channel to wait for a phone to dial in.
write(byte[]) - Method in class cnrg.itx.gtwy.PlayDestination
Writes voice data to a specified buffer on the gateway.
writeToPlay(int, byte[]) - Method in class cnrg.itx.gtwy.ChannelControl
Writes voice data from computer to buffers in native code.

B C D E F G H I J K L M P R S T U W