-
Notifications
You must be signed in to change notification settings - Fork 471
Open
Labels
priority: mediumImportant but not urgent; Workaround availableImportant but not urgent; Workaround availablestatus: work in progressTwilio or the community is in the process of implementingTwilio or the community is in the process of implementingtype: bugbug in the librarybug in the library
Description
Issue Summary
Extra parameters are being sent along in my Call Updates — in particular, StatusCallbackMethod, Method, and FallbackMethod are all being sent to Twilio with the values of "POST" even though I didn't specify them in my actual calls(id).update( ... ) call.
This wouldn't be a big deal except that I think by specifying the method for any of these endpoints, the actual URL stored for them gets reset. So my incoming calls, which had a Status Callback URL set by the TwiML App assigned to that phone number, were having their Status Callback URLs reset any time I used the Call Update API.
Steps to Reproduce
- Start a call
- Update it from the Ruby client
Code Snippet
# Example for ending a call from the server
Twilio::REST::Client.new.calls(twilio_call_sid).update(
status: :completed
)Exception/Log
Completed parameter was sent but so were the other parameters.
Technical details:
- twilio-ruby version: 6.7.1
- ruby version: 3.2.2
(Twilio Ticket 15197987)
Metadata
Metadata
Assignees
Labels
priority: mediumImportant but not urgent; Workaround availableImportant but not urgent; Workaround availablestatus: work in progressTwilio or the community is in the process of implementingTwilio or the community is in the process of implementingtype: bugbug in the librarybug in the library