In the USA, with this configuration and a three-ring phone call with captured caller information, Ascendis Caller ID should run your script with rings=2, rings=3, and rings=3. It runs the script with rings=2 because the caller information is known by the time the phone rings the second time. It runs the script with rings=3 the third time the phone rings. It runs the script with rings=3 when the call "ends". (As I mentioned before, modems don't know when a call ends, but Ascendis Caller ID times out all calls after some period of time.) So, with "On each ring" and "When call ends" enabled, your script will run twice for the last ring (which could be ring #2, 3, 4, etc).If I uncheck the "On each Ring" but have check marks on "When caller info ..... and also "when call ends" the script statements work perfect for 2 ring and also 3 ring ( but you already know that )
Yes, you are sacrificing some speed. If "When caller info is received" is enabled, Ascendis Caller ID will run the script "as soon as" the modem passes the caller information. With "On each ring" enabled instead, Ascendis Caller ID will wait for the second ring before running your script.and having it to work that way I am sacrifice that speed because the duration of a call is between 36 to 46 sec before the script starts.
Well... you could compare the current time with CallInfo.CallBeganTime and hangup if it was greater than some number (note that the difference is not in seconds). However, as I mentioned before, hanging up will prevent your answering machine from picking up the phone, so it seems like a bad idea. If you chose to try this, you would have to enable "On each ring" for "Perform Action". In other words, you would need the script to run multiple times to give you the opportunity to detect when the appropriate amount of time has passed.So my question is it possible to put a script statement at the beginning line that may hangup the modem after a certain time of sec. that is trigger by "when caller info is recv. only" to shorten the duration to value of = 4 rings? Or did I just hit a brick wall.
If you're not using an answering machine (and not forwarding the call), you could just have Ascendis Caller ID hang up on the third ring. But that contradicts your previous posts.
It's important to remember that your operating system and Ascendis Caller ID are not real-time. They try to operate when desired, but if something is busy when a call comes in or the phone rings the nth time, delays will occur. That said, with "When call info is received" enabled for "Perform Action" and the computer (and hard disk) awake and not running other time consuming processes, and with enough cores, CPU speed, memory and free disk space, Ascendis Caller ID should start your script within 1-3 seconds of receiving the call information from the modem. Many of the commands you're using in the script depend on other programs or functions (like speech) that might take awhile depending on computer speed, capacity, and load.