RtcSipInviteMember

Updated at:

Invites a SIP endpoint to join a channel.

Operation description

Rate limit

The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

rtc:RtcSipInviteMember

none

*App

acs:rtc::{#accountId}:app/{#AppId}

None None

Request parameters

Parameter

Type

Required

Description

Example

AppId

string

Yes

The application ID. You can create and query the ID in the console. Only a single ID is supported.

eo85****

ChannelId

string

Yes

The channel ID. Only a single ID is supported.

$rtc_channelid

Uid

string

Yes

The user ID.

$rtc_userid

DeviceType

string

Yes

The type of the device used to call the third-party SIP endpoint. Valid values:

  • sip_device

  • mcu

  • phone

Note: Currently, only the phone type is supported.

phone

ServerAddress

string

No

  1. The IP address of the nearest RTC SIP server.

  2. You can resolve the domain name rtcsip.dingtalk.com locally to obtain the nearest access address. For example, run dig rtcsip.dingtalk.com to obtain the address.

39.101.232.13

AppToken

string

No

The meeting token. For code generation, refer to https://help.aliyun.com/document_detail/2689025.html.

000qaaasas……b

Registered

boolean

Yes

Specifies whether the third-party meeting system requires registration for inbound calls.

false

SipDisplayName

string

Yes

The username displayed on the third-party system.

testdevice

SipUserId

string

Yes

  1. When DeviceType is mcu, it represents the third-party meeting system.

  2. When DeviceType is sip_device, it represents the registered device.

  3. If the third-party meeting system requires registration for inbound calls, it is the account provided by the third-party system to create an account.

  4. If registration is not required, it is the SIP username or RTC user ID for calling the third-party system.

$reg_userid

SipUserPassword

string

No

The registration password that matches the SipUserId if the third-party system requires registration for inbound calls.

654321

SipRoomId

string

Yes

  1. When the device is mcu, it indicates the channel number of the third-party meeting system to be called.

  2. When the device is sip_device, it indicates the registration number of the registered device to be invited.

  3. When the device is phone, it indicates the called phone number.

18512514528

SipUri

string

No

  1. When the device is mcu, it indicates the address information of the third-party meeting system in the format of ip:port;transport=tcp/udp/tls. Example: "30.240.160.66:5060;transport=tcp"

  2. When the device is sip_device, it indicates the registration address of the registered device to be invited. Example: 39.101.232.13

  3. When the device is phone, it indicates the address information of the telephone gateway. Example: "30.240.160.66:5060;transport=tcp"

30.240.160.66:5060;transport=tcp

SipUserAgent

string

No

The brand and model of the third-party SIP endpoint being called, such as polycom, cisco, tencent, zoom, or pstn.

pstn

CallNumber

string

No

The custom line number in PSTN scenarios.

055112345678

TaskId

string

No

The task ID.

taskId

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

16A96B9A-F203-4EC5-8E43-CB92E68F4CF8

Examples

Success response

JSON format

{
  "RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CF8"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.