Results 1 to 15 of 15

Thread: Caller ID

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Caller ID

    I have created a simple caller ID application that simply listens to the modem and displays who is calling my phone line, it also displays the number of the person calling, and if that number matches up to my contact on file I displays the their name. Now I would like to take this to another level, and have it detect someone calling when I am online using dialup(which is rare but happens). How would I go about setting that up?

    Has anyone done this, that can guide me in the right direction? Does anyone have any source code that I can go through to find what I need.

    Any help is appreciated.

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

    Re: Caller ID

    When you are online are you using the same phone line that you use for your telephone?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Re: Caller ID

    Yes, I am, only 1 phone line in house. It was pretty easy to create the Caller ID by its self, but I have some extra time and would like to make it into a more useful app.

  4. #4
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    Re: Caller ID

    I don't think anyone on this forums has ever done something like that.

    I sugest to get the manufacturer's manual for AT command set for the modem you are using, and find the AT command you have to give to the modem to get the coller ID while connected to internet.

    And by the way, not all modems suport that, so make sure your modem supports that before you start.

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Caller ID

    If you have Call Waiting service then when you get that beep to let you know that someone is calling, you can find that AT command and go from there.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Re: Caller ID

    I do have Call Waiting. I am going to try and find the AT commands for my modem, and see where that will lead me.

  7. #7
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Caller ID

    In your modem settings there is a setting to disable the call waiting beep so you may want that to be on instead.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  8. #8
    PowerPoster
    Join Date
    Feb 2002
    Location
    Canada, Toronto
    Posts
    5,803

    Re: Caller ID

    I was thinking about this, and I realized that i'ts not as easy as it seems.

    First of all when you connect to the internet using the modem, that means that the modem port will be open at all times while on the internet.

    When you want to issue an AT command, you have to open the port, and send the command to the modem through the comm port, but you won't be able to do it since windows has already opened the port to connect on the internet. You will get an error when you try to open the comm port.

    Anyways, maybe I am wrong... but I don't think you can get the caller ID this way (with the AT commands).

    I think maybe there is an API (since API means comunicating with windows), then theoretically the same process that opens the port to connect to the internet, that process has to get the caller ID while on the internet, since you can't open the port more than once. So if windows does that, then theoretically you should find an API that gives another process/program (your program) the caller id.

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Re: Caller ID

    RobDog888, I tried to find that setting so that I can enable the call waiting beep but was unsuccessful. I went into my Control Panel, Selected Phone and Modem, then selected my Modem, and there really isnt too much to configure in there, and I didnt see no option about Call Waiting.


    CVMichael,
    You have a point there. I was starting to think about that the same way. How can you make it listen if the port is open already

    Would it be easier to first create and app that will let me know that someone is trying to access the line, so that I have a message display "Incoming Call" and once I get that squared away then try to insert the caller ID???

    Any Ideas?
    Last edited by mrstuff68; Feb 15th, 2006 at 02:52 PM.

  10. #10
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Caller ID

    I dont have a modem anymore but from memory it was in the configuration of the area code and if you needed to dial 9 to gain access to an outside line etc.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Re: Caller ID

    Your right, its in there under area code rules. Call waiting is enabled on mine. There is no checkbox in Disable Call Waiting.

  12. #12
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Caller ID

    What its it then? No option at all to enable or disable?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  13. #13

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Posts
    492

    Re: Caller ID

    What I meant to say in my last post was that the checkbox for "To Disable Call Waiting" is not checked. There is an option there, but it isnt selected. So currently my modem does allow Call Waiting. Should I disable Call Waiting?

  14. #14
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Caller ID

    Not sure, if there is a AT code that is sent then you can identify when a second call comes through.

    Also, the call waiting beep can sometimes through you off of your internet connection.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  15. #15
    Lively Member
    Join Date
    Nov 2005
    Posts
    76

    Re: Caller ID

    could u post that vb application maybe for what u got working so far... would be interesting to look at and maybe use pm if u dont want everyone seeing


    thanks

    steve

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