3.5. Outbound Calls, Synchronous Mode
See Table 19 for the sequencing of function calls and the messages exchanged with the ISDN carrier during a synchronous mode outbound call. The items denoted by an asterisk (*) are optional events that may be reported to the application for specific signaling protocols.
- Note: When using the synchronous programming model, the application must handle unsolicited events unless the events are masked or disabled. Refer to the gc_SetEvtMsk( ) function description in the Global Call API Library Reference for a list of maskable events.
Table 19. ISDN Outbound Call (Synchronous)
|
Function/Event
|
Action/Description
|
| gc_MakeCall( ) |
Requests a connection using a specified line device; a CRN is assigned and returned immediately. Setup is message sent to network |
| GCEV_PROCEEDING* |
Event indicates that a Proceeding message was received from the network. |
| GCEV_PROGRESSING* |
Event indicates that a Progress message was received from network. Multiple events of this type may be received within a call. The application may assign a voice resource to detect the in-band tones. |
| GCEV_ALERTING* |
Event indicates that an Alerting message was received from network indicating that the remote end was reached but a connection has not been established. When the call is answered, gc_MakeCall( ) returns. |
| Completion of gc_MakeCall( ) |
Connect message was received from network. |
| * = Optional event |