The request is the response Url:
https://www.mywebsite/twilio.xml
But this time coming from the server as a response
It took me some time because I was investigating the logs with Twilio support team.
I finally found the problem.
As I was explaining, I am testing the Twilio automatic call building an Intraweb application on my laptop.
But the xml file automatically spoken by Twilio call is hosted on a web server were Apache is installed. This is because Twilio requires a web link which cannot be local!
And it happens that on that web server, there is another Intraweb application running. And unfortunately, even if the call is not issued by that one, because the xml file is hosted in its wwwroot and the Url used is its. It is the one which was generating the error code 6.
It happens that the MIME type on that Intraweb application on the server was not setup correctly:
TIWMimeTypes::RegisterType(".xml", mtXML, true);
I corrected it to:
TIWMimeTypes::RegisterType(".xml", MIME_XML, true);
And issue resolved, everything is working fine now!
https://www.mywebsite/twilio.xml
But this time coming from the server as a response
It took me some time because I was investigating the logs with Twilio support team.
I finally found the problem.
As I was explaining, I am testing the Twilio automatic call building an Intraweb application on my laptop.
But the xml file automatically spoken by Twilio call is hosted on a web server were Apache is installed. This is because Twilio requires a web link which cannot be local!
And it happens that on that web server, there is another Intraweb application running. And unfortunately, even if the call is not issued by that one, because the xml file is hosted in its wwwroot and the Url used is its. It is the one which was generating the error code 6.
It happens that the MIME type on that Intraweb application on the server was not setup correctly:
TIWMimeTypes::RegisterType(".xml", mtXML, true);
I corrected it to:
TIWMimeTypes::RegisterType(".xml", MIME_XML, true);
And issue resolved, everything is working fine now!

