Data connection


I m newbie in Asterisk and currently in study step in order to choose the best architecture for a Data2Sms solution,

I ve just wonder if it s possible with Asterisk to use as input, a data connection (from RTC phone) and forward this data to an external application through an API, or why not to, plug a specific function in asterisk source code in order to handle this data connection and manage it.

This data stream should be logged in database and enbedded in SMS through a USB GSM modem

Can someone confirm me that s possible and maybe how ?
If someone else suggest any other tools or application more dedicated for this use case than Asterisk, thanks in advance to give me its name,

Thx in advance

Nomane from Paris