T O P
OwlIsBack

Using "SQL Query" action, "URI Formatted" option. Provider of interest: `content://call_log/calls` Columns of interest: `number, normalized_number, type` `type = '5'` == Call rejected by the user. `type = '6'` == Call blocked automatically. Reference: **[How to use Tasker "SQL Query" + "Content Providers"](https://www.reddit.com/r/tasker/comments/o9wghn/how_to_get_detailed_info_about/)** - **[(Taskernet of "SQL Query" examples).](https://taskernet.com/shares/?user=AS35m8mZdKE5Rv3FSeXjl7%2FsAHH8f4gDXxMcc1R2P5maHog6g63CyZSyKhJZTA4RXoWl1YA%3D&id=Task%3AReddit+-+SQL+Query+%2B+Content+Providers+EGs)**


Upset_Letterhead1277

Hi thx,but sorry I'm Not so deep in programming. Please can you describe a little bit easier


OwlIsBack

Welcome. Eg.: A1: Wait [ MS: 0 Seconds: 4 Minutes: 0 Hours: 0 Days: 0 ] A2: SQL Query [ Mode: URI Formatted URI: content://call_log/calls Columns: type Order By: date DESC LIMIT 1 Variable Array: %last_call_type Continue Task After Error:On ] A3: If [ %last_call_type(1) = 5 ] A4: Flash [ Text: You rejected the call from contact: %CNAME From number: %CNUM Continue Task Immediately: On Dismiss On Click: On ] A5: End If Link the above Task as **Exit** to a "Call > Incoming" state Profile.


Upset_Letterhead1277

>(1) thx ... that works ... great :-)


OwlIsBack

You're welcome.