Results 1 to 9 of 9

Thread: [2005] Urgent : Receive phone Calls

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    13

    [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.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    13

    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

  4. #4

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    13

    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

  5. #5
    Hyperactive Member
    Join Date
    Apr 2005
    Location
    Indiana
    Posts
    451

    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

  6. #6
    Member
    Join Date
    Dec 2006
    Posts
    56

    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

  7. #7

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    13

    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 ??

  8. #8
    Member
    Join Date
    Dec 2006
    Posts
    56

    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

  9. #9
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,051

    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
  •  



Click Here to Expand Forum to Full Width