How to get cisco incoming call number in C#? -


how incoming call number?

what way incoming call number c#?

for example, invoke dial use code:

using system; using system.io; using system.net; using system.text;  public class fileconverter {      static void main(string[] args)     {         webrequest request = webrequest.create("http://xx.xx.xx.xx/cgi/execute http/1.1");         request.method = "post";         string postdata = @"xml=<ciscoipphoneexecute><executeitem priority=""0"" url=""dial:1566""/>                                </ciscoipphoneexecute>";         byte[] bytearray = encoding.utf8.getbytes(postdata);         request.contenttype = "text/xml; charset=\"utf-8\"";         request.contentlength = bytearray.length;         stream datastream = request.getrequeststream();         datastream.write(bytearray, 0, bytearray.length);         datastream.close();         webresponse response = request.getresponse();         console.writeline(((httpwebresponse)response).statusdescription);         datastream = response.getresponsestream();         streamreader reader = new streamreader(datastream);         string responsefromserver = reader.readtoend();         console.writeline(responsefromserver);         reader.close();         datastream.close();         response.close();     } } 


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -