For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > August 2004 > Callerid processing









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Callerid processing
Mike Carr

2004-08-23, 3:56 pm

Heyas,

I'm currently working on a module to parse raw caller id information as
reported by my (relatively generic) USR data modem when running in
AT#CID=2 mode (raw caller id mode). The modem spits out things like
"MESG = 802801..." where ... means many more characters (50-100
characters depending on whether it's a local call, private or long
distance call).

Writing code to do this is silly because the modem will report all the
information in a pretty format when running in AT#CID=1 mode (pretty
caller id mode). But, hey, why not? Maybe it will scratch somebodies
itch out there.

I'm using the code within another application to provide caller id
services (meaning, notification real-time of incoming calls with
callerid info through instant messaging, email. user-controlled web
reporting has also been completed). I'm not sure if I'm going to release
my app with the module or not.

I've noted that Cosimo is releasing a callerid script with Device::Modem
v1.39 but I haven't had a chance to check if he's doing formatted CID
mode or raw CID mode. My Callerid module will be strictly concerned with
parsing/interpreting the hex string, no more no less. I'll leave the
heavy lifting to Device::Modem, thanks ;)

If there's anyone out there that's interested in raw callerid, please
feel free to contact me at mcarr-ref-callerid@pachogrande.com . I'd
particularly like feedback on whether other modems return similarly
formatted strings. Or indeed, whether this is a foolish task in the end. ;)

--
-Mike
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com