I have several agi's written in C which I would like to port to Freeswitch.

What is the best approach? Buld it as a freeswitch module?

Thanks,

Valter