[Q] How to send an automated sms when receiving a missed call whilst on silent?

455 views
Skip to first unread message

Akash Nayee

unread,
Mar 23, 2014, 1:25:28 PM3/23/14
to tas...@googlegroups.com
Hi All,

I'm a complete novice at Tasker and was wondering how to do the above, so far I have my phone set to turn on silent when the orientation is face down, and I want to add to this so that if the phone is on silent, and I receive a missed call, I send some sort of automated reply like "Hi, I'm currently on silent so I'll call you back" type thing but have no idea how to go about it if anyone here can help?

Thanks

UncleMike

unread,
Mar 23, 2014, 5:16:29 PM3/23/14
to tas...@googlegroups.com
There are probably several solutions that have been published either here, on the Tasker Wiki, or elsewhere, but a simple version would be something like this:

Context: Variable Value %SILENT ~ on
Context: Event Missed Call
Task:
Send SMS to:%evtprm1 body:Hi, I'm currently on silent so I'll call you back

The drawback to this simple approach is that people will repeatedly get the same text reply if they call you repeatedly.  Also, as far as I know, there's no way to know if the call came from a mobile number capable of receiving a text message, but this would apply to any approach.

A more complicated approach that keeps track of who you've already replied to, and doesn't reply to them again would be like this:

Profile 1:
Context: Variable Value %SILENT ~ on
Context: Event Missed Call
Task:
If %SMSreply !~R %evtprm1
Send SMS to:%evtprm1 body:Hi, I'm currently on silent so I'll call you back
Array Push %SMSreply %evtprm1
End If

Profile 2:
Context: Variable Set %SILENT !on
Task:
Array Clear %SMSreply

When you miss a call while on silent, the first profile checks to see if the caller is on a list of previous callers.  If they're not on the list, it sends the SMS and adds them to the list.  If they are on the list, nothing happens.  The second profile clears the list when silent mode is set to something other than off.

Brandon Horwath

unread,
Mar 23, 2014, 5:17:40 PM3/23/14
to tas...@googlegroups.com
Profile: SMS When Silent (509)
Event: Missed Call [ Caller:* ]
State: Variable Value [ Name:%SILENT Op:Matches Value:On ]
Enter: Auto Reply (508)
A1: Send SMS [ Number:%CNUM Message:Hi. Sorry I missed your call, my phone is on silent. Store In Messaging App:On ]

Rich D

unread,
Mar 23, 2014, 9:21:53 PM3/23/14
to Tasker Google Groups Post

One small correction on this one..


>
> Profile 1:
> Context: Variable Value %SILENT ~ on
> Context: Event Missed Call
> Task:

> If %SMSreply !~R %evtprm1
Should be..
   If %SMSreply(:) !~R %evtprm1

> Send SMS to:%evtprm1 body:Hi, I'm currently on silent so I'll call you back
> Array Push %SMSreply %evtprm1
> End If
>

I personally do not understand why you would not want to resend the text if the same caller calls again. I think I would take this profile 1 step further and get the number of calls you have received from the same caller and adjust the text as the calls increase. Something like,

1. Sorry I can not talk at the moment,  will call back as soon as possible.
2. Still can not talk, Will call back,  WHEN I FEEL LIKE IT.
........
.......
10. You have now called 10 times. I WILL HUNT YOU DOWN AND KILL YOU......

Or something like that.... :)

Brandon Horwath

unread,
Mar 23, 2014, 10:54:25 PM3/23/14
to tas...@googlegroups.com
10. You have now called 10 times. I WILL HUNT YOU DOWN AND KILL YOU......

Or something like that.... :)

Lmao! Okay, now I HAVE to do that...

UncleMike

unread,
Mar 23, 2014, 11:44:25 PM3/23/14
to tas...@googlegroups.com
Thanks for the correction, Rich. I also like your additions! 😀

Jacob Matthews

unread,
Mar 30, 2014, 8:41:46 PM3/30/14
to tas...@googlegroups.com
Will any of you share these profiles so we can download them into our Tasker applications? 

-Jacob 

Brandon Horwath

unread,
Mar 31, 2014, 2:19:03 AM3/31/14
to tas...@googlegroups.com
I haven't made Rich's suggestion yet... it's simple, but still may be more than what you're looking for. There is a, 'my phone is on silent mode notification' aspect of it.

Profile: AutoText Availability After Missed Call (104)


Event: Missed Call [ Caller:* ]

State: Calendar Entry [ Title:Work Location:* Description:* Available:No Calendar:* ]
Enter: Auto Missed Call Message (103)
A1: Stop [ With Error:Off Task:Auto Missed Call Message ] If [ %CALLOC ~ \%CALLOC ]
A2: Stop [ With Error:Off Task:Auto Missed Call Message ] If [ %CALDESCR ~ \%CALDESCR ]
A3: Test [ Type:Calendar End (Seconds) Data:%TIMES Store Result In:%calend ]
A4: Variable Convert [ Name:%calend1 Function:Seconds to Long Date Time Store Result In:%calend ]
A5: Send SMS [ Number:%CNUM Message:(Automated message) I'm sorry I missed your call. But, I am currently occupied with %CALTITLE specifically %CALDESCR at %CALLOC and my phone is set %SILENT /silent. At the earliest I will be available after %calend Store In Messaging App:On ] If [ %SILENT !~ off ]
A6: Send SMS [ Number:%CNUM Message:(Automated message) I'm sorry I missed your call. But, I am currently occupied with %CALTITLE specifically %CALDESCR at %CALLOC. At the earliest I will be available after %calend Store In Messaging App:On ] If [ %SILENT ~ off ]
A7: Flash [ Text:SMS sent Long:Off ]
A8: Vibrate Pattern [ Pattern:250,250,500,250,250,250,750,750 ] If [ %SILENT !~ on ]

Hope this helps you going in the right direction.

Reply all
Reply to author
Forward
0 new messages