Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Macros, Scripts, and Formulas Repository
 PowerHome Messageboard : PowerHome Macros, Scripts, and Formulas Repository
Subject Topic: CID Plugin Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: October 30 2007 at 13:52 | IP Logged Quote dhoward

Mike,

If you were going to hook up multiple NetCallerID units (presumably all on separate line), then all you would need to do is declare 4 instances of the CID plugin. Each instance would have its own unique plugin ID.

When declaring the Generic Plugin Triggers, you would declare 1 trigger per CID plugin instance (part of the trigger declaration is the unique ID of the plugin). When the trigger is fired for a particular NetCallerID box, then the macro or formula for that particular trigger would indeed have it's [TEMP5] and [TEMP10] variables populated. [TEMP] variables are unique to the macro or formula in which they call (they can be passed down). IOW, when the trigger is called, it will get a fresh copy of [LOCAL] and [TEMP] variables that are currently in memory. These will be typically overwritten by the trigger with trigger specific values. This overwriting does not effect any other macros or formulas [TEMP] and [LOCAL] variables. The macro or formula that is called by the trigger will then have access to these variables. If the macro or formula calls another macro or formula, then it will also have access to the triggers variables. Once the trigger is complete, the variables go out of scope and are lost.

Sooo, what you could do is have each NetCallerID box trigger set an appropriate Global Variable with the relevant information.

Hope I explained it right.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
UpstateMike
Senior Member
Senior Member


Joined: February 18 2006
Location: United States
Online Status: Offline
Posts: 142
Posted: October 30 2007 at 14:22 | IP Logged Quote UpstateMike

I think I follow you. I'm going to order some NetcallerID boxes and give it a try.
Back to Top View UpstateMike's Profile Search for other posts by UpstateMike
 
UpstateMike
Senior Member
Senior Member


Joined: February 18 2006
Location: United States
Online Status: Offline
Posts: 142
Posted: October 31 2007 at 13:33 | IP Logged Quote UpstateMike

Oops, Nevermind. The price of the NetCallerID has jumped from $11.99 to $29.99! No longer a worthwhile option.
Back to Top View UpstateMike's Profile Search for other posts by UpstateMike
 
jpcurcio
Senior Member
Senior Member
Avatar

Joined: April 01 2007
Location: United States
Online Status: Offline
Posts: 119
Posted: November 03 2007 at 02:17 | IP Logged Quote jpcurcio

OK... can't seem to get this to work, and I'm not sure why. Here's what I've done so far:

1. Downloaded the CID plugin
2. Installed it in the "plugins" directory (both the .ocx and .ini files)
3. Updated the code for my particular modem (which wasn't necessary, since it seemed OK. I'm using a Creative ModemBlaster V.92 USB, Model DE5671, that I just picked up from their web site for about $10).
4. Created a generic plugin trigger that executes a macro (at this point, I only want to announce the number) on CID1, command1, option1.

For some reason, this doesn't seem to do anything when I receive a call.

Should this end up in the event log? I don't see anything there, if that helps give a clue.

Thanks for any help...

EDIT: A little more information:

I went in the control panel under "modems", and when PH is running, it won't allow me to run the diagnostics, saying that some other program is accessing the modem. When I close PH, it then will allow me to query the modem. It APPEARS that PH is connected to the modem.

EDIT #2: OK, it's official-- I'm an ass...

I wasn't using the correct CID init string. I found a little help at the Creative web site. So... it now works.

Now, if only I could send a nasty message to the collection agencies looking for Sandra, the deadbeat who once had this telephone number to let them know that the @#$&*^ isn't at this number, I'd be all set!

-John

Edited by jpcurcio - November 03 2007 at 02:48
Back to Top View jpcurcio's Profile Search for other posts by jpcurcio
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: November 05 2007 at 13:33 | IP Logged Quote dhoward

John,

Glad to hear that you got it working and sorry that I wasnt quicker to help.

Let me know if you have any problems,

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
sharby
Groupie
Groupie


Joined: May 13 2007
Location: United States
Online Status: Offline
Posts: 50
Posted: November 09 2007 at 22:16 | IP Logged Quote sharby

I wrote a Msgbox popup macro to show what the number and name were from a trigger. However, I cannot figure out how to "hangup" on the names of telemarketers? Anyone know?

