Connect arduino with gsm module to freepbx server

Based on the copious and highly detailed information given about your project I think here you can find what you need to get this started.