twilio-ruby 5.39.2 → 5.40.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGES.md +107 -1
- data/CONTRIBUTING.md +2 -2
- data/ISSUE_TEMPLATE.md +5 -1
- data/PULL_REQUEST_TEMPLATE.md +1 -1
- data/README.md +4 -3
- data/lib/twilio-ruby/framework/version.rb +4 -8
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +6 -4
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +12 -3
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/machine_to_machine.rb +12 -3
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +12 -3
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/national.rb +12 -3
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/shared_cost.rb +12 -3
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +12 -3
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/voip.rb +12 -3
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +2 -1
- data/lib/twilio-ruby/rest/api/v2010/account/call/payment.rb +85 -60
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -2
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +14 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +14 -0
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +14 -0
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +8 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +3 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +2 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/field_type/field_value.rb +8 -4
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/query.rb +11 -4
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/sample.rb +13 -6
- data/lib/twilio-ruby/rest/client.rb +7 -0
- data/lib/twilio-ruby/rest/conversations.rb +39 -3
- data/lib/twilio-ruby/rest/conversations/v1.rb +68 -5
- data/lib/twilio-ruby/rest/conversations/v1/configuration.rb +268 -0
- data/lib/twilio-ruby/rest/conversations/v1/configuration/webhook.rb +262 -0
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +21 -10
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +13 -10
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message/delivery_receipt.rb +34 -19
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +48 -32
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +14 -11
- data/lib/twilio-ruby/rest/conversations/v1/credential.rb +427 -0
- data/lib/twilio-ruby/rest/conversations/v1/role.rb +374 -0
- data/lib/twilio-ruby/rest/conversations/v1/service.rb +442 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/binding.rb +388 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration.rb +271 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/configuration/notification.rb +315 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation.rb +586 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message.rb +549 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/message/delivery_receipt.rb +394 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/participant.rb +519 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/conversation/webhook.rb +457 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/role.rb +395 -0
- data/lib/twilio-ruby/rest/conversations/v1/service/user.rb +419 -0
- data/lib/twilio-ruby/rest/conversations/v1/user.rb +398 -0
- data/lib/twilio-ruby/rest/events.rb +72 -0
- data/lib/twilio-ruby/rest/events/v1.rb +90 -0
- data/lib/twilio-ruby/rest/events/v1/event_type.rb +291 -0
- data/lib/twilio-ruby/rest/events/v1/schema.rb +226 -0
- data/lib/twilio-ruby/rest/events/v1/schema/schema_version.rb +290 -0
- data/lib/twilio-ruby/rest/events/v1/sink.rb +380 -0
- data/lib/twilio-ruby/rest/events/v1/sink/sink_test.rb +115 -0
- data/lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb +119 -0
- data/lib/twilio-ruby/rest/events/v1/subscription.rb +383 -0
- data/lib/twilio-ruby/rest/events/v1/subscription/subscribed_event.rb +216 -0
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +2 -1
- data/lib/twilio-ruby/rest/messaging.rb +6 -0
- data/lib/twilio-ruby/rest/messaging/v1.rb +7 -0
- data/lib/twilio-ruby/rest/messaging/v1/deactivation.rb +164 -0
- data/lib/twilio-ruby/rest/messaging/v1/service.rb +6 -3
- data/lib/twilio-ruby/rest/notify/v1/credential.rb +12 -6
- data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +10 -2
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb +3 -3
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb +16 -2
- data/lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/supporting_document.rb +18 -4
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +10 -5
- data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document/dependent_hosted_number_order.rb +6 -3
- data/lib/twilio-ruby/rest/preview/trusted_comms/business/insights.rb +1 -4
- data/lib/twilio-ruby/rest/proxy/v1/service/phone_number.rb +3 -1
- data/lib/twilio-ruby/rest/proxy/v1/service/session.rb +45 -4
- data/lib/twilio-ruby/rest/proxy/v1/service/session/participant.rb +14 -1
- data/lib/twilio-ruby/rest/serverless/v1/service.rb +13 -13
- data/lib/twilio-ruby/rest/serverless/v1/service/asset.rb +6 -6
- data/lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb +5 -5
- data/lib/twilio-ruby/rest/serverless/v1/service/build.rb +8 -8
- data/lib/twilio-ruby/rest/serverless/v1/service/environment.rb +6 -8
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb +8 -8
- data/lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb +14 -14
- data/lib/twilio-ruby/rest/serverless/v1/service/function.rb +4 -4
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb +7 -7
- data/lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb +1 -1
- data/lib/twilio-ruby/rest/supersim/v1/fleet.rb +12 -11
- data/lib/twilio-ruby/rest/supersim/v1/sim.rb +17 -7
- data/lib/twilio-ruby/rest/supersim/v1/usage_record.rb +75 -9
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/activity.rb +2 -1
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/task/reservation.rb +6 -2
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb +1 -4
- data/lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/reservation.rb +6 -2
- data/lib/twilio-ruby/rest/trunking/v1/trunk.rb +38 -23
- data/lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb +2 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb +2 -1
- data/lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb +201 -0
- data/lib/twilio-ruby/rest/verify/v2/service.rb +21 -9
- data/lib/twilio-ruby/rest/verify/v2/service/entity/challenge.rb +10 -2
- data/lib/twilio-ruby/rest/verify/v2/service/verification.rb +7 -2
- data/lib/twilio-ruby/rest/video/v1/composition.rb +7 -3
- data/lib/twilio-ruby/rest/video/v1/composition_hook.rb +18 -9
- data/lib/twilio-ruby/rest/video/v1/room.rb +2 -1
- data/lib/twilio-ruby/rest/video/v1/room/room_participant/room_participant_subscribe_rule.rb +0 -6
- data/lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb +1 -4
- data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +2 -1
- data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +5 -19
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/framework/version_spec.rb +53 -0
- data/spec/holodeck/holodeck.rb +3 -3
- data/spec/integration/api/v2010/account/incoming_phone_number/local_spec.rb +35 -36
- data/spec/integration/api/v2010/account/incoming_phone_number/mobile_spec.rb +39 -40
- data/spec/integration/api/v2010/account/incoming_phone_number/toll_free_spec.rb +35 -36
- data/spec/integration/api/v2010/account/incoming_phone_number_spec.rb +25 -23
- data/spec/integration/api/v2010/account/message_spec.rb +37 -0
- data/spec/integration/bulkexports/v1/export/day_spec.rb +5 -5
- data/spec/integration/bulkexports/v1/export_configuration_spec.rb +4 -4
- data/spec/integration/bulkexports/v1/export_spec.rb +3 -3
- data/spec/integration/conversations/v1/{webhook_spec.rb → configuration/webhook_spec.rb} +12 -8
- data/spec/integration/conversations/v1/configuration_spec.rb +87 -0
- data/spec/integration/conversations/v1/conversation/message/delivery_receipt_spec.rb +4 -0
- data/spec/integration/conversations/v1/conversation/message_spec.rb +38 -0
- data/spec/integration/conversations/v1/conversation/participant_spec.rb +60 -4
- data/spec/integration/conversations/v1/conversation_spec.rb +35 -0
- data/spec/integration/conversations/v1/credential_spec.rb +219 -0
- data/spec/integration/conversations/v1/role_spec.rb +249 -0
- data/spec/integration/conversations/v1/service/binding_spec.rb +166 -0
- data/spec/integration/conversations/v1/service/configuration/notification_spec.rb +115 -0
- data/spec/integration/conversations/v1/service/configuration_spec.rb +87 -0
- data/spec/integration/conversations/v1/service/conversation/message/delivery_receipt_spec.rb +144 -0
- data/spec/integration/conversations/v1/service/conversation/message_spec.rb +429 -0
- data/spec/integration/conversations/v1/service/conversation/participant_spec.rb +407 -0
- data/spec/integration/conversations/v1/service/conversation/webhook_spec.rb +299 -0
- data/spec/integration/conversations/v1/service/conversation_spec.rb +289 -0
- data/spec/integration/conversations/v1/service/role_spec.rb +260 -0
- data/spec/integration/conversations/v1/service/user_spec.rb +230 -0
- data/spec/integration/conversations/v1/service_spec.rb +174 -0
- data/spec/integration/conversations/v1/user_spec.rb +220 -0
- data/spec/integration/events/v1/event_type_spec.rb +133 -0
- data/spec/integration/events/v1/schema/schema_version_spec.rb +126 -0
- data/spec/integration/events/v1/schema_spec.rb +46 -0
- data/spec/integration/events/v1/sink/sink_test_spec.rb +42 -0
- data/spec/integration/events/v1/sink/sink_validate_spec.rb +44 -0
- data/spec/integration/events/v1/sink_spec.rb +217 -0
- data/spec/integration/events/v1/subscription/subscribed_event_spec.rb +91 -0
- data/spec/integration/events/v1/subscription_spec.rb +243 -0
- data/spec/integration/messaging/v1/deactivation_spec.rb +40 -0
- data/spec/integration/numbers/v2/regulatory_compliance/end_user_spec.rb +27 -0
- data/spec/integration/numbers/v2/regulatory_compliance/supporting_document_spec.rb +27 -0
- data/spec/integration/studio/v1/flow/execution/execution_step_spec.rb +1 -0
- data/spec/integration/studio/v2/flow/execution/execution_step_spec.rb +1 -0
- data/spec/integration/supersim/v1/sim_spec.rb +23 -0
- data/spec/integration/supersim/v1/usage_record_spec.rb +463 -18
- data/spec/integration/trunking/v1/trunk/recording_spec.rb +79 -0
- data/spec/integration/trunking/v1/trunk_spec.rb +4 -0
- data/spec/integration/verify/v2/service/access_token_spec.rb +1 -1
- data/spec/integration/verify/v2/service/entity/challenge_spec.rb +8 -8
- data/spec/integration/video/v1/room_spec.rb +37 -0
- data/spec/integration/wireless/v1/sim/data_session_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -1
- metadata +82 -5
- data/lib/twilio-ruby/rest/conversations/v1/webhook.rb +0 -262
@@ -48,12 +48,9 @@ module Twilio
|
|
48
48
|
|
49
49
|
##
|
50
50
|
# Access the settings
|
51
|
-
# @return [
|
52
|
-
# @return [SettingsContext]
|
51
|
+
# @return [SettingsContext] SettingsContext
|
53
52
|
def settings
|
54
53
|
return SettingsContext.new(@version, )
|
55
|
-
|
56
|
-
@settings ||= SettingsList.new(@version, )
|
57
54
|
end
|
58
55
|
|
59
56
|
##
|
@@ -135,7 +135,8 @@ module Twilio
|
|
135
135
|
# non-home networks in the United States. The metering period begins the day of
|
136
136
|
# activation and ends on the same day in the following month. Can be up to 2TB.
|
137
137
|
# See [national
|
138
|
-
# roaming](https://www.twilio.com/docs/wireless/api/rateplan-resource#national-roaming)
|
138
|
+
# roaming](https://www.twilio.com/docs/wireless/api/rateplan-resource#national-roaming)
|
139
|
+
# for more info.
|
139
140
|
# @param [String] international_roaming_data_limit The total data usage (download
|
140
141
|
# and upload combined) in Megabytes that the Network allows during one month when
|
141
142
|
# roaming outside the United States. Can be up to 2TB.
|
@@ -31,10 +31,6 @@ module Twilio
|
|
31
31
|
# Lists DataSessionInstance records from the API as a list.
|
32
32
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
33
33
|
# memory before returning.
|
34
|
-
# @param [Time] end_ The date that the record ended, given as GMT in [ISO
|
35
|
-
# 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
36
|
-
# @param [Time] start The date that the Data Session started, given as GMT in [ISO
|
37
|
-
# 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
38
34
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
39
35
|
# guarantees to never return more than limit. Default is no limit
|
40
36
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -42,18 +38,14 @@ module Twilio
|
|
42
38
|
# but a limit is defined, stream() will attempt to read the limit with the most
|
43
39
|
# efficient page size, i.e. min(limit, 1000)
|
44
40
|
# @return [Array] Array of up to limit results
|
45
|
-
def list(
|
46
|
-
self.stream(
|
41
|
+
def list(limit: nil, page_size: nil)
|
42
|
+
self.stream(limit: limit, page_size: page_size).entries
|
47
43
|
end
|
48
44
|
|
49
45
|
##
|
50
46
|
# Streams DataSessionInstance records from the API as an Enumerable.
|
51
47
|
# This operation lazily loads records as efficiently as possible until the limit
|
52
48
|
# is reached.
|
53
|
-
# @param [Time] end_ The date that the record ended, given as GMT in [ISO
|
54
|
-
# 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
55
|
-
# @param [Time] start The date that the Data Session started, given as GMT in [ISO
|
56
|
-
# 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
57
49
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
58
50
|
# guarantees to never return more than limit. Default is no limit.
|
59
51
|
# @param [Integer] page_size Number of records to fetch per request, when
|
@@ -61,10 +53,10 @@ module Twilio
|
|
61
53
|
# but a limit is defined, stream() will attempt to read the limit with the most
|
62
54
|
# efficient page size, i.e. min(limit, 1000)
|
63
55
|
# @return [Enumerable] Enumerable that will yield up to limit results
|
64
|
-
def stream(
|
56
|
+
def stream(limit: nil, page_size: nil)
|
65
57
|
limits = @version.read_limits(limit, page_size)
|
66
58
|
|
67
|
-
page = self.page(
|
59
|
+
page = self.page(page_size: limits[:page_size], )
|
68
60
|
|
69
61
|
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
70
62
|
end
|
@@ -86,18 +78,12 @@ module Twilio
|
|
86
78
|
##
|
87
79
|
# Retrieve a single page of DataSessionInstance records from the API.
|
88
80
|
# Request is executed immediately.
|
89
|
-
# @param [Time] end_ The date that the record ended, given as GMT in [ISO
|
90
|
-
# 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
91
|
-
# @param [Time] start The date that the Data Session started, given as GMT in [ISO
|
92
|
-
# 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
93
81
|
# @param [String] page_token PageToken provided by the API
|
94
82
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
95
83
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
96
84
|
# @return [Page] Page of DataSessionInstance
|
97
|
-
def page(
|
85
|
+
def page(page_token: :unset, page_number: :unset, page_size: :unset)
|
98
86
|
params = Twilio::Values.of({
|
99
|
-
'End' => Twilio.serialize_iso8601_datetime(end_),
|
100
|
-
'Start' => Twilio.serialize_iso8601_datetime(start),
|
101
87
|
'PageToken' => page_token,
|
102
88
|
'Page' => page_number,
|
103
89
|
'PageSize' => page_size,
|
data/lib/twilio-ruby/version.rb
CHANGED
@@ -21,6 +21,59 @@ describe 'Version Action Methods' do
|
|
21
21
|
expect(actual).to_not eq(nil)
|
22
22
|
end
|
23
23
|
|
24
|
+
it 'handles redirect fetch responses' do
|
25
|
+
@holodeck.mock(
|
26
|
+
Twilio::Response.new(
|
27
|
+
307,
|
28
|
+
'{"phone_number": "+15108675310"}'
|
29
|
+
)
|
30
|
+
)
|
31
|
+
actual = @client.lookups.v1.phone_numbers('+15017122661').fetch
|
32
|
+
expect(actual).to_not eq(nil)
|
33
|
+
end
|
34
|
+
|
35
|
+
describe 'stream' do
|
36
|
+
before(:each) do
|
37
|
+
@holodeck.mock(
|
38
|
+
Twilio::Response.new(
|
39
|
+
200,
|
40
|
+
'{
|
41
|
+
"next_page_uri": "/2010-04-01/Accounts/AC123/Messages.json?Page=1",
|
42
|
+
"messages": [{"body": "payload0"}, {"body": "payload1"}]
|
43
|
+
}'
|
44
|
+
)
|
45
|
+
)
|
46
|
+
@holodeck.mock(
|
47
|
+
Twilio::Response.new(
|
48
|
+
200,
|
49
|
+
'{
|
50
|
+
"next_page_uri": "/2010-04-01/Accounts/AC123/Messages.json?Page=2",
|
51
|
+
"messages": [{"body": "payload2"}, {"body": "payload3"}]
|
52
|
+
}'
|
53
|
+
)
|
54
|
+
)
|
55
|
+
@holodeck.mock(
|
56
|
+
Twilio::Response.new(
|
57
|
+
200,
|
58
|
+
'{
|
59
|
+
"next_page_uri": null,
|
60
|
+
"messages": [{"body": "payload4"}]
|
61
|
+
}'
|
62
|
+
)
|
63
|
+
)
|
64
|
+
end
|
65
|
+
|
66
|
+
it 'streams all results' do
|
67
|
+
actual = @client.messages.stream
|
68
|
+
expect(actual.count).to eq(5)
|
69
|
+
end
|
70
|
+
|
71
|
+
it 'limits results' do
|
72
|
+
actual = @client.messages.stream(limit: 3)
|
73
|
+
expect(actual.count).to eq(3)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
24
77
|
it 'receives create responses' do
|
25
78
|
@holodeck.mock(
|
26
79
|
Twilio::Response.new(
|
data/spec/holodeck/holodeck.rb
CHANGED
@@ -40,12 +40,12 @@ class Holodeck
|
|
40
40
|
ANY = Request.new(any: true)
|
41
41
|
|
42
42
|
def initialize
|
43
|
-
@
|
43
|
+
@responses = []
|
44
44
|
@requests = []
|
45
45
|
end
|
46
46
|
|
47
47
|
def mock(response)
|
48
|
-
@
|
48
|
+
@responses << response
|
49
49
|
end
|
50
50
|
|
51
51
|
def request(host, port, method, url, params = {}, data = {}, headers = {}, auth = nil, _timeout = nil)
|
@@ -57,7 +57,7 @@ class Holodeck
|
|
57
57
|
headers: headers,
|
58
58
|
auth: auth
|
59
59
|
)
|
60
|
-
@
|
60
|
+
@responses.shift
|
61
61
|
end
|
62
62
|
|
63
63
|
def has_request?(request)
|
@@ -31,7 +31,7 @@ describe 'Local' do
|
|
31
31
|
%q[
|
32
32
|
{
|
33
33
|
"end": 0,
|
34
|
-
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?PageSize=
|
34
|
+
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0",
|
35
35
|
"incoming_phone_numbers": [
|
36
36
|
{
|
37
37
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
@@ -46,10 +46,12 @@ describe 'Local' do
|
|
46
46
|
},
|
47
47
|
"date_created": "Thu, 30 Jul 2015 23:19:04 +0000",
|
48
48
|
"date_updated": "Thu, 30 Jul 2015 23:19:04 +0000",
|
49
|
+
"emergency_status": "Active",
|
50
|
+
"emergency_address_sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
49
51
|
"friendly_name": "(808) 925-5327",
|
50
52
|
"identity_sid": "RIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
51
|
-
"phone_number": "+18089255327",
|
52
53
|
"origin": "origin",
|
54
|
+
"phone_number": "+18089255327",
|
53
55
|
"sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
54
56
|
"sms_application_sid": "",
|
55
57
|
"sms_fallback_method": "POST",
|
@@ -66,20 +68,17 @@ describe 'Local' do
|
|
66
68
|
"voice_fallback_url": null,
|
67
69
|
"voice_method": "POST",
|
68
70
|
"voice_url": null,
|
69
|
-
"
|
70
|
-
"
|
71
|
-
"
|
71
|
+
"bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
72
|
+
"voice_receive_mode": "voice",
|
73
|
+
"status": "in-use"
|
72
74
|
}
|
73
75
|
],
|
74
|
-
"last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?PageSize=1&Page=2",
|
75
76
|
"next_page_uri": null,
|
76
|
-
"num_pages": 3,
|
77
77
|
"page": 0,
|
78
|
-
"page_size":
|
78
|
+
"page_size": 50,
|
79
79
|
"previous_page_uri": null,
|
80
80
|
"start": 0,
|
81
|
-
"
|
82
|
-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?PageSize=1"
|
81
|
+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0"
|
83
82
|
}
|
84
83
|
]
|
85
84
|
))
|
@@ -97,17 +96,14 @@ describe 'Local' do
|
|
97
96
|
%q[
|
98
97
|
{
|
99
98
|
"end": 0,
|
100
|
-
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?PageSize=
|
99
|
+
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0",
|
101
100
|
"incoming_phone_numbers": [],
|
102
|
-
"last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?PageSize=1&Page=2",
|
103
101
|
"next_page_uri": null,
|
104
|
-
"num_pages": 3,
|
105
102
|
"page": 0,
|
106
|
-
"page_size":
|
103
|
+
"page_size": 50,
|
107
104
|
"previous_page_uri": null,
|
108
105
|
"start": 0,
|
109
|
-
"
|
110
|
-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?PageSize=1"
|
106
|
+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Local.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0"
|
111
107
|
}
|
112
108
|
]
|
113
109
|
))
|
@@ -148,35 +144,38 @@ describe 'Local' do
|
|
148
144
|
"api_version": "2010-04-01",
|
149
145
|
"beta": false,
|
150
146
|
"capabilities": {
|
151
|
-
"
|
147
|
+
"voice": true,
|
152
148
|
"sms": false,
|
153
|
-
"
|
149
|
+
"mms": true,
|
150
|
+
"fax": false
|
154
151
|
},
|
155
152
|
"date_created": "Thu, 30 Jul 2015 23:19:04 +0000",
|
156
153
|
"date_updated": "Thu, 30 Jul 2015 23:19:04 +0000",
|
157
|
-
"
|
154
|
+
"emergency_status": "Active",
|
155
|
+
"emergency_address_sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
156
|
+
"friendly_name": "friendly_name",
|
158
157
|
"identity_sid": "RIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
159
|
-
"phone_number": "+18089255327",
|
160
158
|
"origin": "origin",
|
159
|
+
"phone_number": "+18089255327",
|
161
160
|
"sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
162
|
-
"sms_application_sid": "",
|
163
|
-
"sms_fallback_method": "
|
164
|
-
"sms_fallback_url": "",
|
165
|
-
"sms_method": "
|
166
|
-
"sms_url": "",
|
167
|
-
"status_callback": "",
|
168
|
-
"status_callback_method": "
|
161
|
+
"sms_application_sid": "APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
162
|
+
"sms_fallback_method": "GET",
|
163
|
+
"sms_fallback_url": "https://example.com",
|
164
|
+
"sms_method": "GET",
|
165
|
+
"sms_url": "https://example.com",
|
166
|
+
"status_callback": "https://example.com",
|
167
|
+
"status_callback_method": "GET",
|
169
168
|
"trunk_sid": null,
|
170
169
|
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
|
171
|
-
"voice_application_sid": "",
|
172
|
-
"voice_caller_id_lookup":
|
173
|
-
"voice_fallback_method": "
|
174
|
-
"voice_fallback_url":
|
175
|
-
"voice_method": "
|
176
|
-
"voice_url":
|
177
|
-
"
|
178
|
-
"
|
179
|
-
"
|
170
|
+
"voice_application_sid": "APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
171
|
+
"voice_caller_id_lookup": true,
|
172
|
+
"voice_fallback_method": "GET",
|
173
|
+
"voice_fallback_url": "https://example.com",
|
174
|
+
"voice_method": "GET",
|
175
|
+
"voice_url": "https://example.com",
|
176
|
+
"bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
177
|
+
"voice_receive_mode": "voice",
|
178
|
+
"status": "in-use"
|
180
179
|
}
|
181
180
|
]
|
182
181
|
))
|
@@ -31,7 +31,7 @@ describe 'Mobile' do
|
|
31
31
|
%q[
|
32
32
|
{
|
33
33
|
"end": 0,
|
34
|
-
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json?
|
34
|
+
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0",
|
35
35
|
"incoming_phone_numbers": [
|
36
36
|
{
|
37
37
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
@@ -40,16 +40,18 @@ describe 'Mobile' do
|
|
40
40
|
"api_version": "2010-04-01",
|
41
41
|
"beta": null,
|
42
42
|
"capabilities": {
|
43
|
-
"mms":
|
44
|
-
"sms":
|
45
|
-
"voice":
|
43
|
+
"mms": true,
|
44
|
+
"sms": false,
|
45
|
+
"voice": true
|
46
46
|
},
|
47
|
-
"date_created": "
|
48
|
-
"date_updated": "
|
49
|
-
"
|
47
|
+
"date_created": "Thu, 30 Jul 2015 23:19:04 +0000",
|
48
|
+
"date_updated": "Thu, 30 Jul 2015 23:19:04 +0000",
|
49
|
+
"emergency_status": "Active",
|
50
|
+
"emergency_address_sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
51
|
+
"friendly_name": "(808) 925-5327",
|
50
52
|
"identity_sid": "RIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
51
|
-
"phone_number": "+61429099450",
|
52
53
|
"origin": "origin",
|
54
|
+
"phone_number": "+18089255327",
|
53
55
|
"sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
54
56
|
"sms_application_sid": "",
|
55
57
|
"sms_fallback_method": "POST",
|
@@ -66,20 +68,17 @@ describe 'Mobile' do
|
|
66
68
|
"voice_fallback_url": null,
|
67
69
|
"voice_method": "POST",
|
68
70
|
"voice_url": null,
|
69
|
-
"
|
70
|
-
"
|
71
|
-
"
|
71
|
+
"bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
72
|
+
"voice_receive_mode": "voice",
|
73
|
+
"status": "in-use"
|
72
74
|
}
|
73
75
|
],
|
74
|
-
"last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json?Page=0&PageSize=50",
|
75
76
|
"next_page_uri": null,
|
76
|
-
"num_pages": 1,
|
77
77
|
"page": 0,
|
78
78
|
"page_size": 50,
|
79
79
|
"previous_page_uri": null,
|
80
80
|
"start": 0,
|
81
|
-
"
|
82
|
-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json"
|
81
|
+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0"
|
83
82
|
}
|
84
83
|
]
|
85
84
|
))
|
@@ -97,17 +96,14 @@ describe 'Mobile' do
|
|
97
96
|
%q[
|
98
97
|
{
|
99
98
|
"end": 0,
|
100
|
-
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json?
|
99
|
+
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0",
|
101
100
|
"incoming_phone_numbers": [],
|
102
|
-
"last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json?Page=0&PageSize=50",
|
103
101
|
"next_page_uri": null,
|
104
|
-
"num_pages": 1,
|
105
102
|
"page": 0,
|
106
103
|
"page_size": 50,
|
107
104
|
"previous_page_uri": null,
|
108
105
|
"start": 0,
|
109
|
-
"
|
110
|
-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json"
|
106
|
+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/Mobile.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0"
|
111
107
|
}
|
112
108
|
]
|
113
109
|
))
|
@@ -148,35 +144,38 @@ describe 'Mobile' do
|
|
148
144
|
"api_version": "2010-04-01",
|
149
145
|
"beta": false,
|
150
146
|
"capabilities": {
|
151
|
-
"
|
147
|
+
"voice": true,
|
152
148
|
"sms": false,
|
153
|
-
"
|
149
|
+
"mms": true,
|
150
|
+
"fax": false
|
154
151
|
},
|
155
152
|
"date_created": "Thu, 30 Jul 2015 23:19:04 +0000",
|
156
153
|
"date_updated": "Thu, 30 Jul 2015 23:19:04 +0000",
|
154
|
+
"emergency_status": "Active",
|
155
|
+
"emergency_address_sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
156
|
+
"friendly_name": "friendly_name",
|
157
157
|
"identity_sid": "RIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
158
|
-
"friendly_name": "(808) 925-5327",
|
159
|
-
"phone_number": "+18089255327",
|
160
158
|
"origin": "origin",
|
159
|
+
"phone_number": "+18089255327",
|
161
160
|
"sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
162
|
-
"sms_application_sid": "",
|
163
|
-
"sms_fallback_method": "
|
164
|
-
"sms_fallback_url": "",
|
165
|
-
"sms_method": "
|
166
|
-
"sms_url": "",
|
167
|
-
"status_callback": "",
|
168
|
-
"status_callback_method": "
|
161
|
+
"sms_application_sid": "APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
162
|
+
"sms_fallback_method": "GET",
|
163
|
+
"sms_fallback_url": "https://example.com",
|
164
|
+
"sms_method": "GET",
|
165
|
+
"sms_url": "https://example.com",
|
166
|
+
"status_callback": "https://example.com",
|
167
|
+
"status_callback_method": "GET",
|
169
168
|
"trunk_sid": null,
|
170
169
|
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
|
171
|
-
"voice_application_sid": "",
|
172
|
-
"voice_caller_id_lookup":
|
173
|
-
"voice_fallback_method": "
|
174
|
-
"voice_fallback_url":
|
175
|
-
"voice_method": "
|
176
|
-
"voice_url":
|
177
|
-
"
|
178
|
-
"
|
179
|
-
"
|
170
|
+
"voice_application_sid": "APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
171
|
+
"voice_caller_id_lookup": true,
|
172
|
+
"voice_fallback_method": "GET",
|
173
|
+
"voice_fallback_url": "https://example.com",
|
174
|
+
"voice_method": "GET",
|
175
|
+
"voice_url": "https://example.com",
|
176
|
+
"bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
177
|
+
"voice_receive_mode": "voice",
|
178
|
+
"status": "in-use"
|
180
179
|
}
|
181
180
|
]
|
182
181
|
))
|
@@ -31,7 +31,7 @@ describe 'TollFree' do
|
|
31
31
|
%q[
|
32
32
|
{
|
33
33
|
"end": 0,
|
34
|
-
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json?PageSize=
|
34
|
+
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0",
|
35
35
|
"incoming_phone_numbers": [
|
36
36
|
{
|
37
37
|
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
@@ -46,10 +46,12 @@ describe 'TollFree' do
|
|
46
46
|
},
|
47
47
|
"date_created": "Thu, 30 Jul 2015 23:19:04 +0000",
|
48
48
|
"date_updated": "Thu, 30 Jul 2015 23:19:04 +0000",
|
49
|
+
"emergency_status": "Active",
|
50
|
+
"emergency_address_sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
49
51
|
"friendly_name": "(808) 925-5327",
|
50
52
|
"identity_sid": "RIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
51
|
-
"phone_number": "+18089255327",
|
52
53
|
"origin": "origin",
|
54
|
+
"phone_number": "+18089255327",
|
53
55
|
"sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
54
56
|
"sms_application_sid": "",
|
55
57
|
"sms_fallback_method": "POST",
|
@@ -66,20 +68,17 @@ describe 'TollFree' do
|
|
66
68
|
"voice_fallback_url": null,
|
67
69
|
"voice_method": "POST",
|
68
70
|
"voice_url": null,
|
69
|
-
"
|
70
|
-
"
|
71
|
-
"
|
71
|
+
"bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
72
|
+
"voice_receive_mode": "voice",
|
73
|
+
"status": "in-use"
|
72
74
|
}
|
73
75
|
],
|
74
|
-
"last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json?PageSize=1&Page=2",
|
75
76
|
"next_page_uri": null,
|
76
|
-
"num_pages": 3,
|
77
77
|
"page": 0,
|
78
|
-
"page_size":
|
78
|
+
"page_size": 50,
|
79
79
|
"previous_page_uri": null,
|
80
80
|
"start": 0,
|
81
|
-
"
|
82
|
-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json?PageSize=1"
|
81
|
+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0"
|
83
82
|
}
|
84
83
|
]
|
85
84
|
))
|
@@ -97,17 +96,14 @@ describe 'TollFree' do
|
|
97
96
|
%q[
|
98
97
|
{
|
99
98
|
"end": 0,
|
100
|
-
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json?PageSize=
|
99
|
+
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0",
|
101
100
|
"incoming_phone_numbers": [],
|
102
|
-
"last_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json?PageSize=1&Page=2",
|
103
101
|
"next_page_uri": null,
|
104
|
-
"num_pages": 3,
|
105
102
|
"page": 0,
|
106
|
-
"page_size":
|
103
|
+
"page_size": 50,
|
107
104
|
"previous_page_uri": null,
|
108
105
|
"start": 0,
|
109
|
-
"
|
110
|
-
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json?PageSize=1"
|
106
|
+
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/TollFree.json?FriendlyName=friendly_name&Beta=true&PhoneNumber=%2B19876543210&PageSize=50&Page=0"
|
111
107
|
}
|
112
108
|
]
|
113
109
|
))
|
@@ -148,35 +144,38 @@ describe 'TollFree' do
|
|
148
144
|
"api_version": "2010-04-01",
|
149
145
|
"beta": false,
|
150
146
|
"capabilities": {
|
151
|
-
"
|
147
|
+
"voice": true,
|
152
148
|
"sms": false,
|
153
|
-
"
|
149
|
+
"mms": true,
|
150
|
+
"fax": false
|
154
151
|
},
|
155
152
|
"date_created": "Thu, 30 Jul 2015 23:19:04 +0000",
|
156
153
|
"date_updated": "Thu, 30 Jul 2015 23:19:04 +0000",
|
157
|
-
"
|
154
|
+
"emergency_status": "Active",
|
155
|
+
"emergency_address_sid": "ADaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
156
|
+
"friendly_name": "friendly_name",
|
158
157
|
"identity_sid": "RIaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
159
|
-
"phone_number": "+18089255327",
|
160
158
|
"origin": "origin",
|
159
|
+
"phone_number": "+18089255327",
|
161
160
|
"sid": "PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
162
|
-
"sms_application_sid": "",
|
163
|
-
"sms_fallback_method": "
|
164
|
-
"sms_fallback_url": "",
|
165
|
-
"sms_method": "
|
166
|
-
"sms_url": "",
|
167
|
-
"status_callback": "",
|
168
|
-
"status_callback_method": "
|
161
|
+
"sms_application_sid": "APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
162
|
+
"sms_fallback_method": "GET",
|
163
|
+
"sms_fallback_url": "https://example.com",
|
164
|
+
"sms_method": "GET",
|
165
|
+
"sms_url": "https://example.com",
|
166
|
+
"status_callback": "https://example.com",
|
167
|
+
"status_callback_method": "GET",
|
169
168
|
"trunk_sid": null,
|
170
169
|
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/IncomingPhoneNumbers/PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
|
171
|
-
"voice_application_sid": "",
|
172
|
-
"voice_caller_id_lookup":
|
173
|
-
"voice_fallback_method": "
|
174
|
-
"voice_fallback_url":
|
175
|
-
"voice_method": "
|
176
|
-
"voice_url":
|
177
|
-
"
|
178
|
-
"
|
179
|
-
"
|
170
|
+
"voice_application_sid": "APaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
171
|
+
"voice_caller_id_lookup": true,
|
172
|
+
"voice_fallback_method": "GET",
|
173
|
+
"voice_fallback_url": "https://example.com",
|
174
|
+
"voice_method": "GET",
|
175
|
+
"voice_url": "https://example.com",
|
176
|
+
"bundle_sid": "BUaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
177
|
+
"voice_receive_mode": "voice",
|
178
|
+
"status": "in-use"
|
180
179
|
}
|
181
180
|
]
|
182
181
|
))
|