Package javaforce.voip
package javaforce.voip
-
ClassDescriptionEvery call has 2 sides, originator and terminator.Codec InfoCodec Type.Base interface for all codec encoders/decoders.DTMF (Dual Tone Multi Freq) Generates DTMF tones for local playback.Encodes/decodes g711 packets (A-Law).Encodes/decodes g711 packets (U-Law).G.722 codec Derived from Asterisk source code.Encodes/decodes g729a packets.Encodes/decodes GSM packets.Either plays wav file or generates intermittent beep to party member on hold.SIP/RTSP PacketPacketReceiverRTP (Real-Time Transport Protocol) Handles sending/receiving RTP packets.Encodes/Decodes RTP/H263+ packets (H263-1998) Payload type is Dynamic SDP Syntax = "H263-1998" http://tools.ietf.org/html/rfc2429 http://tools.ietf.org/html/rfc4629Encodes/Decodes RTP/H263+ packets (H263-2000) Payload type is Dynamic SDP Syntax = "H263-2000" http://tools.ietf.org/html/rfc4629Interface to allow RTP to trigger callbacks.Base class for RTSP communications (Real Time Streaming Protocol).Handles the client end of a RTSP link.RTSP Client InterfaceHandles RTSP packets directly.Handles the server end of a RTSP link.RTSP Server InterfaceSDP (Session Description Protocol)Base class for SIP communications (Session Initiation Protocol).Handles the client end of a SIP link.Callback interface for handling SIP messages for a SIP client.Handles SIP packets directly.Handles the server end of a SIP link.Callback interface for handling SIP messages for a SIP server.TransportInterfaceTransport TypeLoads a WAV file specific to VoIP requirements (must be 8000Hz, mono, 16bit PCM) Samples are returned in 20ms blocks (last partial block is chopped).