Cisco IP-Phone integration in a rails app?

Hi there.

I'm looking for a solution/gem/tool/tutorial to include the
functionality to start a call on a Cisco IP-Phone 7945. I've basically
no knowledge about how to get access to a Cisco IP-Phone through the
network. I would be happy about any information you guys have. Maybe
there is a CLI tool to make calls with an IP-Phone?

Atm, I've no idea where to start so any idea would be helpful.

Thanks
Daniel