Passing Calls To Clients

Questions, problems, and other issues for Ascendis Caller ID that aren't covered by the other forums.
Post Reply
Steve

Passing Calls To Clients

Post by Steve »

I'm having problems with caller id on my server passing call details to clients that were turned off, when the client is started.

loading up clients (about 1 hr later) are showing no incomming calls when there server may have 8 new calls.

Is there anyway to sync the clients with the server upon boot.
Bill Root
Site Admin
Posts: 1025
Joined: Mon Jan 19, 2004 1:29 pm
Location: Perrysburg, OH
Contact:

Re: Passing Calls To Clients

Post by Bill Root »

Hi Steve,

I assume you're using real-time networking. In the server's advanced network options, make sure Server Type is "Both" (for real-time and polling). In advanced network options for the client, make sure "Get new calls first" is checked. Now when the client first connects, it will poll the server to get new calls that arrived while it was disconnected.

(If you're using polling networking, read on for some caveats that apply to both polling and "Get new calls first", which is essentially a single poll followed by real-time networking.)

Normally this works as desired. Since the implementation is rather simple -- the client polls for calls newer than the newest call it has in the call list -- a more recent local call on the client can prevent the client from getting the missed calls from the server. You can force the client to get all calls newer than a certain time by deleting any newer local calls, and then restarting Ascendis Caller ID or opening the Options window and clicking OK. (Both actions trigger the initial network poll.) Of course, if the calls you deleted are not on the server, they will be lost.

The simplistic implementation of "Get new calls" works well for one phone line Ascendis Caller ID setups.

If the client is (or will be) downloading many missed calls, it may be helpful to disable network logging in the Network Status window on both the server and client. This option was added in version 1.7.1.12. (See the beta page to download beta versions.) Otherwise the verbose logging for sent and received calls can slow things down.

Finest regards,
Bill Root
Ascendis Software
Steve

Passing Calls to Clients

Post by Steve »

Hi Bill,

My setting are exactlly as you have described - using as a real time network, sever type set for both, clients set to get new calls first, I'm using 1 phone line.

On one of my clients I have erase all calls logged from it left it turned off for 6 hrs recieved 12 calls on the sever, started the client, The client still shows <No Calls>. When I get a call with the client on thats ok but it doesn't seem to be pulling down a list of missed calls when it was switched off.

I have tryed the polling option as well with no success

When set to polling Network log on the server is showing an error:
07/10/2004 20:28:46 - accepted connection from 192.168.123.2 on port 62966 (polling)
07/10/2004 20:28:46 - TCPServerException (192.168.123.2:62966 [client port 1166])
07/10/2004 20:28:46 - class=EConvertError, message=Invalid argument to date encode
07/10/2004 20:28:46 - Server: Client disconnecting: 192.168.123.2 Duration: 00:00:00


When set to real time and a call comes in I get this:
07/10/2004 20:47:38 - Real-time server sending message "NEW_CALL "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT"" on port 62965
07/10/2004 20:47:39 - Real-time server sending message "DATE_TIME "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT" "10/07/2004 08:47:38 pm"" on port 62965
07/10/2004 20:47:39 - Real-time server sending message "CALLER "" "07766830335" "Stephen" "Mobile"" on port 62965
07/10/2004 20:47:39 - Real-time server sending message "CALLER_ID "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT" "" "077645645335"" on port 62965
07/10/2004 20:47:50 - Real-time server sending message "END_CALL "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT"" on port 62965
07/10/2004 20:47:52 - TCPServerException (192.168.123.1:62965 [client port 2311])
07/10/2004 20:47:52 - class=EIdClosedSocket, message=Disconnected.
07/10/2004 20:47:52 - Server: Client disconnecting: 192.168.123.1 Duration: 00:00:31
07/10/2004 20:47:52 - TCPServerException (192.168.123.4:62965 [client port 2395])
07/10/2004 20:47:52 - class=EIdClosedSocket, message=Disconnected.
07/10/2004 20:47:52 - Server: Client disconnecting: 192.168.123.4 Duration: 00:00:52
07/10/2004 20:47:52 - Starting real time server for 192.168.123.100 on port 62965
07/10/2004 20:47:57 - accepted connection from 192.168.123.2 on port 62965 (real time)
07/10/2004 20:47:57 - Version command received as "VERSION 1.7.1.17"
07/10/2004 20:47:57 - Detected version "1.7.1.17"
Bill Root
Site Admin
Posts: 1025
Joined: Mon Jan 19, 2004 1:29 pm
Location: Perrysburg, OH
Contact:

Post by Bill Root »

Hi Steve,

Well, it looks like the server is getting an unusual error when preparing to send the polling messages. I can't tell specifically what the problem is, but I suspect some of the call data is incorrect. (Sometimes the modem gets garbled caller id info which makes its way into the database.) I just uploaded a new beta version that traps exceptions that occur when preparing the poll data, logs the error (in the Activity log), and continues. Can you give the new version a shot? You can downoad it here:
http://ascendis.com/callerid/CallerID_Beta_Setup.EXE

You will have to delete the latest call(s) from the client again.

If that works (or not), could you post the recent segment from the Activity log so I can see what went wrong? If it doesn't work, please also post the relevant server and client network logs, as you did before, and I'll try to figure out what else it could be.
Steve

Client Server

Post by Steve »

Ok tryed it, still the same problem in both realtime and polling mode. Heres the logs:

Polling Mode

Server Activity Log

07/10/2004 22:08:20 - Started
07/10/2004 22:08:20 - Caller ID Version 1.7.1.19 (07/10/2004 16:33:04)
07/10/2004 22:08:20 - C:\Program Files\Ascendis Software\Caller ID\CallerID.EXE

Server Network Log

07/10/2004 22:08:22 - Starting polling server for 192.168.123.100 on port 62966
07/10/2004 22:08:22 - Starting real time server for 192.168.123.100 on port 62965
07/10/2004 22:08:41 - accepted connection from 192.168.123.1 on port 62965 (real time)
07/10/2004 22:08:41 - Version command received as "VERSION 1.7.1.17"
07/10/2004 22:08:41 - Detected version "1.7.1.17"
07/10/2004 22:08:44 - Real-time server sending message "NEW_CALL "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT"" on port 62965
07/10/2004 22:08:44 - Real-time server sending message "DATE_TIME "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT" "10/07/2004 10:08:44 pm"" on port 62965
07/10/2004 22:08:44 - Real-time server sending message "CALLER "" "07766830335" "Stephen" "Hodge - Mobile"" on port 62965
07/10/2004 22:08:44 - Real-time server sending message "CALLER_ID "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT" "" "07766830335"" on port 62965
07/10/2004 22:08:56 - Real-time server sending message "END_CALL "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT"" on port 62965
07/10/2004 22:08:57 - accepted connection from 192.168.123.2 on port 62966 (polling)
07/10/2004 22:08:57 - TCPServerException (192.168.123.2:62966 [client port 1651])
07/10/2004 22:08:57 - class=EConvertError, message=Invalid argument to date encode
07/10/2004 22:08:57 - Server: Client disconnecting: 192.168.123.2 Duration: 00:00:00

Polling

Client Activity Log

07/10/2004 22:08:57 - Started
07/10/2004 22:08:57 - Caller ID Version 1.7.1.19 (07/10/2004 16:33:04)
07/10/2004 22:08:57 - C:\Program Files\Ascendis Software\Caller ID\CallerID.EXE
07/10/2004 22:08:58 - Polling client exception EIdConnClosedGracefully: Connection Closed Gracefully.
07/10/2004 22:10:38 - Polling client exception EIdConnClosedGracefully: Connection Closed Gracefully.


Client Network Log

07/10/2004 22:08:59 - Polling client connecting to 192.168.123.100 on port 62966
07/10/2004 22:08:59 - Polling client connected to 192.168.123.100 on port 62966
07/10/2004 22:08:59 - Sending LOGIN command to server
07/10/2004 22:08:59 - LOGIN command sent to server
07/10/2004 22:08:59 - Getting LOGIN command result from server
07/10/2004 22:08:59 - Logged in to server successfully
07/10/2004 22:08:59 - Received 0 calls from server, processed 0
07/10/2004 22:08:59 - Polling client disconnected from 192.168.123.100 on port 62966
07/10/2004 22:08:59 - Polling client exception EIdConnClosedGracefully: Connection Closed Gracefully.
07/10/2004 22:10:38 - Polling client connecting to 192.168.123.100 on port 62966
07/10/2004 22:10:38 - Polling client connected to 192.168.123.100 on port 62966
07/10/2004 22:10:38 - Sending LOGIN command to server
07/10/2004 22:10:38 - LOGIN command sent to server
07/10/2004 22:10:38 - Getting LOGIN command result from server
07/10/2004 22:10:38 - Logged in to server successfully
07/10/2004 22:10:38 - Received 0 calls from server, processed 0
07/10/2004 22:10:38 - Polling client disconnected from 192.168.123.100 on port 62966
07/10/2004 22:10:38 - Polling client exception EIdConnClosedGracefully: Connection Closed Gracefully.

Realtime Mode

Server Activity Log

07/10/2004 22:15:35 - Started
07/10/2004 22:15:35 - Caller ID Version 1.7.1.19 (07/10/2004 16:33:04)
07/10/2004 22:15:35 - C:\Program Files\Ascendis Software\Caller ID\CallerID.EXE


Server Network Log

07/10/2004 22:15:36 - Starting polling server for 192.168.123.100 on port 62966
07/10/2004 22:15:36 - Starting real time server for 192.168.123.100 on port 62965
07/10/2004 22:15:41 - accepted connection from 192.168.123.1 on port 62965 (real time)
07/10/2004 22:15:41 - Version command received as "VERSION 1.7.1.17"
07/10/2004 22:15:41 - Detected version "1.7.1.17"
07/10/2004 22:15:44 - Real-time server sending message "NEW_CALL "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT"" on port 62965
07/10/2004 22:15:45 - Real-time server sending message "DATE_TIME "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT" "10/07/2004 10:15:44 pm"" on port 62965
07/10/2004 22:15:45 - Real-time server sending message "CALLER "" "07766830335" "Stephen" "Hodge - Mobile"" on port 62965
07/10/2004 22:15:45 - Real-time server sending message "CALLER_ID "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT" "" "07766830335"" on port 62965
07/10/2004 22:15:46 - Real-time server sending message "RING "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT"" on port 62965
07/10/2004 22:15:49 - Real-time server sending message "RING "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT"" on port 62965
07/10/2004 22:15:56 - accepted connection from 192.168.123.2 on port 62966 (polling)
07/10/2004 22:15:56 - TCPServerException (192.168.123.2:62966 [client port 1675])
07/10/2004 22:15:56 - class=EConvertError, message=Invalid argument to date encode
07/10/2004 22:15:56 - Server: Client disconnecting: 192.168.123.2 Duration: 00:00:00
07/10/2004 22:15:57 - accepted connection from 192.168.123.2 on port 62965 (real time)
07/10/2004 22:15:57 - Version command received as "VERSION 1.7.1.19"
07/10/2004 22:15:57 - Detected version "1.7.1.19"
07/10/2004 22:16:01 - Real-time server sending message "END_CALL "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT"" on port 62965

Client Activity Log

07/10/2004 22:15:57 - Started
07/10/2004 22:15:57 - Caller ID Version 1.7.1.19 (07/10/2004 16:33:04)
07/10/2004 22:15:57 - C:\Program Files\Ascendis Software\Caller ID\CallerID.EXE
07/10/2004 22:15:58 - Polling client exception EIdConnClosedGracefully: Connection Closed Gracefully.


Client Network Log

07/10/2004 22:15:58 - Polling client connecting to 192.168.123.100 on port 62966
07/10/2004 22:15:58 - Polling client connected to 192.168.123.100 on port 62966
07/10/2004 22:15:58 - Sending LOGIN command to server
07/10/2004 22:15:58 - LOGIN command sent to server
07/10/2004 22:15:58 - Getting LOGIN command result from server
07/10/2004 22:15:58 - Logged in to server successfully
07/10/2004 22:15:58 - Received 0 calls from server, processed 0
07/10/2004 22:15:58 - Polling client disconnected from 192.168.123.100 on port 62966
07/10/2004 22:15:58 - Polling client exception EIdConnClosedGracefully: Connection Closed Gracefully.
07/10/2004 22:15:58 - Real-time client connecting to 192.168.123.100 on port 62965
07/10/2004 22:15:58 - Real-time client connected to 192.168.123.100 on port 62965
07/10/2004 22:15:58 - Real-time client received message "Welcome to Caller ID" from 192.168.123.100 on port 62965
07/10/2004 22:15:58 - Real-time client received message "VERSION 1.7.1.19" from 192.168.123.100 on port 62965
07/10/2004 22:16:03 - Real-time client received message "END_CALL "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT"" from 192.168.123.100 on port 62965
Steve

Post by Steve »

The above 2 scenarios were done with the server receiving a call then I launced the client (192.168.123.2) and it wouldn't show the call (both on version 1.7.1.19 & cleared calls).

Note (192.168.123.1) another client on version 1.7.1.17 is permanently on.
Bill Root
Site Admin
Posts: 1025
Joined: Mon Jan 19, 2004 1:29 pm
Location: Perrysburg, OH
Contact:

Post by Bill Root »

Thank you for your patience and persistence. This time, I duplicated, found, and fixed a real problem. The polling client was using the local date format when requesting calls, but the server was expecting a US date format. Now they both use the US format.

You can download the fixed version here:
http://ascendis.com/callerid/CallerID_Beta_Setup.EXE

You only really need to update the client to test the fix.

I really expect this to fix the problem you're seeing, but if not please post the server and client network logs again.

Finest regards,
Bill Root
Ascendis Software
Steve

Client Server

Post by Steve »

Sorry Bill that didn't work either, I'm now getting a different error from the Server Network log:

08/10/2004 00:53:41 - Starting polling server for 192.168.123.100 on port 62966
08/10/2004 00:53:41 - Starting real time server for 192.168.123.100 on port 62965
08/10/2004 00:53:49 - Real-time server sending message "NEW_CALL "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT"" on port 62965
08/10/2004 00:53:49 - Real-time server sending message "DATE_TIME "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT" "10/08/2004 12:53:49 am"" on port 62965
08/10/2004 00:53:49 - Real-time server sending message "CALLER "" "07766830335" "Stephen" "Hodge - Mobile"" on port 62965
08/10/2004 00:53:49 - Real-time server sending message "CALLER_ID "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT" "" "07766830335"" on port 62965
08/10/2004 00:53:51 - Real-time server sending message "RING "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT"" on port 62965
08/10/2004 00:53:58 - accepted connection from 192.168.123.2 on port 62966 (polling)
08/10/2004 00:53:58 - TCPServerException (192.168.123.2:62966 [client port 1724])
08/10/2004 00:53:58 - class=EDBISAMEngineError, message=DBISAM Engine Error # 11949 SQL - Date, time, or timestamp expression expected, instead found '30/12/1899' in WHERE or JOIN clause
08/10/2004 00:53:58 - Server: Client disconnecting: 192.168.123.2 Duration: 00:00:00
08/10/2004 00:53:58 - accepted connection from 192.168.123.2 on port 62965 (real time)
08/10/2004 00:53:58 - Version command received as "VERSION 1.7.1.20"
08/10/2004 00:53:58 - Detected version "1.7.1.20"
08/10/2004 00:54:03 - Real-time server sending message "END_CALL "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT"" on port 62965
08/10/2004 00:54:27 - accepted connection from 192.168.123.101 on port 62965 (real time)
08/10/2004 00:54:27 - Version command received as "VERSION 1.7.1.8"
08/10/2004 00:54:27 - Detected version "1.7.1.8"

The Server activity log
08/10/2004 00:53:40 - Started
08/10/2004 00:53:40 - Caller ID Version 1.7.1.20 (07/10/2004 18:14:38)
08/10/2004 00:53:40 - C:\Program Files\Ascendis Software\Caller ID\CallerID.EXE

The Client Network Log
08/10/2004 00:53:59 - Polling client connecting to 192.168.123.100 on port 62966
08/10/2004 00:53:59 - Polling client connected to 192.168.123.100 on port 62966
08/10/2004 00:53:59 - Sending LOGIN command to server
08/10/2004 00:53:59 - LOGIN command sent to server
08/10/2004 00:53:59 - Getting LOGIN command result from server
08/10/2004 00:53:59 - Logged in to server successfully
08/10/2004 00:53:59 - Received 0 calls from server, processed 0
08/10/2004 00:53:59 - Polling client disconnected from 192.168.123.100 on port 62966
08/10/2004 00:53:59 - Polling client exception EIdConnClosedGracefully: Connection Closed Gracefully.
08/10/2004 00:53:59 - Real-time client connecting to 192.168.123.100 on port 62965
08/10/2004 00:53:59 - Real-time client connected to 192.168.123.100 on port 62965
08/10/2004 00:53:59 - Real-time client received message "Welcome to Caller ID" from 192.168.123.100 on port 62965
08/10/2004 00:53:59 - Real-time client received message "VERSION 1.7.1.20" from 192.168.123.100 on port 62965
08/10/2004 00:54:04 - Real-time client received message "END_CALL "PROMETHEUS-PDC:U.S. Robotics 56K FAX EXT"" from 192.168.123.100 on port 62965

The Client Activity log
08/10/2004 00:53:58 - Started
08/10/2004 00:53:58 - Caller ID Version 1.7.1.20 (07/10/2004 18:14:38)
08/10/2004 00:53:58 - C:\Program Files\Ascendis Software\Caller ID\CallerID.EXE
08/10/2004 00:53:59 - Polling client exception EIdConnClosedGracefully: Connection Closed Gracefully.


this is not showing any calls to the client.
Bill Root
Site Admin
Posts: 1025
Joined: Mon Jan 19, 2004 1:29 pm
Location: Perrysburg, OH
Contact:

Post by Bill Root »

Well, we actually made progress! The new error is caused by a quirk of the database engine. I worked around it and posted yet another beta! You can download the new version here:
http://ascendis.com/callerid/CallerID_Beta_Setup.EXE

This change only affects the server.

I'll refrain from making any predictions this time!

Finest regards,
Bill Root
Ascendis Software
Steve

Passing Calls To Clients

Post by Steve »

Thats it, works perfectlly.

Thanks for the quick response.

Steve.
Post Reply