Menu

Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

SIP IpAccessControlListMapping Resource

IpAccessControlListMappings resource contains the list of IpAccessControlList resources associated with this domain. IpAccessControlList resources contain the IpAddress resources that describe the IP addresses with access to the SIP Domain.

When an INVITE is received for a SIP Domain, the source IP address must be in one of the mapped lists to be accepted.

SipIpAccessControlListMapping properties

account_sid
sid<AC> Not PII

The unique id of the Account that is responsible for this resource.

date_created
date_time<rfc2822> Not PII

The date that this resource was created, given as GMT in RFC 2822 format.

date_updated
date_time<rfc2822> Not PII

The date that this resource was last updated, given as GMT in RFC 2822 format.

friendly_name
string Not PII

A human readable descriptive text for this resource, up to 64 characters long.

sid
sid<AL> Not PII

A 34 character string that uniquely identifies this resource.

subresource_uris
uri_map Not PII

The list of IP addresses associated with this domain.

uri
uri Not PII

The URI for this resource, relative to https://api.twilio.com

Create a SipIpAccessControlListMapping resource

post
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings.json
Parameters
AccountSid
Required
post sid<AC> Not PII

The unique id of the Account that is responsible for this resource.

DomainSid
Required
post sid<SD> Not PII

A 34 character string that uniquely identifies the SIP domain.

IpAccessControlListSid
Required
post sid<AL> Not PII

The unique id of the IP access control list to map to the SIP domain.

Example 1
Loading Code Sample...
      
      
      
      

      Fetch a SipIpAccessControlListMapping resource

      get
      https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings/{Sid}.json
      Parameters
      AccountSid
      Required
      get sid<AC> Not PII

      The unique id of the Account that is responsible for this resource.

      DomainSid
      Required
      get sid<SD> Not PII

      A 34 character string that uniquely identifies the SIP domain.

      Sid
      Required
      get sid<AL> Not PII

      A 34 character string that uniquely identifies the resource to fetch.

      Example 1
      Loading Code Sample...
          
          
          
          

          Read multiple SipIpAccessControlListMapping resources

          get
          https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings.json
          Parameters
          AccountSid
          Required
          get sid<AC> Not PII

          The unique id of the Account that is responsible for this resource.

          DomainSid
          Required
          get sid<SD> Not PII

          A 34 character string that uniquely identifies the SIP domain.

          Example 1
          Loading Code Sample...
              
              
              
              

              Delete a SipIpAccessControlListMapping resource

              delete
              https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings/{Sid}.json
              Parameters
              AccountSid
              Required
              delete sid<AC> Not PII

              The unique id of the Account that is responsible for this resource.

              DomainSid
              Required
              delete sid<SD> Not PII

              A 34 character string that uniquely identifies the SIP domain.

              Sid
              Required
              delete sid<AL> Not PII

              A 34 character string that uniquely identifies the resource to delete.

              Example 1
              Loading Code Sample...
                  
                  
                  
                  

                  Need some help?

                  We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.

                  Loading Code Sample...