This topic describes how to establish outgoing and incoming connections.
The application initiates a circuit switched connection by invoking TUPConnectReq resulting in the generation of a TUP initial address message (IAM or IAI) to the far exchange. The far exchange can initiate the connection by sending the IAM or IAI message. The application receives a TUP connect indication (EVTTUPCONIND) event. The following illustration shows the process for establishing outgoing connections (where dashed lines indicate optional sequences):
During the connection establishment phase, the application exchanges call progress and other status information with the far exchange by invoking TUPConnectStatusReq with an event type and by receiving TUP connect status indication (EVTTUPCNSTIND) events from the TUP task. The following illustration shows the process for establishing incoming connections (where dashed lines indicate optional sequences):
The connection establishment phase ends when the application:
Receives the TUP connect confirmation (EVTTUPCONCFM) event (far exchange sent answer or connect message).
Invokes TUPConnectResp to signal to the far end that the connection is established for an incoming call.