twilio - Returning Twiml through c# -


trying out basic in twilio & c#. new twilio & not strong mvc

public class incomingcallcontroller : twiliocontroller     {         // get: incomingcall         [httpget]         public actionresult index()         {             var response = new voiceresponse();             var dial = new dial();             response.contenttype = "text/xml";             response.say("please wait...transferring call");             dial.number("+919812345678");             return twiml(response);             }     } 

i need above code snippet return static twiml equivalent have put in twiml bin.

i have configured phone number webhook url http://someaddress.azurewebsites.net/incomingcall

why getting

11210-http bad host name

error

i understand doing wrong here. have tried using both post , request.

can has knowledge of point me in right direction?

where going wrong?

any appreciated.

some issues created programmers in tearing hurry....this issue created yours truly..

thanks phil's interaction able find out...


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -