Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Windows Phone 7 Application Development: Building Windows Phone Applications Using S
This is the forum to discuss the Wrox book Beginning Windows Phone 7 Application Development: Building Windows Phone Applications Using Silverlight and XNA by Nick Lecrenski, Karli Watson, Robert Fonseca-Ensor; ISBN: 978-0-470-91233-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Windows Phone 7 Application Development: Building Windows Phone Applications Using S section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 3rd, 2012, 08:42 AM
Registered User
Points: 23, Level: 1
Points: 23, Level: 1 Points: 23, Level: 1 Points: 23, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2012
Location: USA
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb VoIP apps for WP7

Hello,

I wished to create VoIP apps for my Windows Phone 7 and I used a sample program provided by Ozeki VoIP SIP SDK. On client side I used Visual Studio 2010 for my project. They provided me codes for every step which was very helpful for me. For example: how to set the user interface layout for my project. Based on the codes it was an easy task to build my app. For example: The event handler for the Stop Call button is shown in this code:

Code:
1.	private void btnStopCall_Click(object sender, RoutedEventArgs e)  
2.	{  
3.	    if (callProcess)  
4.	    {  
5.	        txtboxInfo.Text = "Call stop, ready to call.";  
6.	        connection.InvokeOnConnection("CallStop");  
7.	        ReleaseStreams();  
8.	        btnCall.IsEnabled = true;  
9.	    }  
10.	}
The server side codes for server class definition, handling client connection and disconnection, changing the clientís call state into InCall, invoking the client side OnPlayRemoteStream method, notifying the remote client about the end of the call were provided as well. For example:

Code:
1.	public void CallStop(IClient invokerClient)  
2.	{  
3.	    if (Clients.ContainsKey(invokerClient))  
4.	    {  
5.	        MyClient invoker = Clients[invokerClient];  
6.	        invoker.RemoteParty.OnCallStop();  
7.	    }  
8.	}
If you are interested in this topic you can find the other codes for the project here http://voip-sip-sdk.com/p_511-window...form-voip.html.

Good developing! ;)
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VoIP solutions and ASP.NET 4 paul4616 ASP.NET 4 General Discussion 0 June 7th, 2012 05:39 AM
Silverlight 4 and VoIP client ManuelSanches Silverlight 4 0 May 15th, 2012 08:43 AM
SDP in VoIP SIP Calls Brooksw General .NET 0 April 18th, 2012 01:38 AM
Voice recognition in a VoIP phonecall G.Wilks ASP.NET 1.0 and 1.1 Basics 1 July 2nd, 2011 04:38 AM
An activex control to make VOIP serhatyusuf Visual C++ 1 February 10th, 2007 01:30 PM



All times are GMT -4. The time now is 10:47 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.