-=*Sharby*=-
Back to Top View sharby's Profile Search for other posts by sharby
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: November 09 2007 at 22:55 | IP Logged Quote TonyNo

If you flag a number as a telemarketer in the ini file (xxx=***Telemarketer), PH will do that automagically.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
sharby
Groupie
Groupie


Joined: May 13 2007
Location: United States
Online Status: Offline
Posts: 50
Posted: November 09 2007 at 23:16 | IP Logged Quote sharby

How many rings before PH does this? Can I have the plugin do this after the 2nd ring (when the CallerID arrives)? Thanks again.

-=*Sharby*=-
Back to Top View sharby's Profile Search for other posts by sharby
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: November 10 2007 at 11:13 | IP Logged Quote TonyNo

As soon as the CID arrives, PH takes the phone off hook and hangs up. It also fires a Command 1, Option 2 trigger.

You need to be using a modem, not a CallerID box.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: November 10 2007 at 11:44 | IP Logged Quote BeachBum

Is there a way in NAMES substitution to substitute with a match on the area code only?

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
sharby
Groupie
Groupie


Joined: May 13 2007
Location: United States
Online Status: Offline
Posts: 50
Posted: November 10 2007 at 18:55 | IP Logged Quote sharby

Unfortunately, absolutely nothing is happening after I watch the CallerID come in. Is there any indication that the plugin actually did something within Powerhome?


-=*Sharby*=-
Back to Top View sharby's Profile Search for other posts by sharby
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: November 10 2007 at 19:00 | IP Logged Quote BeachBum

Sharby,

Go back to my thread CID PLUGIN TRIGGER
http://www.myx10.com/forum/forum_posts.asp?TID=1472&PN=1

It might help...

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: November 10 2007 at 20:04 | IP Logged Quote TonyNo

Quote:
Is there any indication that the plugin actually did something within Powerhome?

Not unless you are triggering a macro or formula.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
sharby
Groupie
Groupie


Joined: May 13 2007
Location: United States
Online Status: Offline
Posts: 50
Posted: November 10 2007 at 23:56 | IP Logged Quote sharby

Beachbum,

I built a trigger that pops up the number and callername (Temp5 and Temp10) so all of the captures work. However, under my names tab in the ini file, I have the ***telemarketer defined for both 1516XXXXXXX and 516XXXXXX and nothing happens for this callerid plugin. Any thoughts?

-=*Sharby*=-
Back to Top View sharby's Profile Search for other posts by sharby
 
sharby
Groupie
Groupie


Joined: May 13 2007
Location: United States
Online Status: Offline
Posts: 50
Posted: November 11 2007 at 00:39 | IP Logged Quote sharby

Powerhome Dave figured this one out for me. You need to set the "lookupnames" = 1.



-=*Sharby*=-
Back to Top View sharby's Profile Search for other posts by sharby
 
mustangcoupe
Super User
Super User
Avatar

Joined: August 08 2003
Location: United States
Online Status: Offline
Posts: 308
Posted: January 06 2008 at 23:07 | IP Logged Quote mustangcoupe

OK... can't seem to get this to work, and I'm not sure why.


