Silencing Delivery Report Notification with Tasker?

349 views
Skip to first unread message

Bodoh

unread,
Jun 27, 2012, 1:06:38 AM6/27/12
to tas...@googlegroups.com
Hi,

(On Galaxy Note ICS)

I have SMS delivery reports on, and this give a sound notification and a message in the status bar.

I like to know, but not to hear the reports, can't change this in the Note's settings (I think)

So, I thought, let Tasker take care of that.

So, I have a Profile that looks for *Delivery* in the notification bar, and then the task sets set system volume to zero, waits 2 seconds and then sets system volume back again.

However, things don't get silent, the sound gets through. The profile works alright; if I add other things to the task they are executed.. even silent mode on and off (gives a beep when its on again, so not very useful)

It is like the Notification sound is faster than Tasker can intercept, in this case only. I have other Profiles silencing things, and they work alright....

Is there a solution for this? (Priority to "High" didn't help...)

thanks...

Cptnodegard

unread,
Jun 27, 2012, 2:07:15 AM6/27/12
to tas...@googlegroups.com
There isn't an easy solution to this because your trigger is basically the same thing that you're trying to silence using the trigger. Once the notification comes in, the device is already in the process of playing a sound, and by then it's too late to mute anything.  I guess you could use a custom notification sound that has a second or two of silence at the beginning, thus allowing Tasker to silence it while it's technically playing. 

Michon van Dooren

unread,
Jun 27, 2012, 6:20:52 AM6/27/12
to tas...@googlegroups.com
I did something similar for a profile that responds to a text with a specific code with the current location of the device (in case it gets stolen, lost, etc). 
I make it set silent mode on, and then back off a little bit later, which works flawlessly. I respond a Received Text SMS event though, not a notification. As Cptnodegard said, by the time the notification pops up the sound already is playing. I'm not sure how delivery notifications are seen, and whether they trigger an event like Received Text SMS... I do recall a friend of mine always had this on with one of his old old old nokia phones, and the delivery notifications would show up along the other text messages. So I'd just try to see if that event triggers it for you, as it seems to fire before the sound plays, making it actually effective for this ;) Good luck :)

Sriram SV

unread,
Mar 7, 2013, 12:25:52 PM3/7/13
to tas...@googlegroups.com
u can actually create a profile to notify u on a received text.(remember to select silent notification in the messaging app). then u wud only get notification when an actual text is received and not the delivery report

Deepak Tanpure

unread,
Sep 18, 2014, 12:16:53 PM9/18/14
to tas...@googlegroups.com
Sriram, as you said "(remember to select silent notification in the messaging app)" this doesn't help
Sometimes Delivery report is received after an hour and i can't be in Messaging app all the time, Trigger condition is bypassed. .

did you came across any another solution, please let us know..
meanwhile, i am working on it. i will post if get something good. :)

Deepak Tanpure

unread,
Sep 20, 2014, 1:04:51 PM9/20/14
to tas...@googlegroups.com
Silencing Delivery report can achieved using autonotification app.

i had different requirement, whenever i send a SMS, Tasker should read out the delivery report -status("Pending/ Delivered") and Time from the report. Further i needed something that will cancel this delivery report notification.

this is achieved and here is my working profile (ignore the else part)
======================================================================================================================
Profile: Message Notification Cancel (75)
State: AutoNotification Intercept [ Configuration:Notification Type: Only Created Notifications
Persistency Type: Non-Perstistent Only
Notification App: Messages (exact)
Package Name: com.android.mms (exact) ]
Enter: Message Notification Cancel Logic (65)
A1: If [ %antitle ~ Delivery report ]
A2: Variable Set [ Name:%recipient_name To:%antexts(4) Do Maths:Off Append:Off ]
A3: Variable Split [ Name:%recipient_name Splitter:: Delete Base:Off ]
A4: Say [ Text:%antexts(1) for %recipient_name1 . Message was delivered at %antexts(2) Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
A5: AutoNotification Cancel [ Configuration:Other Id: 888
Package: com.android.mms
Tag: %antag Package:com.joaomgcd.autonotification Name:AutoNotification Cancel Timeout (Seconds):0 ]
A6: Else If [ %antitle ~ *-* & %antitle !~ *SBI* & %antitle !~ *HDFC* & %antitle !~ *ICICI* ]
A7: AutoNotification Cancel [ Configuration:Other Id: 123
Package: com.android.mms
Tag: %antag Package:com.joaomgcd.autonotification Name:AutoNotification Cancel Timeout (Seconds):0 ]
A8: End If
A9: Profile Status [ Name:Message Notification Cancel Set:Off ]

======================================================================================================================
Reply all
Reply to author
Forward
0 new messages