SIM900 incoming voice call

Recently i started a project on making a phone and i used sim900. how do i know when i receive an incoming call ?

LaurenceNg:
...how do i know when i receive an incoming call ?

You need to read the serial port attached to the modem. It should tell you an incomming call is awaiting and, if available, caller ID

I think it will print RING when an incoming call is going on.
You could parse that and take some action when you received it