1. Installed the files int the "plugins" directory
2. Registeres the OCX
3. Verified my port number and CID code.
4. Created a generic plugin trigger that executes a macro (TonyNo's CIDLOG)
Had problems with my own stupidity and reversing the
inni string and activex name....Tonyno helped me here....

For some reason, this doesn't seem to do anything when I receive a call.

Verified in hyperterminal that it works.... (but if I change my modem to the com port in hyper term it dosnt work...)TAPI issues

as SHARBY did above I went in the control panel under "modems", and when PH is running and ran the diagnostics...... it came back OK, so PH is not latching the modem as it was for Sharby

I downloaded a CID program from http://www.yes-tele.com/download/modem.exe which uses the MSCOMM32.OCX and it found the modem at port=com3 and receied the incomming call from my cell to my home number (though it did interpitate the name and number wrong....) It connected to the modem and captured a incomming call.....

OH DTG please help me!!!!

__________________
Todd Hannemann

HA newbie

   PowerHome - UPB - ELK    
Back to Top View mustangcoupe's Profile Search for other posts by mustangcoupe Visit mustangcoupe's Homepage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: January 07 2008 at 07:51 | IP Logged Quote TonyNo

Quote:
I downloaded a CID program ... and received the incomming call from my cell to my home number (though it did interpitate the name and number wrong....) It connected to the modem and captured a incoming call.

What did the output look like?

In Hyperterminal, you should see something like this...

RING
RING
DATE = 0331
TIME = 1245
NMBR = 9543447665
NAME = YES TELECOM

Did you try these other init strings: "at#cid=1\013", "AT#CLS=8#CID=1\013"?

Edited by TonyNo - January 07 2008 at 07:52
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
mustangcoupe
Super User
Super User
Avatar

Joined: August 08 2003
Location: United States
Online Status: Offline
Posts: 308
Posted: January 07 2008 at 18:51 | IP Logged Quote mustangcoupe

I really don't like the version of hyper terminal I downloaded.. I cant find a version on the WHS disk so I downloaded one. because I can not just pick my com port and run with that in terminal I need to set it to dial a number and give me a terminal window before it dials... thats where I see the

RING
RING
DATE = 0331
TIME = 1245
NMBR = 9543447665
NAME = YES TELECOM

in the yes telecom software it has a vb front end and displays the data in a pretty GUI....

I am going to download some basic terminal program tonight and try it again...

__________________
Todd Hannemann

HA newbie

   PowerHome - UPB - ELK    
Back to Top View mustangcoupe's Profile Search for other posts by mustangcoupe Visit mustangcoupe's Homepage
 
mustangcoupe
Super User
Super User
Avatar

Joined: August 08 2003
Location: United States
Online Status: Offline
Posts: 308
Posted: January 07 2008 at 21:18 | IP Logged Quote mustangcoupe

OK, so I downloaded Tera Term..... MUCH better product IMHO....

settings are Com 3, 9600, 8bit, no parity, 1 STOP BIT, no flow.... and it worked no problem....

here is a copy past of each cid command in the ini file.
now, notice I get two NMBR lines... I dont know if this is vonage or if it is something comming from Verizon wireless, but that is the least of my problems.....(for now)


at#cid=1
OK

RING

DATE=0107

TIME=2057

NMBR=XXXXXXXXXXXXXXX

NMBR=OUT OF AREA
at#cid=1\013
ERROR
AT#CLS=8#CID=1\013
ERROR
AT+VCID=1
OK

RING

DATE=0107

TIME=2111

NMBR=XXXXXXXXXXXXXX

NMBR=OUT OF AREA

RING
AT#CID=2
OK

RING

DATE=0107

TIME=2112

NMBR=XXXXXXXXXXXX

NMBR=OUT OF AREA

AT%CCID=1
ERROR
AT%CCID=2
ERROR
AT#CC1
ERROR
AT*ID1
ERROR
AT#CLS=8#CID=1
ERROR

Edited by mustangcoupe - January 07 2008 at 21:20


__________________
Todd Hannemann

HA newbie

   PowerHome - UPB - ELK    
Back to Top View mustangcoupe's Profile Search for other posts by mustangcoupe Visit mustangcoupe's Homepage
 
mustangcoupe
Super User
Super User
Avatar

Joined: August 08 2003
Location: United States
Online Status: Offline
Posts: 308
Posted: January 08 2008 at 08:04 | IP Logged Quote mustangcoupe

OK, so more in the saga of the CID Plugin....

At TonyNo's recommendation I tried to install his CID Macro to see if that would work. I got it to fire the macro on an incomming call, BUT it first wasnt doing anything it was like there was an error somewhere. I found that Line 90 was kicking it out of the macro... removing that line the entire Macro runs. BUT in the CIDLOG file there is a line with all 0's for the phone number. It almost appears that it is not getting the correct data from the Modem, But other applications (teraterm) I can see the data, the only diffrence is that there is no NAME tag, just two NMBR tags, so I changed the NAME to NMBR, with hops that would help... no luck. I will play more when I get home from work tody, but maybe this is why the CID plugin also dosnt work?!?!?

__________________
Todd Hannemann

HA newbie

   PowerHome - UPB - ELK    
Back to Top View mustangcoupe's Profile Search for other posts by mustangcoupe Visit mustangcoupe's Homepage
 

<< Prev Page of 7 Next >>
  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum