SIP CredentialListMapping Resource
The CredentialListMapping resource represents the CredentialList resources associated with a SIP Domain. A CredentialList resource contains the Credential resources of the users who can access the SIP Domain.
If an INVITE is received for a domain with a credential list mapped to it, we challenge the request and your system must authenticate it with a username and password. To be accepted, the username and password must be in one of the credential lists mapped to the SIP Domain.
SIP CredentialListMapping properties
Resource Properties in REST API format | |
---|---|
account_sid
|
The SID of the Account that created the CredentialListMapping resource. |
date_created
|
The date and time in GMT that the resource was created specified in RFC 2822 format. |
date_updated
|
The date and time in GMT that the resource was last updated specified in RFC 2822 format. |
friendly_name
|
The string that you assigned to describe the resource. |
sid
|
The unique string that that we created to identify the CredentialListMapping resource. |
Create a SIP CredentialListMapping resource
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings.json
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
The SID of the Account that will create the resource. |
domain_sid
Path
|
The SID of the SIP domain that will contain the new resource. |
credential_list_sid
必須
|
The SID of the CredentialList resource to map to the SIP domain. |
例 1
Fetch a SIP CredentialListMapping resource
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings/{Sid}.json
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
The SID of the Account that created the CredentialListMapping resource to fetch. |
domain_sid
Path
|
The SID of the SIP domain that contains the resource to fetch. |
sid
Path
|
The Twilio-provided string that uniquely identifies the CredentialListMapping resource to fetch. |
例 1
Read multiple SIP CredentialListMapping resources
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings.json
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
The SID of the Account that created the CredentialListMapping resources to read. |
domain_sid
Path
|
The SID of the SIP domain that contains the resources to read. |
例 1
Delete a SIP CredentialListMapping resource
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings/{Sid}.json
パラメーター
Parameters in REST API format | |
---|---|
account_sid
Path
|
The SID of the Account that created the CredentialListMapping resources to delete. |
domain_sid
Path
|
The SID of the SIP domain that contains the resource to delete. |
sid
Path
|
The Twilio-provided string that uniquely identifies the CredentialListMapping resource to delete. |
例 1
ヘルプが必要ですか?
誰しもが一度は考える「コーディングって難しい」。そんな時は、お問い合わせフォームから質問してください。 または、Stack Overflow でTwilioタグのついた情報から欲しいものを探してみましょう。