10-12-2006 10:36 PM - edited 03-13-2019 03:22 PM
Is it possible to write ASP with VB script for custom phone directory? Currently,i am trying to write directory connecting to database.But it seems like VB script do not support IP Phone xml tag.I am not familiar with java script so i wanna use VB script.Is it possible?
10-12-2006 11:50 PM
I'm not sure you get how custom phone apps work.
You have a webpage on a webserver - any webserver. As long as the webserver responds with contenttype/xml and sends back an xml document that conforms to the IPPhone language, the phone can display it. You could put an xml file on a webserver and the phone could display it. Or, it can be a dynamic page.. completely regardless of the language it is written in. CGI/Perl, PHP, ASP (Javascript or VBScript), ASXP(C#, VB, C++, J#, etc), it doesn't matter at all. All that matters is when you send a request to the page in question, the contenttype of the response is text/xml and the text that is returned is a valid CiscoIPPhone object.
And, you write your CiscoIPPhone elements manually.
Take something like this:
Now create an ASP page using VBscript, and write out the xml above, and set the contenttype to text/xml... voila.. you have your hello world page in vbscript.
10-20-2006 09:25 AM
I'm having trouble finding the documentation on the XML syntax for this. Any help?
10-23-2006 05:03 AM
10-24-2006 10:35 AM
Yes it's possible to use .Net, but it wasn't easy. In order for me to do it I created a page that only contained a literal and then you'll have to output everything manually as you want it to appear to the phone to use .Net server side. Then request.params to get my input back from the phone and filtered that to ensure it wasn't coming from an untrusted source. That was a seperate site that I had set on IIS to only allow the subnets that the phones were on to connect to.
Hope that helps.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide