Hello, I am a C and C++ programmer, I uses to GoIp GSM gateway, and I think the model you mentioned is one of them, they use web interface to do the settings, you do not need a C program to make it run, anyway Feel free to contact me for share more details, like what PBX you plain to use,..
Regards