:doc:`ChimeSDKVoice <../../chime-sdk-voice>` / Client / create_sip_media_application_call

*********************************
create_sip_media_application_call
*********************************



.. py:method:: ChimeSDKVoice.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 <https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-voice-2022-08-03/CreateSipMediaApplicationCall>`_  


  **Request Syntax**
  ::

    response = client.create_sip_media_application_call(
        FromPhoneNumber='string',
        ToPhoneNumber='string',
        SipMediaApplicationId='string',
        SipHeaders={
            'string': 'string'
        },
        ArgumentsMap={
            '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 SDK 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) --* 

      


  :type ArgumentsMap: dict
  :param ArgumentsMap: 

    Context passed to a CreateSipMediaApplication API call. For example, you could pass key-value pairs such as: ``"FirstName": "John", "LastName": "Doe"``

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'SipMediaApplicationCall': {
              'TransactionId': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **SipMediaApplicationCall** *(dict) --* 

        The actual call.

        
        

        - **TransactionId** *(string) --* 

          The call's transaction ID.

          
    
  
  **Exceptions**
  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.BadRequestException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ForbiddenException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ResourceLimitExceededException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ThrottledClientException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ServiceFailureException`

  