1,105,340 Community Members

source code for detecting caller id

Member Avatar
Boshkash
Newbie Poster
1 post since Jan 2008
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

pla, i need asource code writen in c# to detect the caller id on my modem and then print in atextbox, file, ....etc.


just i want the source code to can get the caller id


thank u very much

Member Avatar
Paul.Esson
Posting Whiz in Training
212 posts since Feb 2005
Reputation Points: 38 [?]
Q&As Helped to Solve: 14 [?]
Skill Endorsements: 0 [?]
 
0
 

Um, I don't know if there is anything out there for this personally, But I may be able to point you in the right direction if you want to make something like this. You will have to use System.IO.Ports.SerialPort to communicate with your modem, if you google System.IO.Ports.SerialPort you will find alot of great looking tutorials on using this class including this

You will then have to find out what AT Commands your modem supports. Send the modem the AT command and parse the output, Hopefully with anyluck the modem will have an AT command corresponding to the last number that dialed, or something similar.

I have only ever used AT commands to send SMS Messanges so I don't know if what you are asking is possible or not.

Member Avatar
alisattar
Newbie Poster
4 posts since Jan 2009
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

you can use serial control that . have a look at this source code
SNIP

Member Avatar
leecorp
Newbie Poster
1 post since Jun 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

use the wmi to get the code

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article