Click here to Skip to main content
15,893,668 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
is this possible to make voice phone call using c# program or .net framework?
Posted
Updated 15-Aug-18 21:05pm
Comments
[no name] 21-Mar-13 9:45am    
Yes, it is possible.
bbirajdar 21-Mar-13 9:52am    
yes . of course

 
Share this answer
 
Hi Ganesh,

You can use Telephony Application Programming Interface(TAPI) or Skype API or twilio API or Asterix.

Using TAPI :

Creating-your-first-TAPI-application

TAPI-3-0-Application-development-using-C-NET

More ... TAPI search result on codeproject


Using Skype API :

skypekit


Using Twilio :


libraries

Announcing the .NET, C# Helper Library for Twilio

Adventures in Twilio and C#


Using Asterix :

Step 1 - Get a server install Asterix on it. http://www.asterisk.org. It's open source.

Step 2 - Get supported hardware e.g. http://www.asterisk.org/hardware

Step 3 - Communicate to it with http://sourceforge.net/projects/asterisk-dotnet/ (open source c# to asterisk library.


If the reply help you mark it as your answer. thanks!!
 
Share this answer
 
Comments
Muneer Pazheri 16-Dec-19 6:06am    
how to receive calls from ip phones using c#
You could try something like this....C# Win32 application

C#
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO.Ports;

namespace WindowsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            SerialPort sp = new SerialPort();
            sp.PortName = "COM10";
            sp.BaudRate = 9600;
            sp.Parity = Parity.None;
            sp.DataBits = 8;
            sp.StopBits = StopBits.One;
            sp.Handshake = Handshake.XOnXOff;
            sp.DtrEnable = true;
            sp.RtsEnable = true;


            sp.Open();

            if (!sp.IsOpen)
            {
                MessageBox.Show("Serial port is not opened");
                return;
            }

            sp.WriteLine("AT" + Environment.NewLine);
            sp.WriteLine("ATD=\"" + "Destination Number;" + "\"" + Environment.NewLine);

        }
    }
}
 
Share this answer
 
v5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900