|
-
Feb 13th, 2006, 02:42 PM
#1
Thread Starter
Hyperactive Member
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.
-
Feb 13th, 2006, 02:45 PM
#2
Re: Caller ID
When you are online are you using the same phone line that you use for your telephone?
-
Feb 13th, 2006, 02:48 PM
#3
Thread Starter
Hyperactive Member
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.
-
Feb 13th, 2006, 03:35 PM
#4
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.
-
Feb 13th, 2006, 06:29 PM
#5
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Feb 14th, 2006, 10:00 AM
#6
Thread Starter
Hyperactive Member
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.
-
Feb 14th, 2006, 10:16 AM
#7
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Feb 14th, 2006, 10:46 AM
#8
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.
-
Feb 15th, 2006, 02:48 PM
#9
Thread Starter
Hyperactive Member
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.
-
Feb 15th, 2006, 02:52 PM
#10
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Feb 15th, 2006, 02:54 PM
#11
Thread Starter
Hyperactive Member
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.
-
Feb 15th, 2006, 02:56 PM
#12
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Feb 15th, 2006, 03:00 PM
#13
Thread Starter
Hyperactive Member
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?
-
Feb 15th, 2006, 03:07 PM
#14
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Feb 15th, 2006, 03:09 PM
#15
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|