User guide
110 RealCT Direct API Developer Guide
Chapter 4: E1 Networking
Handling Incoming and Outgoing Calls
Processing Calls
Call processing involves setting up and tearing down calls. Calls
have to be processed before they go through, so be sure to verify
call processing in the early stages of development.
Table 21 shows the functions used in sending and receiving calls
over an E1 line. These functions are the same as those used in
analog telephony. The protocol files translate these functions
into the specific bit patterns and handshaking signals used by
the E1 protocols, as described in Loading The Line Protocol on
page 101.
Table 21. API Functions Used in E1 Signaling.
Function Description
RHT_WAIT_LINE_ON Waits for an incoming call and
automatically acknowledges it.
RHT_OFF_HOOK
RHT_SEIZE_LINE
Answers and incoming call or initiates
an outgoing call.
RHT_ON_HOOK
RHT_DISCONNECT
Terminates incoming or outgoing calls.
RHT_STOP Terminates a function.
RHT_BLOCK_LINE Blocks the line, preventing the line
from receiving incoming calls.
RHT_FORCED_RELEASE Terminates an incoming call by
transmitting a Forced Release signal
on the line.
RHT_WAIT_LINE_OFF Monitors the line waiting for a
disconnect
RHT_WAIT_ANSWER Monitors the line waiting for an
answer.
RHT_WAIT_IDLE Waits for an idle pattern on the line.