Reputation: 140
I am getting the following error from Twilio.
12200 Schema validation warning Description Invalid content was found starting with element 'HangUp'. One of '{Play
POST URL:http://b0dd02a0.ngrok.io/MSservice/PostCall
The markup is formed like this.
<Response>
<Say>Hi</Say>
<HangUp/>
</Response>
Upvotes: 2
Views: 297
Reputation: 2685
There is no need to add the explicit hang up call.
Change your response to
<Response>
<Say>Hi</Say>
</Response>
The application will say Hi and then hang up because there are no more instructions.
Upvotes: 1