Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Push to Talk ASP.Net 2.0 example????

Team,

I have been tasked with trying to convert the hoot and holler application that came with the IP Phone Services Book (Cisco Press Book) into a 4GL language, since our company has standardized on .Net 2.0 framework and we are running a few ASP.Net 2.0 websites I figured what the heck, it should be easy.

ASP.Net 2.0 handles several things different, I have had a hard time trying to figure out how to do an XMLHTTPRequest to work, I know that ASP.Net 2.0 uses Callbacks..... Also, I am still trying to figure out how to send 2 http requests simultaneously to two different phones, has anyone tried this? I would like to use the Cisco IP Phone Execute XML tags.

Does anyone have a working example of .Net 2.0 code that can open RTP streams between 2 phones? All I need is something to get started with.

If you are working on something similar please let me know, we can swap code examples.

My email is ahannah@absnt.com

Thanks,

Alex Hannah

ABS Technology Architects

1 REPLY

Re: Push to Talk ASP.Net 2.0 example????

If you say simulatenous, Threads come to mind immediately..

I've attached a snipptet of c# code showing how to send an Web request containing XML and on how to process the XML response, including basic authentication (that you need since you need to authenticate yourself to the phone). The code is actually from the Exchange SDK and shows a WebDAV search request, but it's the sample principle (IP Phone Stuff is a lot simpler). For information on how to use the HTTPWebRequest asynchronously, you should refer to the MSDN Documentation: http://msdn2.microsoft.com/en-us/library/system.net.httpwebrequest.aspx

186
Views
0
Helpful
1
Replies
CreatePlease login to create content