added incoming/outgoing call detecting. fixed bug can not get caller name/number of incoming call.