Author |
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: April 22 2008 at 09:38 | IP Logged
|
|
|
It appears it is registered correctly so there’s not much left. Can you cut & paste your ini file for us.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
jbbtex Senior Member
Joined: February 15 2007 Location: United States
Online Status: Offline Posts: 181
|
Posted: April 22 2008 at 09:39 | IP Logged
|
|
|
In playing with my setup, the ways I can get the About Box message that Keep is getting are these:
Incorrect path for .ini file.
Incorrect name for plugin.
Incorrect name for .ini file.
Incorrect port # for modem.
Missing .ini file.
Missing .ocx file.
Missing/incorrect registry entries.
__________________ Brady
"Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity." - Gen. George S. Patton
|
Back to Top |
|
|
jbbtex Senior Member
Joined: February 15 2007 Location: United States
Online Status: Offline Posts: 181
|
Posted: April 22 2008 at 09:41 | IP Logged
|
|
|
Just thought of something else.
If another program has the port open, then PH won't be able to initialize the modem.
__________________ Brady
"Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity." - Gen. George S. Patton
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: April 22 2008 at 09:46 | IP Logged
|
|
|
I had that problem also but I did not get the same error about the plugin. The trigger would not fire.
I think we are closer to eliminating the bottom 3. Let’s see what’s in the ini.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
keepersg Newbie
Joined: July 23 2007 Location: United States
Online Status: Offline Posts: 29
|
Posted: April 22 2008 at 10:57 | IP Logged
|
|
|
OK. I appreciate all of the help. Here's the ini file:
[Config]
port=3
settings=9600,N,8,1
CIDInit=AT#CID=1
;CIDInit=AT+VCID=1
;CIDInit=AT#CID=2
;CIDInit=AT%CCID=1
;CIDInit=AT%CCID=2
;CIDInit=AT#CC1
;CIDInit=AT*ID1
;CIDInit=AT#CLS=8#CID=1
;Remove the ; to activate the appropriate CID Init String. Only 1 CIDInit line should be uncommented.
format=1
;format=1 is normal CID modem. format=2 is NetCallerID box
lookupnames=0
;Set lookupnames=1 to have names in the [Names] section substituted for phone company supplied name.
[Hangup]
answer=ata
hangup=ath
prefix=***
;The above section control the ability to automatically hangup on numbers flagged as telemarketers.
;Add the prefix defined above to the beginning of names below to flag them for hangup.
[Names]
18885551212=Test Name
18885551313=***Telemarketer
|
Back to Top |
|
|
Gadgets Senior Member
Joined: January 28 2008 Location: Canada
Online Status: Offline Posts: 178
|
Posted: April 22 2008 at 11:25 | IP Logged
|
|
|
keepersg wrote:
Well, the ini file has the correct port and the modem is caller id capable.
|
|
|
nevermind.. didn't see the later post
Edited by Gadgets - April 22 2008 at 11:27
__________________ Friends, don't let friends install Norton Products
|
Back to Top |
|
|
Gadgets Senior Member
Joined: January 28 2008 Location: Canada
Online Status: Offline Posts: 178
|
Posted: April 22 2008 at 11:29 | IP Logged
|
|
|
You confirmed this AT#CID=1 is the correct string for your modem? And that is responds correctly?
__________________ Friends, don't let friends install Norton Products
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: April 22 2008 at 13:13 | IP Logged
|
|
|
Just out of curiosity have you run HyperTerminal with your configuration?
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
keepersg Newbie
Joined: July 23 2007 Location: United States
Online Status: Offline Posts: 29
|
Posted: April 23 2008 at 09:18 | IP Logged
|
|
|
BeachBum wrote:
Just out of curiosity have you run HyperTerminal with your configuration? |
|
|
I have. No problems with it communicating with the modem. I've confirmed that its caller id capable. I've tried various initialization strings but it doesn't seem like any of them are being communicated to the modem from power home. A message box pops up briefly after each reinit
"An error occurred in calling function PH_Initdata Plugin:CID error code=1"
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: April 23 2008 at 09:28 | IP Logged
|
|
|
That’s an interesting message. Here’s Dave response to an earlier post:
“I checked the code for the CID plugin and a 1 is returned from the PHPI_InitData function if the Initialization field is left blank or points to an INI file that does not exist. A 1 is also returned if the port is set to - 1. The last reason a 1 can be returned is that the specified port could not be intialized, which is probably what your problem is. Usually the only thing that will keep the port from initializing is that the port is already open and in use by another application. Make sure that nothing else is trying to monitor COM 4 and then verify everything works with HyperTerminal. If it works with HyperTerminal, it should work with PowerHome.”
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
keepersg Newbie
Joined: July 23 2007 Location: United States
Online Status: Offline Posts: 29
|
Posted: April 23 2008 at 10:15 | IP Logged
|
|
|
BeachBum wrote:
That’s an interesting message. Here’s Dave response to an earlier post:
“I checked the code for the CID plugin and a 1 is returned from the PHPI_InitData function if the Initialization field is left blank or points to an INI file that does not exist. A 1 is also returned if the port is set to - 1. The last reason a 1 can be returned is that the specified port could not be intialized, which is probably what your problem is. Usually the only thing that will keep the port from initializing is that the port is already open and in use by another application. Make sure that nothing else is trying to monitor COM 4 and then verify everything works with HyperTerminal. If it works with HyperTerminal, it should work with PowerHome.”
|
|
|
Thank you!!! That was the clue I needed. Turns out one of my kids had remoted in to their account and had used the fax program and LEFT IT RUNNING. Once I cleared that up the plug in succeeded. Thanks to everyone for their help (and I think I'm moving PH to a dedicated machine as soon as I get it built).
|
Back to Top |
|
|
Gadgets Senior Member
Joined: January 28 2008 Location: Canada
Online Status: Offline Posts: 178
|
Posted: April 23 2008 at 10:19 | IP Logged
|
|
|
keepersg wrote:
Thank you!!! That was the clue I needed. Turns out one of my kids had remoted in to their account and had used the fax program and LEFT IT RUNNING. Once I cleared that up the plug in succeeded. Thanks to everyone for their help (and I think I'm moving PH to a dedicated machine as soon as I get it built). |
|
|
Oh... well now if you had mentioned KIDS.. we would have gotten to this much sooner!! Glad you finally got it working.
__________________ Friends, don't let friends install Norton Products
|
Back to Top |
|
|
keepersg Newbie
Joined: July 23 2007 Location: United States
Online Status: Offline Posts: 29
|
Posted: April 27 2008 at 20:06 | IP Logged
|
|
|
Well, I managed to break it. I installed Powerhome as a service. That went fine except that the CID trigger didn't fire. So, I uninstalled the service (phservice.exe -u) and reverted to running the program as I had been. Doesn't work. The plug in captures the modem but the trigger won't fire. I have deleted the the plug in setup line and the trigger and rewritten them, saved reinitialized, rebooted etc but no luck. Any ideas?
|
Back to Top |
|
|
keepersg Newbie
Joined: July 23 2007 Location: United States
Online Status: Offline Posts: 29
|
Posted: April 30 2008 at 11:03 | IP Logged
|
|
|
Got it working again. Using regsrvr I unregistered the OCX file, rebooted and re-registered it and the plug in started working...I'd be interested if Dave has any comment on what happens in the registry when PH is run as a service.
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: May 06 2008 at 12:46 | IP Logged
|
|
|
When PowerHome is run as service (as all service applications normally are) it is run as a special "system" user rather than the user that is currently logged in to Windows. The problem with this is that any activeX or DLL's that were previously registered when PowerHome was executed normally (not as a service) generally cant be seen by the special "system" user. Ive tried to compensate for this by having PH automatically register all DLL's and activeX controls when it executed. Sometimes it works, sometimes not.
I know that PowerHome and the CID plugin does work as a service as that is how I run it. If you're willing to try again, try launching PowerHome as a service again. If the CID plugin does not load when PowerHome loads as a service, open the PH Multi-Editor (while PH is running as a service) and be sure to be in PH Formula mode (shift-F6). Try re-registering the CID OCX control from within this screen using something similar to below:
ph_run('regsvr32.exe "c:\program files\powerhome\plugins\phcid.ocx"')
This should run the register process but will run it as the "system" user and therefore should create the appropriate registry entries that the "system" user can see. After successfully registering in this manner, try reinitializing PH or even going into services and "Stop" the PowerHome service followed by "Start" the PowerHome service.
HTH,
Dave.
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: July 20 2008 at 16:53 | IP Logged
|
|
|
I hate to start this again BUT I bought a laptop with Vista Home on it and am trying to get Caller ID Plugin to work. Everything looks good from Hyperterminal and I think PH is getting the caller id but I get this error on initialization.
An error occurred while calling function PHPI_InitData for Plugin: CID. The return code is: 1.
BTW the Database and .INIs were all moved from a working system and I registered the OCX. Any thoughts….
Edited by BeachBum - July 20 2008 at 16:58
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: July 21 2008 at 08:20 | IP Logged
|
|
|
Interesting, I only get the message if I run PH from Administrator (right click). When I run regular I get a message “Windows needs your permission to continue” caused by regedit at initialization. I assume this is normal. Just don’t know why I’m seeing it yet. Trigger still not firing.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: July 21 2008 at 17:44 | IP Logged
|
|
|
Got rid of the nasty annoyance message (UAC). Running PH in Compatibility Mode, installed the latest CID Plugin, reregistered OK HyperTerminal records the identical information on both systems. XP trigger fires and Vista does NOT. Anyone running CID Plugin on Vista?
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: July 22 2008 at 11:35 | IP Logged
|
|
|
Found the problem. It seems the Plugin is very sensitive to the Modem protocol or its drivers. The modem on this laptop is a TOSHIBA Software Modem with an Agere driver V 2.1.77.0. When I added a Creative Modem Blaster V.92 USB DE5671-1 the Plugin fired. When I tested with HyperTerminal there was NO apparent difference between either modem. The same Init string was used on both. The only difference was the port number. Now I feeling sane again…
__________________ Pete - X10 Oldie
|
Back to Top |
|
|