次の方法で共有


RIL Outgoing Voice Call Process (Windows Embedded CE 6.0)

1/6/2010

To make an outbound voice call, the cellular TSP and the RIL driver complete the following steps:

  1. The application calls the Telephony API (TAPI) lineMakeCall or lineDial functions to initiate the call.

  2. The TSP creates a new TAPI call in the dialing state.

  3. The TSP calls the RIL_SetAudioDevices function to set the RIL_AUDIO_HANDSET constant as the device for both Transmit (TX) and Receive (RX) audio. If the function call completes successfully, it returns RIL_RESULT_OK.

  4. Connection Manager contacts TAPI to obtain the mute state by calling the RIL_GetAudioMuting function.

  5. The TSP calls the RIL_Dial function using the IOCTL_RIL_DIAL IOCTL. This causes RIL_IOControl to be called with IOCTL_RIL_DIAL.

  6. The RIL driver issues a dial command to the radio. The radio acknowledges that the dial is initiated.

  7. The RIL driver returns RIL_RESULT_OK for the dial command.

  8. The RIL driver generates a RIL_CALLTYPE_VOICE constant.

  9. The RIL driver generates a RIL_NOTIFY_CALLPROGRESSINFO constant to indicate call state transitions.

  10. The TSP calls the RIL_GetCallList function repeatedly while it waits for the call to be in RIL_CALLSTAT_ACTIVE mode. If the function call completes successfully, it returns RIL_RESULT_OK with a RILCALLINFO structure with the following values.

    Member Value

    DwID

    1

    DwDirection

    RIL_CALLDIR_OUTGOING

    DwStatus

    RIL_CALLSTAT_DIALING or RIL_CALLSTAT_ACTIVE

    DwType

    RIL_CALLTYPE_VOICE

    DwMultiparty

    RIL_CALL_SINGLEPARTY

    RaAddress

    "14255551212"

If a data connection is active, and the user requests an outgoing voice call, Connection Manager will request a disconnection of the data connection if it is not a suspend resume connection, and wait for a response from the radio that the data connection is appropriately disconnected before making the outgoing voice call. The outgoing voice call will never be made if the radio does not disconnect the data. If the connection is suspend resume capable, Connection Manager will do nothing to the lower layers, and expect the radio to mark the connection as suspended.

Note

By default, simultaneous data and voice connections are not supported. This capability is enabled only if the RIL driver sends the RIL_NOTIFY_SYSTEMCAPSCHANGED notification set to RIL_SYSTEMCAPS_VOICEDATA.

Requirements

Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

System Capabilities Constants

Concepts

RIL Incoming Voice Call Receiving Process

Other Resources

RIL Call Overview