tSIP softphone: speaking ring plugin
This plugin was made just for fun, but I hope it will find some practical application, perhaps helping people with vision impairment.
It uses Microsoft TTS engine (tested with Windows 7 EN, it seems to be installed and active by default) to add speaking ringtone to softphone. Ring text is fixed at the moment ("Incoming call" or "Incoming call from" + either number description or calling number) but should be easy to modify by compiling plugin. Since speaking would take long time for long numbers it is limited to 4 digit or shorter numbers if description (phone book entry) was not found.To customize (e.g. change text):
- download source code of the plugin and source code of tSIP, extract them into same folder
- download and install Code::Blocks 16 with MinGW
- open project file (.cbp), modify, build
- copy created dll file into \phone subdirectory of tSIP and activate in settings
Tested only shortly with Win 7 default settings and English language. Settings for TTS engine are counterintuitively located
under "Speech Recognition":
or can be launched with:
rundll32.exe shell32.dll,Control_RunDLL "C:\Windows\system32\Speech\SpeechUX\sapi.cpl"
It seems that Windows comes with only single voice installed. Probably only one useful option is selecting output audio device for TTS.
Ring text is played in loop. Ring playing is blocking thus answering or rejecting call would be delayed by the length of message (might create problem with long contact descriptions).
Speech is played using default audio device (may be different than device selected in softphone as output for ring or output for conversation).
On my PC (C2D laptop) minor hiccup in regular ring (by default not replaced but played in parallel with plugin speech) is noticeable when softphone rings for the first time - probably caused by text-to-speech engine loading.
Source + binary: RingSpeak.zip.
Back to tSIP softphone