Chime / Client / create_sip_media_application_call

create_sip_media_application_call#

Chime.Client.create_sip_media_application_call(**kwargs)#

Creates an outbound call to a phone number from the phone number specified in the request, and it invokes the endpoint of the specified sipMediaApplicationId.

See also: AWS API Documentation

Request Syntax

response = client.create_sip_media_application_call(
    FromPhoneNumber='string',
    ToPhoneNumber='string',
    SipMediaApplicationId='string',
    SipHeaders={
        'string': 'string'
    }
)
Parameters:
  • FromPhoneNumber (string) –

    [REQUIRED]

    The phone number that a user calls from. This is a phone number in your Amazon Chime phone number inventory.

  • ToPhoneNumber (string) –

    [REQUIRED]

    The phone number that the service should call.

  • SipMediaApplicationId (string) –

    [REQUIRED]

    The ID of the SIP media application.

  • SipHeaders (dict) –

    The SIP headers added to an outbound call leg.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'SipMediaApplicationCall': {
        'TransactionId': 'string'
    }
}

Response Structure

  • (dict) –

    • SipMediaApplicationCall (dict) –

      The actual call.

      • TransactionId (string) –

        The transaction ID of a call.

Exceptions

  • Chime.Client.exceptions.BadRequestException

  • Chime.Client.exceptions.ForbiddenException

  • Chime.Client.exceptions.ResourceLimitExceededException

  • Chime.Client.exceptions.ThrottledClientException

  • Chime.Client.exceptions.UnauthorizedClientException

  • Chime.Client.exceptions.AccessDeniedException

  • Chime.Client.exceptions.ServiceUnavailableException

  • Chime.Client.exceptions.ServiceFailureException