From: Steve S. <st...@sw...> - 2003-01-06 18:00:59
|
Jason, I found ouw what's happening to my callerID since I moved over again to the new code... The NetCallerID unit spits out "-UNKNOWN CALLER-" at times, and it doesn't seem this si correctly parsed. Here's a log clipping: 01/06/03 12:52:33 PM Callerid: ###DATE01061252...NMBR...NAME-UNKNOWN CALLER-+++ 01/06/03 12:52:33 PM CID Lookup searching for: , -UNKNOWN CALLER-, N 01/06/03 12:52:33 PM Eval string:$speak_string="Call from $first $last": 01/06/03 12:52:33 PM Speak string:Call from -UNKNOWN CALLER-: unmuted: Call from -UNKNOWN CALLER- Unfortunately, the MS TTS recites: "Call from U N K N O W N C A L L E R", letter by letter, because it's all caps. :-) I'm not sure where to add the regexp change, and I'm sure you're modifying this quite a bit at this time anyhow, so i'll let you modify it as to not mix-up multiple revisions. :) Thanks! -- Steve Switzer steve (at) switzerny (dot) org Quoting Jason Sharpee <ja...@sh...>: > Here are the variables you can grab from the different objects: > ...snip!... (much text removed) > > On Sun, 5 Jan 2003, Steve Switzer wrote: > > > Jason, > > I was trying to figure out how to get the text that is actually > spoken, > > as well as the unmodified name/number callid data... can I grab those > > variables at this point? > > > > Thanks! > > Steve > > > > ----- Original Message ----- > > From: "Jason Sharpee" <ja...@sh...> > > To: "Misterhouse-Users" <mis...@li...> > > Sent: Sunday, January 05, 2003 2:30 AM > > Subject: Re: [misterhouse-users] CID on Version 2.75 > > > > > > > > > > speak_format is only available from the CID_Lookup object. (all it does > is > > > space out the number from 4443332222 to 4 4 4 3 3 3 2 2 2 2.) You > could > > > just use the cid_number() method if you didnt want the baggage of the > > > CID_Lookup object. |