I have coded natively in Ruby for almost a year now and feel very
comfortable with its intuitive and logical nature. When I am _not_
working on Ruby is when I start to lose that comfort. :-)

Here's my question. I want to include some CTI methods with a CRM
application I've written in Ruby. The API for the CTI consists mainly
of a tsapi.h and tsapi.cpp fileset. That in turn brings in things like
a csta.h file and other things that I have sitting in the proper
directories. I can compile some sample C++ applications that work with
for CTI, but I want to be able to refer to things as Ruby methods in my
own CRM application.

What is the best way for a person new to this area to accomplish this?
I assume this would involve creating a Ruby extension? I have
downloaded SWIG but haven't delved into it yet. Also I have read a bit
in Pickaxe regarding creating C extensions. But I have no practical
model to work from.

Any suggestions?