|
-
Nov 12th, 2007, 05:48 AM
#1
Thread Starter
New Member
[2005] Urgent : Receive phone Calls
hi all ,
please i need a TAPI ocx or any way to receive calls from my project
i have a modem and a want to use my project to receive a calls
please anyone know how can i receive calls and record it please tell me ??
or make a sample and attach it ??
Last edited by thebeginner; Nov 12th, 2007 at 05:53 PM.
-
Nov 12th, 2007, 07:29 AM
#2
Re: Urgent : Please Help
Most of the .NET related stuff that I found indicated you should be using the COM Interop rather than TAPI.
However, I did find this. Hopefully it will help.
-
Nov 12th, 2007, 03:44 PM
#3
Thread Starter
New Member
Re: Urgent : Please Help
i suing vb 2005 with sql server 2000
i found in the toolbox serial port as tool
but i didn't know how can i use it to receive calls from my modem
i see the sample but sorry i didn't understand anything
thanks for your help
-
Nov 12th, 2007, 05:52 PM
#4
Thread Starter
New Member
Re: [2005] Urgent : Please Help
i'm use this code but it's not working
Code:
Using comPort As SerialPort = My.Computer.Ports.OpenSerialPort("COM1", 2400)
comPort.DtrEnable = True
comPort.Write("ATDT 206-555-1000" & vbCrLf)
' All data transfer code goes here.
End Using
i know this code for dial to to receive to also not working
please help
-
Nov 12th, 2007, 08:44 PM
#5
Hyperactive Member
Re: [2005] Urgent : Receive phone Calls
Check out this site:
http://www.hardandsoftware.com/ (look at the software downloads link)
Plus, check out the Hayes AT Commands.
You will need to listen to the port and use the datarecieved event when a call comes in.
I am currently working on a similar thing for the compact framework so I can't tell you much more than that, because I haven't gotten it all figured out, yet.
Also, if you cut out the spaces and dashes in your write method it will transmit less data. They aren't needed.
Hope that helps.
Ben
Using Visual Basic 2005/2008
-
Nov 13th, 2007, 02:26 PM
#6
Member
Re: [2005] Urgent : Receive phone Calls
First read this posting: http://vbforums.com/showthread.php?t=463392
That should get you started with the Serial Port in .NET.
What I think you will need is a plain old standard voice modem. I would suggest something like a Hayes Accura V.90 but if you already have one you'll just need to check out the set up strings and tell the modem to auto answer and NOT to negotiate. Recording the call is something else and I can't help you with that piece. Maybe your voice modem can do it.
I am looking into the Skype API to do something very similar but I have not figured it out yet.
Good luck,
Ike
-
Nov 14th, 2007, 04:31 AM
#7
Thread Starter
New Member
Re: [2005] Urgent : Receive phone Calls
thanks for all repls i will try it
if i success i will tell you and please if any one did it before just tell us how ??
-
Nov 14th, 2007, 03:35 PM
#8
Member
Re: [2005] Urgent : Receive phone Calls
I figured out how to answer a call automatically with Skype. If that will help you PM me for the code. I'm not posting it on the forum since nobody helped me figure it out when I asked for help.
Ike
-
Nov 15th, 2007, 01:05 AM
#9
Frenzied Member
Re: [2005] Urgent : Receive phone Calls
I'm not posting it on the forum since nobody helped me figure it out when I asked for help.
That's probably because no one knew the answer.
If you have discovered something that no one could help you with then if you were to post the answer more people could learn from it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|