From: Gregg L. <gr...@li...> - 2005-03-02 12:31:14
|
Quoting Noah Swint (3/2/05 6:59 AM): > Has anyone taken a look at this code in the past year and a half. I use > ncid and thought it would be great to use, however, the code does not > parse $date, $time, $number, $time. The values get declared but do not > actually get any assigned values. I played around with the code, but my > perl sucks. It looks like it needs > > if (my $caller_id_data = said $NCID ) { > my ($date, $time, $number, name) = $magicvariable - > /CID:\*DATE\*(\d{8})\*TIME\*(\d{4})\*NMBR\*(\d{10})\*MESG*\*.*\*NAME\*(^\*]+)\*$/; > > but I could be wrong. How much work would it take modify the existing > perl module for caller id connections to the ncid server like yac and > audrey. > I no longer use my ncid, but I was under the impression that most folks use code/common/callerid.pl which relies on lib/Telephony_Interface.pm to handle the ncid-specific parsing. Were you using callerid_ncid.pl instead for some other reason? Also, I believe that the default callerid.pl shows/has hooks into the yac server. Gregg |