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'
}
)
[REQUIRED]
The phone number that a user calls from. This is a phone number in your Amazon Chime phone number inventory.
[REQUIRED]
The phone number that the service should call.
[REQUIRED]
The ID of the SIP media application.
The SIP headers added to an outbound call leg.
dict
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