From: Jon B. <jb...@co...> - 2004-01-31 01:54:44
|
Bruce, It looks like my log is being messed up after a restart and then stay messed up after that. Thu 01/29/04 17:04:45 866-945-5696 name=08014F NMBR = 8669455696 RING RING RING RING DATE = 0129 TIME = 1705 MESG = 08014F line=line 1 type=in Thu 01/29/04 19:37:23 866-945-5696 name=MY_CELL_PHONE line=line 1 type=in Thu 01/29/04 19:37:52 MY_CELL_PHONE# name=MY_CELL_PHONE line=line 1 type=in Thu 01/29/04 19:44:56 MY_CELL_PHONE# name=BUSH, GEORGE W line=line 1 type=in In the above example. The very first call I receive after the restart is from a solicitor (866-945-5696). This log entry contains a lot of extra stuff. Later I called from my cell phone twice. Then did test call #2. Notice the entry number is shifted as shown in my previous email. Thanks, Jon Boehm >> When I view my incoming CalerID log via the web the entry data columns are >> shifted by one line. >> >> Example: >> SomeOnesName4 SomeOnesNumber3 >> SomeOnesName3 SomeOnesNumber2 >> SomeOnesName2 SomeOnesNumber1 >> SomeOnesName1 SomeOnesNumber0 >> >> When It should look like: >> SomeOnesName4 SomeOnesNumber4 >> SomeOnesName3 SomeOnesNumber3 >> SomeOnesName2 SomeOnesNumber4 >> SomeOnesName1 SomeOnesNumber1 >> >> Back in the day, when I first turned on Caller ID in Misterhouse I had the >> problem that my CallerID data would not be parsed correctly >> because my Supra >> Modem put the name before the number or the number before the >> name, I can't >> remember which, but its not standard. Now the data comes in correctly and >> is announced correctly its just not logged correctly. Anyone have any >> suggestions? This is not a new problem. I just never said anything about >> it -- Sorry. >> >> Thanks, >> Jon Boehm > > What does your /misterhouse/data/phone/logs/callerid.2004_01.log file look > like? Here is an example from my log: > > Sat 01/03/04 21:23:41 406-254-9993 name=PAY PHONE line=line 2 type=in > > Assuming that data is wrong also, then you can debug the problem starting > with where it gets logged, in common/phone_modem.pl: > > > logit("$config_parms{data_dir}/phone/logs/callerid.$Year_Month_Now.log", > "$cid_number name=$cid_name data=$caller_id_data line=2"); > > Looks like the code will trigger with either name or number first: > > if ($caller_id_data =~ /NAME.+NMBR/ or > $caller_id_data =~ /NMBR.+NAME/ or > > What do you get from this debug? > > print "Modem data: $PhoneModemString\n" if $config_parms{debug} eq > 'phone'; > > Bruce > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > ________________________________________________________ > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=1365 > |