Click-to-call script for Windows users


Sharing one of my older projects with Asterisk: a click-to-call library with client and server components. It does work with Windows: Windows users could activate the callto.rb script, which could then be integrated with their CRM application. Once the script was started, the user’s SIP phone would ring. You can find the project here: https://github.com/andrius/asterisk-click-to-call-windows.

  • The client app, callto.rb, needs to be compiled into a Windows .exe file. Alternatively, it can be executed from the command line if Ruby is installed on Windows. For example, rubyscript2exe can compile the Ruby script into an executable;
  • Credentials should be populated within the users.yml file;
  • The server.rb script should be running on Asterisk.

The system is very simple, and I apologize for the lack of comments!