Hello all
I'm running a dedicated number from Twilio to test out direct calling/messaging with multi media on our enterprise setup and I've come across a couple of issues.
I'm hoping these can be solved currently and I'm just missing something.
When a external number sends a MMS text and image for example, 3cx will not catch the text body portion. This means we will have to take care to notify the people contacting us, that we can receive a message or a file but not both at the same time.
Regarding that issue in particular Twilio does send both the text body (in the same traditional way as before) and the file at the same time. So maybe this is a use case scenario that the devs missed?
The other issue I'm facing which is not a real problem just something really annoying from my prospective in IT. There is a MIME type issue causing errors and warning to spam me from Twilio.
https://www.twilio.com/docs/api/errors/12300
To further explain..
When Twilio sends a text message (with or without media) to the 3cx webhook. Twilio expects a response from 3cx in a "application/xml", "text/xml" or "text/html" MIME type format. Of course 3cx sends a empty response back to let Twilio know it at least received a message (200 OK, I assume as I'm not seeing a status code on Twilio's side) which is correct. But the webserver of 3cx sends it's response with a ""application/json". Which causes Twilio to use it's fallback option and to store a log of the incident which again pings me on each occurrence.
Did I miss something in the guide or is this something that needs to be accounted for in a future update?