This post shares an older project I developed for Asterisk: a click-to-call library featuring client and server components, which is compatible with Windows. Windows users can activate the callto.rb
script, potentially integrating it with their CRM applications. Upon script execution, the user’s SIP phone would ring. The project is available at: https://github.com/andrius/asterisk-click-to-call-windows.
Key points:
- The client application,
callto.rb
, can be compiled into a Windows executable (e.g., using rubyscript2exe) or run from the command line if Ruby is installed on the Windows system. - Credentials need to be configured in the
users.yml
file. - The
server.rb
script must be running on the Asterisk server.
The system is quite straightforward, though I apologize for the minimal commenting in the original code.