lib/twilio-ruby/rest/trunking/v1/trunk.rb in twilio-ruby-5.10.3 vs lib/twilio-ruby/rest/trunking/v1/trunk.rb in twilio-ruby-5.10.4

- old
+ new

@@ -47,11 +47,16 @@ # for more information. # @param [Boolean] secure The Secure Trunking settings for this trunk. If turned # on, all calls going through this trunk will be secure using SRTP for media and # TLS for signalling. If turned off, then RTP will be used for media. See [Secure # Trunking](https://www.twilio.com/docs/sip-trunking/getting-started#securetrunking) for more information. - # @param [Boolean] cnam_lookup_enabled The cnam_lookup_enabled + # @param [Boolean] cnam_lookup_enabled The Caller ID Name (CNAM) lookup setting + # for this trunk. If turned on, all inbound calls to this SIP Trunk from the + # United States and Canada will automatically perform a CNAM Lookup and display + # Caller ID data on your phone. See + # [CNAM](https://www.twilio.com/docs/sip-trunking#CNAM) Lookups for more + # information. # @return [TrunkInstance] Newly created TrunkInstance def create(friendly_name: :unset, domain_name: :unset, disaster_recovery_url: :unset, disaster_recovery_method: :unset, recording: :unset, secure: :unset, cnam_lookup_enabled: :unset) data = Twilio::Values.of({ 'FriendlyName' => friendly_name, 'DomainName' => domain_name, @@ -254,11 +259,16 @@ # for more information. # @param [Boolean] secure The Secure Trunking settings for this trunk. If turned # on, all calls going through this trunk will be secure using SRTP for media and # TLS for signalling. If turned off, then RTP will be used for media. See [Secure # Trunking](https://www.twilio.com/docs/sip-trunking/getting-started#securetrunking) for more information. - # @param [Boolean] cnam_lookup_enabled The cnam_lookup_enabled + # @param [Boolean] cnam_lookup_enabled The Caller ID Name (CNAM) lookup setting + # for this trunk. If turned on, all inbound calls to this SIP Trunk from the + # United States and Canada will automatically perform a CNAM Lookup and display + # Caller ID data on your phone. See + # [CNAM](https://www.twilio.com/docs/sip-trunking#CNAM) Lookups for more + # information. # @return [TrunkInstance] Updated TrunkInstance def update(friendly_name: :unset, domain_name: :unset, disaster_recovery_url: :unset, disaster_recovery_method: :unset, recording: :unset, secure: :unset, cnam_lookup_enabled: :unset) data = Twilio::Values.of({ 'FriendlyName' => friendly_name, 'DomainName' => domain_name, @@ -444,11 +454,11 @@ def recording @properties['recording'] end ## - # @return [Boolean] The cnam_lookup_enabled + # @return [Boolean] The Caller ID Name (CNAM) lookup setting for this trunk. def cnam_lookup_enabled @properties['cnam_lookup_enabled'] end ## @@ -530,10 +540,15 @@ # for more information. # @param [Boolean] secure The Secure Trunking settings for this trunk. If turned # on, all calls going through this trunk will be secure using SRTP for media and # TLS for signalling. If turned off, then RTP will be used for media. See [Secure # Trunking](https://www.twilio.com/docs/sip-trunking/getting-started#securetrunking) for more information. - # @param [Boolean] cnam_lookup_enabled The cnam_lookup_enabled + # @param [Boolean] cnam_lookup_enabled The Caller ID Name (CNAM) lookup setting + # for this trunk. If turned on, all inbound calls to this SIP Trunk from the + # United States and Canada will automatically perform a CNAM Lookup and display + # Caller ID data on your phone. See + # [CNAM](https://www.twilio.com/docs/sip-trunking#CNAM) Lookups for more + # information. # @return [TrunkInstance] Updated TrunkInstance def update(friendly_name: :unset, domain_name: :unset, disaster_recovery_url: :unset, disaster_recovery_method: :unset, recording: :unset, secure: :unset, cnam_lookup_enabled: :unset) context.update( friendly_name: friendly_name, domain_name: domain_name, \ No newline at end of file