13241: Dial->SIP: Invalid method value
WARNING
You receive this warning when the method attribute on <Dial><Sip> is set to a value other than GET or POST. On <Sip>, the method attribute controls which HTTP method Twilio uses when requesting the TwiML URL specified by the url attribute. If you omit method, Twilio uses POST by default.
- Your
<Sip>noun includesmethodwith a value other thanGETorPOST. - Your application sets a
urlon<Sip>and passes an unsupported HTTP method for the request to that URL. - Your TwiML is generated dynamically, and the code that builds
<Dial><Sip>is sending an invalidmethodvalue instead of using a supported value or the defaultPOST.
- Update the
<Sip>noun to usemethod="GET"ormethod="POST". - If you do not need to override the HTTP method, remove the
methodattribute and let Twilio use the defaultPOST. - Review the code or template that generates your TwiML and confirm the
urlandmethodvalues on<Sip>are valid before you return the response.