code: def create(self, domain_name, friendly_name=values.unset,
                 voice_url=values.unset, voice_method=values.unset,
                 voice_fallback_url=values.unset, voice_fallback_method=values.unset,
                 voice_status_callback_url=values.unset,
                 voice_status_callback_method=values.unset,
                 sip_registration=values.unset):
          
          data = values.of({
              'DomainName': domain_name,
              'FriendlyName': friendly_name,
              'VoiceUrl': voice_url,
              'VoiceMethod': voice_method,
              'VoiceFallbackUrl': voice_fallback_url,
              'VoiceFallbackMethod': voice_fallback_method,
              'VoiceStatusCallbackUrl': voice_status_callback_url,
              'VoiceStatusCallbackMethod': voice_status_callback_method,
              'SipRegistration': sip_registration,
          })
  
          payload = self._version.create(
              'POST',
              self._uri,
              data=data,
          )
  
          return DomainInstance(self._version, payload, account_sid=self._solution['account_sid'], )
docs: Create a new DomainInstance
  
          :param unicode domain_name: The unique address on Twilio to route SIP traffic
          :param unicode friendly_name: A string to describe the resource
          :param unicode voice_url: The URL we should call when receiving a call
          :param unicode voice_method: The HTTP method to use with voice_url
          :param unicode voice_fallback_url: The URL we should call when an error occurs in executing TwiML
          :param unicode voice_fallback_method: The HTTP method to use with voice_fallback_url
          :param unicode voice_status_callback_url: The URL that we should call to pass status updates
          :param unicode voice_status_callback_method: The HTTP method we should use to call `voice_status_callback_url`
          :param bool sip_registration: Whether SIP registration is allowed
  
          :returns: Newly created DomainInstance
          :rtype: twilio.rest.api.v2010.account.sip.domain.DomainInstance