Skip to content

Error - 12300 Invalid Content-Type #165

@Hamza123Imran

Description

@Hamza123Imran

Hi, i have implemented audio call in my iOS App with backend server of php. I'm getting the access token from the my server and than uses all the delegates , as per following the steps of twilio swift project. Now when i make a call, it successfully registered my push credentials first, than on click of call button it first show ringing in my console and than call fails. When i check my voice dashboard on twilio i get this error,
Twilio is unable to process the Content-Type of the provided URL. Please see the Twilio Markup XML Documentation for more information on valid Content-Types.
You must return a Content-Type for all requests. Requests without a Content-Type will appear in the Debugger as a 502 Bad Gateway error., These are the parameters that comes in the API,
`

ApplicationSid "APaecd77856d0049b8b80baa3c41f193a2"
ApiVersion "2010-04-01"
Called ""
Caller "client:alice"
CallStatus "ringing"
to "+923244544783"
From "client:alice"
To ""
CallSid "CA98977f223a883f16b3585165066adde1"
Direction "inbound"
AccountSid "ACbc55b9853285730abd137444750e53c6"

I'm making client to client call through phone number. In identity i pass my phone number and in to i pass . other client phone number. I'm confused that why it is failing the call. Showing this error in my console, [VERBOSE TVOCall] handlePJSIPInviteStateDisconnected. Error: Error Domain=com.twilio.voice.error Code=603 "Connection error (603)." UserInfo={NSLocalizedDescription=Connection error (603).,

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions