Wrox Programmer Forums
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 14th, 2013, 09:11 AM
Registered User
 
Join Date: Sep 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb Softphone with Blind Transfer

Hi,

I’m testing a softphone with blind transfer function and I am really satisfied with it. I have downloaded the sample program provided by Ozeki VoIP SIP SDK and as I have Visual Studio 2010 on my computer, I could run the program immediately.

To implement the blind transfer was an easy task, it can be done with a simple method call and giving the phone number as a parameter. In the sample, the call was transferred to a hardcoded number but I could implement a more sophisticated solution as well.

I just needed to add the transfer button and the event handler which performs the actual transfer. This code shows the event handler method for the Transfer button. To blind transfer a call I only needed to specify the number I transfer the call to and call the transfer method of the call object.

HTML Code:
1.	private void btnBlindTransfer_Click(object sender, EventArgs e)  
2.	{  
3.	    string transferTo = tbBlindTransfer.Text.Trim();  
4.	    if (string.IsNullOrEmpty(transferTo))  
5.	        return;  
6.	  
7.	    currentCall.BlindTransfer(transferTo);  
8.	}
During the transfer the call state was Transferring and when the transfer was successful, the softphone exited the call and the other two parties could communicate with each other.

As for the remote party, during the transfer, it was set to hold and it got back to the call when the transfer was completed. In this case the communication was continued with the third party. When the transfer could not be done the communication was set back with the original communication peer.

So I have positive experiences with this sample program and it was a good starting point for my project. You can check it if you google this: voip-sip-sdk.com/p_351-voip-blind-transfer-voip

Cheers,





Similar Threads
Thread Thread Starter Forum Replies Last Post
Softphone building BlaneB C# 1 May 14th, 2014 04:12 AM
Flash SIP softphone Stevenhow609 .NET Framework 3.5 1 May 21st, 2012 08:56 AM
Softphone in VB.net adamtree VB.NET 0 April 4th, 2012 09:06 AM
Webpages for the blind pro-logic HTML Code Clinic 2 August 3rd, 2006 11:57 PM
Visual Basic + Blind Variables mp1980 Pro VB Databases 1 August 21st, 2003 04:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.