I do not know if it will be helpful I found this implementation of receiving SMS for SIM800. There is an example of receiving a call with ID: