You are here: Re: getting caller id info « PHP Programming Language « IT news, forums, messages
Re: getting caller id info

Posted by Gordon Burditt on 05/13/05 00:54

>I am quite new to telephony stuff.... will the modem automatically
>write the caller id info to the serial port??

It typically comes as part of the RING (spontaneous) response
generated when the phone rings. You may get the same caller-ID
data multiple times (one on each ring) if the phone isn't answered
immediately.

>If that's the case, then I just have to have a program to stand there
>and look at the port.....

It's almost that simple.

You may need to have the program set up the modem first, to tell
it you WANT "RING" responses, and ones with caller-ID in them, to
set up the serial port speed on the PC side, turn off auto-answer,
and such. This is a couple of AT commands once you set the speed.
(Sorry, I can't give you specific commands, and they are modem-dependent,
although there are probably only a few variations at most.) Then
just listen for info coming back.

You probably want your program to check that the modem is taking
the commands (you get an OK back) before assuming that it is working.

Gordon L. Burditt

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация