I use two ways to do that.
1. secured with checks if the user is allowed to make that call.
Start local and end local.
The ‘secret’ is that you have to put the number in a file on the user computer with a script that starts from the local computer and stays ‘open’ untill you ‘make’ the call. (check the use from halt, pauze and exit script)
I will skip most of the security checks and this is pseudo code....
Main file is on PC01, local user has files open on PC02.
A script (call01) is activated on PC02 to call f.i. number 566 from record. (script call01 is open)
Checks are done in main file to see if user is allowed to ‘use’ that number(with set field and diff checks for userID, userGroup and allow to call etc.....).
Call not allowed, send message to script call01 and close script call01 (set field message (log attempt), close script)
Call allowed.
Make record in logfile and with set field (not copy paste) set number field to 566.
Activate script in that file to make the call.
Close script call01.
The user actually never left the file where he was in to make the call.
2. Start in main file, end local.
If your ‘departure’ is the main file, you have to end up in the local file to make the call.
That is nearly the same way.
Local user click on a number in the main file. Script is called in the local file, set a field in the local file to the number to call (with set field and open channel relationship to the local file where the script is started), activate there a script to make the call, make sure the script in the main file is closed and you will end up in your local file to make the call.
From there you can go where ever you need.....
Requirement is that every user has his/her 'own' telephone line.
It took me a while to find the way to make the cheks etc. and now it looks all so obvious...maybe I'm too sort explaining it, so if you have further questions...
feel free...
HTH