r/tasker • • 23d ago

Dual sim notification tone

Hi can you one help here. I am new to takser. On my pixel 10 pro i need a option to play a different notification sound and ringetone depending if the massages or call is coming on sim 1 or 2. Anyone that can help here

1 Upvotes

5 comments sorted by

1

u/DangerousAssistance2 23d ago

I have trydt it out for notifications. But i have trouble finding notification sound i can only see/select the rongtone sound.

1

u/Exciting-Compote5680 22d ago

If you mean text/sms messages, it's probably easier to set the notification sound for the sms app to 'None' and set up a 'Received Text' profile and have Tasker play a different notification sound depending on the sim (the sim name is in one of the %evtprm variables, I think it's %evtprm4). 

1

u/DangerousAssistance2 21d ago

Newest tasker and sim1 is physical and sim1 is esim

2

u/jl_montero 19d ago

For incoming calls I tried it hard some years ago (also dual sim pixel user here) ... The only way I found was to check phone logs on incoming call, and found an entry that identified Sim. BUT, it didn't work all times, because sometimes the phone rang before I could change ringtone.

Also Tasker lost log access from time to time, and after every reboot... So I abandoned the idea.

I think I posted my findings here at Reddit somewhere.

If anyone finds a way...

1

u/DylanXu054728 23d ago

Quick heads-up on why this is hard: since Android 8, notification sounds are set per app channel, not globally. That's probably why you only see ringtone options in Tasker. The global notification sound is just one default, and most apps (Google Messages included) use their own channel.

Also, stock Android/Pixel has no per-SIM ringtone or notification setting, and as far as I know Tasker has no built-in variable telling you which SIM slot a call or SMS came in on. I'm not sure whether Pixel 10 Pro changes that, so check Settings > Network & internet > SIMs for any per-SIM sound option.

What I'd try: an Event > Phone > Incoming Call profile, then check whether the SIM or subscription info is exposed in the Tasker variables or via a plugin. If it is, use that to switch the ringtone with an action. For SMS you'd probably have to change the sound in the Messages channel settings instead.

If you can post which Tasker version you're on, and whether the SIMs are physical or eSIM, people here can narrow it down better.