the system should receive a call on dedicated no
So you need a modem between your phone line and PC
and reject the call after one ring
The program sends a hangup message to the modem
save the no
If the number is sent via the phone system
and its location with service provider into database
I do not think any providers offer this level of detail
and reply with the thank you sms
Create the SMS message and send it via your SMS service provider