RAGI for Making an outgoing call

Iam using RAGI for making an outgoing call, where in i have installed asterisk and Ruby on my linux machine. I have also configured the handler ruby program to initiate and place the call using the following command:

RAGI::CallInitiate.place_call(‘101’,‘101’,’/tutorial/dialout’,‘nil’,nil,‘5’,‘0’,‘5’,‘45’,‘1’)

But the problem is how will the .call file now be placed in the /var/spool/asterisk/outgoing directory. How can i move forward from here to accomplish the task.

Any thoughts on RAMI interface, any ideas on this, how can i start of with RAMI.

Appreciate your thoughts.