Menu

Expand
Rate this page:

SIP IpAccessControlListMapping Resource

IpAccessControlListMapping resources contain 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.

SIP IpAccessControlListMapping properties

Resource Properties in REST API format
account_sid
sid<AC> Not PII

The SID of the Account that created the IpAccessControlListMapping resource.

date_created
date_time<rfc2822> Not PII

The date and time in GMT that the resource was created specified in RFC 2822 format.

date_updated
date_time<rfc2822> Not PII

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
sid<AL> Not PII

The unique string that that we created to identify the IpAccessControlListMapping resource.

Create a SIP IpAccessControlListMapping resource

post
https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings.json
Parameters
Parameters in REST API format
account_sid
Path
post sid<AC> Not PII

The SID of the Account that will create the resource.

domain_sid
Path
post sid<SD> Not PII

The SID of the SIP domain that will contain the new resource.

ip_access_control_list_sid
Required
post sid<AL> Not PII

The SID of the IpAccessControlList resource to map to the SIP domain.

Example 1
Loading Code Sample...
        
        

        Create a SIP IpAccessControlListMapping resource

        Fetch a SIP IpAccessControlListMapping resource

        get
        https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings/{Sid}.json
        Parameters
        Parameters in REST API format
        account_sid
        Path
        get sid<AC> Not PII

        The SID of the Account that created the IpAccessControlListMapping resource to fetch.

        domain_sid
        Path
        get sid<SD> Not PII

        The SID of the SIP domain that contains the resource to fetch.

        sid
        Path
        get sid<AL> Not PII

        The Twilio-provided string that uniquely identifies the IpAccessControlListMapping resource to fetch.

        Example 1
        Loading Code Sample...
              
              

              Fetch a SIP IpAccessControlListMapping resource

              Read multiple SIP IpAccessControlListMapping resources

              get
              https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings.json
              Parameters
              Parameters in REST API format
              account_sid
              Path
              get sid<AC> Not PII

              The SID of the Account that created the IpAccessControlListMapping resources to read.

              domain_sid
              Path
              get sid<SD> Not PII

              The SID of the SIP domain that contains the resources to read.

              Example 1
              Loading Code Sample...
                    
                    

                    Read multiple SIP IpAccessControlListMapping resources

                    Delete a SIP IpAccessControlListMapping resource

                    delete
                    https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings/{Sid}.json
                    Parameters
                    Parameters in REST API format
                    account_sid
                    Path
                    delete sid<AC> Not PII

                    The SID of the Account that created the IpAccessControlListMapping resources to delete.

                    domain_sid
                    Path
                    delete sid<SD> Not PII

                    The SID of the SIP domain that contains the resources to delete.

                    sid
                    Path
                    delete sid<AL> Not PII

                    The Twilio-provided string that uniquely identifies the IpAccessControlListMapping resource to delete.

                    Example 1
                    Loading Code Sample...
                          
                          

                          Delete a SIP IpAccessControlListMapping resource

                          Rate this page:

                          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 by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

                          Loading Code Sample...
                                
                                
                                

                                Thank you for your feedback!

                                Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

                                Sending your feedback...
                                🎉 Thank you for your feedback!
                                Something went wrong. Please try again.

                                Thanks for your feedback!

                                thanks-feedback-gif