• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Caller ID?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Caller ID?


  • Subject: Re: Caller ID?
  • From: Gregory Weston <email@hidden>
  • Date: Tue, 21 Feb 2006 07:17:39 -0500

Andrew Bush wrote:

Hi all,

does anyone know of a good way to get this information from the mac
modem?

In general? Open up the appropriate serial device, send an initialization string that includes the command to enabled CID recognition and then do a blocking read. The caller ID shows up between the first two RING messages if you're going to get it at all. Code to find modems is available at Apple's site. <http:// developer.apple.com/samplecode/SerialPortSample/SerialPortSample.dmg>


I've got more fully-developed C code to do what you're looking, but the relevant stuff isn't meaningfully "Cocoa" so write off-list if you'd like more detailed help.


I've found some very old and dusty looking open source perl
scripts, but none of them seem to actually work.....is there a cocoa
solution for this?  is it even possible?

Possible? Certainly. There's one _major_ gotcha though. There are several CID protocols in use in the world and while every $5 standalone caller ID box recognizes all of them almost every modem only recognizes one of them. Not the same one, mind you; just only one each. As such, there's a very good possibility that the modem a given person is using won't be compatible with the signaling their telephone provider is using.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: (FSResolveAlias, mount_smbfs) Set timeout in case network volume is unreachable?
  • Next by Date: COM programming in Mac
  • Previous by thread: Caller ID?
  • Next by thread: [Moderator] List guidelines and related resources
  • Index(es):
    • Date
    • Thread