From: Bruce W. <br...@mi...> - 2003-06-29 19:20:06
|
> > Steve, I think you solved the missing area_codes file problem by copying > > over the mh/data files to your private data dir, right? > > No, the exact opposite. I had the files in my private dir, and > kept editing > them, trying to figure out what was wrong... when I copied them to the > distro data dir, it worked fine. Right, I remember now. We have these mh.ini parms: caller_id_file = $Pgm_Root/data/phone/phone.caller_id.list area_code_file = $Pgm_Root/data/phone/phone.area_codes.list state_file = $Pgm_Root/data/states.list We could change them to be $data_dir by default, but then those that didn't copy those files over would be messed up. Probably best to leave those defaults as is. > c:\mh\2.81\data & > c:\mh\2.81\code > vs > c:\mh\data & > c:\mh\code > > > Did you figure out what was spellling out UNKNOWN? Was it in > the speech > > engine, or in the caller ID code? > > The callerID code is seeing "-UNKNOWN CALLER-" from the netcallerid, and > speaking, "Call from -UNKNOWN CALLER-", which causes the MS TTS engine to > spell "unknown", then say "caller". > The old code used to say, "Call from unknown" when no both name AND number > were unknown, but speak, "Call from 223-1234" when the name is > unknown, but > the number is known. This would be my preference. My AT&T MS TTS engine does not spell out -UNKNOWN, but rather says 'dash unknown'. I could beleive other engines work differently. Looks like we want to update 2 lines in lib/CID_Announce.pm from this: $format1 = "Unknown" if $type eq 'U'; $format1 = $snumber unless $format1 =~ /\S/; to this: $format1 = "Unknown" if $type eq 'unknown'; $format1 = $snumber unless $format1 =~ /\S/ or $type eq 'unknown'; The U got changed to unknown earlier in that file, so we had the wrong test. Bruce |