How can I get the last dialled number and call duration via adb? I'm creating a computer system for telemarketing.
I'm using adb commands to dial numbers Link
Is it possible to get last dialled number and call duration via adb?
If it is, how?
Maybe you just need to pull

/data/data/com.android.providers.telephony/databases/telephony.db


as it contains all the call logs, and then filter through? 

Something like:

cp data/data/com.android.providers.telephony/databases/telephony.db /sdcard/MyTelephoneDatabase.db