Share This Post:

Know when auto dialer is finished

I plan to use BroadcastByPhone in my application in following way:

[1] Dynamically construct a CSV import file containing a calling list
[2] Launch vcast.exe application from my program to make the phone calls immediately
[3] When the call ends, collect the call status and continue to other tasks

My problem is that I don’t know how to detect the end of the phone calls made by vcast. Everytime I invoke vcast.eve from my program, a GUI is displayed and you have to manually close the GUI to end the vcast process. Is there anyway to launch vcast.exe without displaying the GUI so that the process ends when the entire calling list is processed?

Vcast.exe only has gui interface, so you won’t know when the calls are finished. One workaround might be to check the folder:

C:\Program files\Voicent\Gateway\outcall\reqs

If it is empty, it means that it does not have any ongoing calls. If it does not have any .req files for some time, say 10 seconds, then you can assume all the calls are finished.

Use taskkill to close the vcast.exe program if you have Windows XP professional edition.

Share This Post:

This entry was posted in Auto Dialer, Developer. Bookmark the permalink.