Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra Parameters in Call Update #699

Open
jon-sully opened this issue Jan 12, 2024 · 0 comments
Open

Extra Parameters in Call Update #699

jon-sully opened this issue Jan 12, 2024 · 0 comments

Comments

@jon-sully
Copy link

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

  1. Start a call
  2. 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.

image

Technical details:

  • twilio-ruby version: 6.7.1
  • ruby version: 3.2.2

(Twilio Ticket 15197987)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant