Click here to Skip to main content
15,883,623 members
Articles / Desktop Programming / MFC

VideoIPPhone

Rate me:
Please Sign up or sign in to vote.
4.29/5 (7 votes)
12 Mar 2005CPOL 74.3K   8K   72   8
VOIP using Microsoft TAPI
Image 1

Introduction

I use Microsoft TAPI 3.0 to make video and voice communicating applications. This project was edited using Visual Studio .NET. Microsoft Platform SDK is needed to compile.

VOIP simple test map:

Image 2

  • Direct PC to PC case: two PCs, VideoIPPHONE
  • PC to PC through Gatekeeper(H.323) case: Gatekeeper(H.323), two PC, VideoIPPHONE
  • PC to PSTN case: Gateway(H.323), Gatekeeper(H.323), one PC, VideoIPPHONE, telephone

Background

You can get the Microsoft TAPI 3.0 information from here.

You can make VOIP that uses SIP or H.323 Protocol.

SIP protocol opensource site is Vovida.

H.323 protocol opensource site is openh323.

Using the Code

Try connection to acceptor.

CMsTapiOutgoing    outgoing.StartMsTapi(4, wszIpAddress); 
// 4 is option for LAN .

Answer from sender:

CMsTapiIncoming    incoming.AnswerTheCall();

Session halt:

CMsTapiIncoming    incoming.EndMsTapi();
CMsTapiOutgoing    outgoing.EndMsTapi();

Points of Interest

Microsoft TAPI 3.0 has a bug.
When the application communicates to PSTN terminal through the CISCO H.323 gateway, the application or PSTN terminal sends sound one way only.
It is because during communication through RTP port is divided.

CISCO H.323 Gateway

  • RTP: 5000
  • RTCP: 5001

Microsoft TAPI

  • RTP: 5002
  • RTCP: 5001

License

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


Written By
Software Developer interpay
Korea (Republic of) Korea (Republic of)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy vote of 3 Pin
Mic6-Aug-13 14:27
Mic6-Aug-13 14:27 
Generalvoip sip Pin
dan rogy19-Sep-10 9:42
dan rogy19-Sep-10 9:42 
GeneralHi Pin
gsandeep1006-Nov-09 2:26
gsandeep1006-Nov-09 2:26 
GeneralHelp Pin
micro2412-Apr-09 20:27
micro2412-Apr-09 20:27 
QuestionI have a question about your program.^^ Pin
junsungahn16-Jan-09 1:13
junsungahn16-Jan-09 1:13 
GeneralHelp. Pin
Pratiksha Saxena2-Nov-08 19:49
Pratiksha Saxena2-Nov-08 19:49 
GeneralRe: Help. Pin
Park NoYoon3-Nov-08 18:22
Park NoYoon3-Nov-08 18:22 
GeneralRe: Help. Pin
Pratiksha Saxena3-Nov-08 18:51
Pratiksha Saxena3-Nov-08 18:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.