Amazon Chime

2021/09/14 - Amazon Chime - 1 updated api methods

Changes  Adds support for SipHeaders parameter for CreateSipMediaApplicationCall.

CreateSipMediaApplicationCall (updated) Link ΒΆ
Changes (request)
{'SipHeaders': {'string': 'string'}}

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

client.create_sip_media_application_call(
    FromPhoneNumber='string',
    ToPhoneNumber='string',
    SipMediaApplicationId='string',
    SipHeaders={
        'string': 'string'
    }
)
type FromPhoneNumber

string

param FromPhoneNumber

[REQUIRED]

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

type ToPhoneNumber

string

param ToPhoneNumber

[REQUIRED]

The phone number that the service should call.

type SipMediaApplicationId

string

param SipMediaApplicationId

[REQUIRED]

The ID of the SIP media application.

type SipHeaders

dict

param SipHeaders

The SIP headers added to an outbound call leg.

  • (string) --

    • (string) --

rtype

dict

returns

Response Syntax

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

Response Structure

  • (dict) --

    • SipMediaApplicationCall (dict) --

      The actual call.

      • TransactionId (string) --

        The transaction ID of a call.