Skip to content

Extra Parameters in Call Update #699

@jon-sully

Description

@jon-sully

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumImportant but not urgent; Workaround availablestatus: work in progressTwilio or the community is in the process of implementingtype: bugbug in the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions