Say the name of the caller

4,675 views
Skip to first unread message

Marcus

unread,
Jul 17, 2010, 4:26:06 PM7/17/10
to Tasker
Hey,

I want to use tasker to say the name of the caller instead of a
ringtone.
%CNUM is working for the number, but is there also a variable for the
name of the caller?
Or perhaps a way to match it with the contacts?

And is there also a variable containing the information whether there
is an incoming call right now?
I want tasker to repeat saying the callers name until the call ends or
is answered.
I am using a goto action, but I can't tell it when to repeat and when
not to.
A stop action in the exit task won't stop it, so it will repeat until
I turn tasker off.

The homepage is still down so I can't check the userguide.

Hope you can help me.

Marcus

Marcus

unread,
Jul 17, 2010, 4:28:25 PM7/17/10
to Tasker
An edit button would be nice. :D

I am using a state context to start the reading, perhaps that could be
important.

Pent

unread,
Jul 17, 2010, 5:22:56 PM7/17/10
to Tasker
> > I want to use tasker to say the name of the caller instead of a
> > ringtone.
> > %CNUM is working for the number, but is there also a variable for the
> > name of the caller?
> > Or perhaps a way to match it with the contacts?

Caller name variable is on todo list.

> > And is there also a variable containing the information whether there
> > is an incoming call right now?
> > I want tasker to repeat saying the callers name until the call ends or
> > is answered.
> > I am using a goto action, but I can't tell it when to repeat and when
> > not to.
> > A stop action in the exit task won't stop it, so it will repeat until
> > I turn tasker off.

I would say:

Event: Phone Ringing
Variable Set RINGING = 1
Say %CNUM if %RINGING = 1
Goto 2 if %RINGING = 1

Event: Phone Offhook <-- answered
Variable Set RINGING = 0

Event: Phone Idle: <-- ended or they gave up
Variable Set RINGING = 0

Pent

Marcus

unread,
Jul 17, 2010, 6:03:33 PM7/17/10
to Tasker
It's working, nice.
Thanks again!

Marcus

unread,
Jul 18, 2010, 1:02:16 PM7/18/10
to Tasker
Hey,

me again. :)

I was just wondering about the difference between the state "incoming
call" and the event "phone ringing".
Is there any important difference besides one being a state and the
other being an event?
Right now I set my ringer volume to 0 and use the notification stream
for the voice output to get the voice only (as I can't choose nothing
for the ringtone).
But when I use headphones the standard volume for notification is too
loud.
That's why I switched from your recommendation to a state.
So when someone is calling I check whether the headphones are plugged
(using an extra variable) and if they are, I change the volume of the
notification stream.
The advantage of using a state is that it will reset the option once
it is over.

Is there any disadvantage when using the "incoming call" state?

And is there perhaps a way to kill the voice?
It will continue with the sentence even if the other person already
hung up. Or is that not possible as the OS is handling the rest of the
speech process?
I tried a stop action and even another say action to override it, both
didn't work (exit task).


Thanks for your help and your awesome tool!
Marcus

Pent

unread,
Jul 18, 2010, 1:36:01 PM7/18/10
to Tasker
> I was just wondering about the difference between the state "incoming
> call" and the event "phone ringing".
> Is there any important difference besides one being a state and the
> other being an event?

You don't want to to keep talking when you answer the phone I
understood ?
The state lasts till the phone goes idle.

> Is there any disadvantage when using the "incoming call" state?

If it works for you no problem :)

>
> And is there perhaps a way to kill the voice?

No, but I see an easy API call so I'll probably put a Shut Up action
in the next beta :)

Pent

Marcus

unread,
Jul 18, 2010, 1:52:17 PM7/18/10
to Tasker
> No, but I see an easy API call so I'll probably put a Shut Up action
> in the next beta :)

Haha that's good to hear. :D

It is not that big of a problem, android will kill the voice on it's
own when I answer a call, so it will stop immediately.
When you listen to music the music is paused until the nice woman in
your phone has finished (that is if you use notification stream; when
you use system stream it will not wait and continue the music playback
once the "ringing" stops, leaving you with the voice+music for a few
seconds).
But my main problem is that it will announce a call even if the other
person has already hung up and I will still run to my phone, just to
see that I am too late. :)
So nothing to really worry about.

J.J.

unread,
Jul 19, 2010, 7:49:33 PM7/19/10
to Tasker
I WOULD LOOOOOOVEEE caller name variable, as I have been trying to
replace all my smaller apps with Tasker tasks. This is one of them.
I thought I was missing something but it's just not there yet. I
can't wait to have it on the next version, thanks!!!

dg

unread,
Aug 1, 2010, 1:30:04 AM8/1/10
to Tasker
Do you have this working over bluetooth? Or speaker/headset?
I can't get it to announce on the "call" stream or the "media" stream
when the incoming call is rining.

Thanks

Jay Jay Napalan

unread,
Aug 20, 2010, 8:02:44 PM8/20/10
to Tasker
is there a way to increase the speech volume on receive call because
its really low.. with ringtone going off

Jay Jay Napalan

unread,
Aug 20, 2010, 8:08:45 PM8/20/10
to Tasker
nvm figured it out need to change stream to ringer =)

Mauro Mauro

unread,
Sep 16, 2010, 5:51:53 PM9/16/10
to Tasker
Pent, I tryed to do 3 profiles like you say and it's all ok. But only
one thing it's a bit annoynig. Tasker start to say caller after a
random time after the phone start to ring. There isn't a way to make
it start istanctly?

Pent

unread,
Sep 17, 2010, 4:47:09 AM9/17/10
to Tasker
Is it around 5 seconds ?

Pent

Mauro Mauro

unread,
Sep 17, 2010, 9:41:20 PM9/17/10
to Tasker


Yes may be... it's the check time? Mmm i don't know if can be more...
tomorrow i'll try.

Pent

unread,
Sep 18, 2010, 6:03:22 AM9/18/10
to Tasker
> Yes may be... it's the check time? Mmm i don't know if can be more...
> tomorrow i'll try.

No, some kind of Android bug time.

Pent

Jesse Hembrook

unread,
May 10, 2012, 4:16:40 PM5/10/12
to tas...@googlegroups.com

I have this setup on my phone (see below). 

I would like the phone set ringing variable to 0 (make it shut up) if I push the volume down button (or some other button) while it's ringing. 

Can anyone tell me how to set that up?

I am not seeing the ability to tie it into pressing a button.

 

I have a Nexus One, Android 2.3.6. if it matters.
 
 
 

On Jul 17 2010, 4:22 pm, Pent <tas...@dinglisch.net> wrote:
>
> I wouldsay:
>
> Event: Phone Ringing
> Variable Set RINGING = 1Say%CNUM if %RINGING = 1


> Goto 2 if %RINGING = 1
>
> Event: Phone Offhook          <-- answered
> Variable Set RINGING = 0
>
> Event: Phone Idle:                <-- ended or they gave up
> Variable Set RINGING = 0
>
> Pent

Oon-Ee Ng

unread,
May 10, 2012, 8:25:32 PM5/10/12
to tas...@googlegroups.com

Just monitor the change in ringtone volume, when it changes set volume to 0

gary scarborough

unread,
Jul 29, 2013, 3:13:30 PM7/29/13
to tas...@googlegroups.com
can anyone help me with the repeat caller name profile from the  tasker wiki. I am not sure how to adjust it so it does not contiuously repeat caller name if rejected or even when answered sometimes. any help or direction appreciated.

Rich D

unread,
Jul 29, 2013, 5:31:08 PM7/29/13
to tas...@googlegroups.com

> can anyone help me with the repeat caller name profile from the  tasker wiki. I am not sure how to adjust it so it does not contiuously repeat caller name if rejected or even when answered sometimes. any help or direction appreciated.
>  


Could you post your profile here...  Long press on the profile name / ( 3 dot menu with 4.0+ ) export / export description to clipboard (not XML)

The beginner mode needs to be off and the profile needs to have a name to be able to export.  

gary scarborough

unread,
Jul 29, 2013, 7:32:51 PM7/29/13
to tas...@googlegroups.com

This is what I got from tasker wiki Profile: PhoneRinging (79)
State: Call [ Type:Incoming Number:* ]
State: Headset Plugged [ Type:Any ]
Enter: SayCallerName (77)
A1: Variable Set [ Name:%RINGING To:1 Do Maths:Off Append:Off ]
A2: Say [ Text:%CNAME calling Engine:Voice:com.svox.pico:eng-USA Stream:3 Pitch:5 Speed:5 Continue Task Immediately:Off ]
A3: Goto [ Type:Action Number Number:1 Label: ] If [ %RINGING Is Set ]

Exit: Shush (78)
A1: If [ %RINGING Is Set ]
A2: Variable Clear [ Name:%RINGING Pattern Matching:Off ]
A3: Shut Up

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/V_z1YJ6lBGQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Brandon Horwath

unread,
Jul 29, 2013, 7:56:05 PM7/29/13
to tas...@googlegroups.com
A lot of the doesn't seem necessary.

Create new task, only action misc. Say - Call from %CNAME
engine: default:default
stream: media or system (try both)

Tie event context, phone ringing, contact: C:ANY. (remove the headset context also)

Unfortunately, the profiles on the wiki are what I would consider as outdated.

Let me know if there are any problems!

gary scarborough

unread,
Jul 29, 2013, 8:02:31 PM7/29/13
to tas...@googlegroups.com

Can I leave the headset mode in that's the only time I need tasker to say the caller name because the phone is in my bag

Brandon Horwath

unread,
Jul 29, 2013, 8:18:59 PM7/29/13
to tas...@googlegroups.com
Oh, yeah. If that's what you want. I would test trying without first and then build in more contexts for your needs.

Makes the process easier to troubleshoot when things go awry.

Michael Burke

unread,
Jul 29, 2013, 8:54:48 PM7/29/13
to tas...@googlegroups.com
Read Text (3)
A1: Say [ Text:Text From %SMSRN %SMSRB Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Continue Task Immediately:Off ]

gary scarborough

unread,
Jul 29, 2013, 9:02:53 PM7/29/13
to tas...@googlegroups.com

I don't know what I'm doing wrong but that profile is not working for me when I press the play button or test it reads the name of last caller but when I call the number out just rings

On Jul 29, 2013 8:55 PM, "Michael Burke" <superm...@gmail.com> wrote:
Read Text (3)
        A1: Say [ Text:Text From %SMSRN %SMSRB Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Continue Task Immediately:Off ]

Brandon Horwath

unread,
Jul 29, 2013, 10:27:23 PM7/29/13
to tas...@googlegroups.com
Oh, you want it to say who YOU ARE CALLING?

Not, who is calling you.

gary scarborough

unread,
Jul 30, 2013, 7:51:14 AM7/30/13
to tas...@googlegroups.com

No I do want it to say who is calling when I have my headset attached here is what I've done  Profile: Who's Calling (71)
Event: Phone Ringing [ Caller:%CNAME /C:ANY ]
State: Call [ Type:Incoming Number:C:ANY ]


State: Headset Plugged [ Type:Any ]

Enter: Who's Calling (72)
A1: Say [ Text:Chef G %CNAME is calling Engine:Voice:com.svox.pico:eng-GBR Stream:1 Pitch:5 Speed:5 Continue Task Immediately:Off ]

Oh, you want it to say who YOU ARE CALLING?

Not, who is calling you.

Brandon Horwath

unread,
Jul 30, 2013, 9:54:12 AM7/30/13
to tas...@googlegroups.com
Should look like:

Profile: Who's Calling (71)

Event: Phone Ringing [ Caller:C:ANY ]


State: Headset Plugged [ Type:Any ]
Enter: Who's Calling (72)
A1: Say [ Text:Chef G %CNAME is calling Engine:Voice:com.svox.pico:eng-GBR Stream:1 Pitch:5 Speed:5 Continue Task Immediately:Off ]

... try that.

Wes Stacey

unread,
Jul 30, 2013, 10:50:52 AM7/30/13
to tas...@googlegroups.com
Headset plugged only works for WIRED headsets or headphones. This isn't a bluetooth headset is it?

This type of profile isn't possible with a bluetooth headset, as most bluetooth headsets don't route ANY streams through the headset when the phone is ringing, they just play their own ringtones through the headset.

Brandon Horwath

unread,
Jul 30, 2013, 11:18:54 AM7/30/13
to tas...@googlegroups.com
Yeah. Most are HSP only compatible, and that changes how it would work (IF it could work). Even then, it would probably be after call answered which is less than ideal in this case.

But! Tasker can announce caller ID when ringing and connected to M2DP capable Bluetooth devices, these are specific media compatible Bluetooth headsets. We would need to alter your context to an appropriate activation though.

gary scarborough

unread,
Jul 30, 2013, 5:59:12 PM7/30/13
to tas...@googlegroups.com

Yes I'm  using a wired headset think I've got it working now thanks for all your help

Yeah. Most are HSP only compatible, and that changes how it would work (IF it could work). Even then, it would probably be after call answered which is less than ideal in this case.

But! Tasker can announce caller ID when ringing and connected to M2DP capable Bluetooth devices, these are specific media compatible Bluetooth headsets. We would need to alter your context to an appropriate activation though.

Michael Burke

unread,
Aug 13, 2013, 5:58:51 AM8/13/13
to tas...@googlegroups.com
thats what its supposed to do unless you text yourself and you put yourself in your contacts


On Saturday, July 17, 2010 3:26:06 PM UTC-5, Marcus wrote:
Hey,

I want to use tasker to say the name of the caller instead of a
ringtone.
%CNUM is working for the number, but is there also a variable for the
name of the caller?
Or perhaps a way to match it with the contacts?

And is there also a variable containing the information whether there
is an incoming call right now?
I want tasker to repeat saying the callers name until the call ends or
is answered.
I am using a goto action, but I can't tell it when to repeat and when
not to.
A stop action in the exit task won't stop it, so it will repeat until
I turn tasker off.

The homepage is still down so I can't check the userguide.

Hope you can help me.

Marcus

James Watkins

unread,
Jan 14, 2014, 2:17:11 PM1/14/14
to tas...@googlegroups.com
Trying to keep things simple, I've been using the following profile.  The profile only becomes active when the phone is 'ringing' and the task stops cycling once the profile isn't active anymore.

Profile: Phone Incoming Call Reader

Context: Call, type: Incoming, Number: blank (optional)

Task: 1 Say: Incoming call from %CNAME (make sure continue task immediately is not checked)
         2 Goto: action #1 if %PACTIVE matches *Phone Incoming Call Reader*

This will have the say action repeat until either the call is answered or stops ringing.

Hope this simplifies things a bit.

-James

Joe Williams

unread,
Jan 27, 2014, 12:48:48 AM1/27/14
to tas...@googlegroups.com
I wanted Tasker to announce the name of caller in my contact list. I created my profile exactly the same as James'
 
Task: 1 Say: Incoming call from %CNAME (make sure continue task immediately is not checked)
2 Goto: action #1 if %PACTIVE matches *Phone Incoming Call Reader*
 
but it woudn't work on my phone at all.
I even created a very simple Profile called CallerName
Event: Phone Ringing C:ANY
Say Text %CNAME is calling
 
I tried both Phone Ringing/Incoming Call as my Events to no avail.
What am I doing wrong?Any help is greatly appreciated!

Matt R

unread,
Jan 27, 2014, 3:30:37 AM1/27/14
to tas...@googlegroups.com
Add an alert -> flash action to see if it's the trigger or the say action failing. Also, check the run log (menu -> more -> run log).

Matt

Martin Lundbäck

unread,
Jan 27, 2014, 6:19:50 AM1/27/14
to tas...@googlegroups.com
I had the same problem! What solwed it for me was in The action Say the respect audio focus was checked. Uncheck it and try again maybe it Will work for you to.
/Martin

danny ling

unread,
Jan 27, 2014, 11:09:36 AM1/27/14
to tas...@googlegroups.com
hey Martin,
 
Unchecking the respect audio focus did make it work. I'm so happy, thanks a lot for your help!


On Mon, Jan 27, 2014 at 3:19 AM, Martin Lundbäck <martin....@gmail.com> wrote:
I had the same problem! What solwed it for me was in The action Say the respect audio focus was checked. Uncheck it and try again maybe it Will work for you to.
/Martin

Martin Lundbäck

unread,
Jan 27, 2014, 12:13:57 PM1/27/14
to tas...@googlegroups.com
Happy to help:)

Marco Lovato

unread,
Apr 3, 2014, 8:25:29 PM4/3/14
to tas...@googlegroups.com
Hi all. Having a situation here...
I need to uncheck respect audio focus so my MotoG Stock was able to say something, else it got stuck.
The poing is that my phone is ringing, I lowered ring volume, but it plays the caller on the speaker, instead on my BT phone.
If I just test the task inside tasker, it works properly.
In fact I created another task to say SMS sender name, which works ok.
I guess the fact of something already using the audio channel can be the root cause of this... I am correct?
Any suggestion?

Best
Lovato

On Monday, January 27, 2014 3:13:57 PM UTC-2, Martin Lundbäck wrote:
Happy to help:)
Message has been deleted

Snorre Rubin

unread,
Jun 20, 2014, 3:58:57 AM6/20/14
to tas...@googlegroups.com
I too have a problem with this (or a similar) profile. I want to use it to announce the caller id when I have my headset plugged in, so that I can hear who is calling when I am on my bike.

I have been fidling around with it for some time, and always with the same result: NOTHING. The ringer seems to override the SAY action. It works fine when i use the SAY action with %SMSRN and %SMSRB to read aloud text messages, but with the announce caller id, nothing happens.

Any ideas?

I have tried with just about every audio stream, and with any settings...

BR
Snorre

Brandon Horwath

unread,
Jun 20, 2014, 2:07:15 PM6/20/14
to tas...@googlegroups.com
What about muting your ringer then, and letting tasker handle the audio you want?

Matt R

unread,
Jun 20, 2014, 6:52:12 PM6/20/14
to tas...@googlegroups.com
Maybe try adding a wait before the say action too?

Matt

derin david

unread,
Sep 23, 2014, 6:56:40 AM9/23/14
to tas...@googlegroups.com


On Sunday, July 18, 2010 2:52:56 AM UTC+5:30, Pent wrote:
> > I want to use tasker to say the name of the caller instead of a
> > ringtone.
> > %CNUM is working for the number, but is there also a variable for the
> > name of the caller?
> > Or perhaps a way to match it with the contacts?

Caller name variable is on todo list.

> > And is there also a variable containing the information whether there
> > is an incoming call right now?
> > I want tasker to repeat saying the callers name until the call ends or
> > is answered.
> > I am using a goto action, but I can't tell it when to repeat and when
> > not to.
> > A stop action in the exit task won't stop it, so it will repeat until
> > I turn tasker off.

I would say:

Event: Phone Ringing
Variable Set RINGING = 1
Say %CNUM if %RINGING = 1
Goto 2 if %RINGING = 1

Event: Phone Offhook          <-- answered
Variable Set RINGING = 0

Event: Phone Idle:                <-- ended or they gave up
Variable Set RINGING = 0

Pent
I have it alll but my mob just keep playing the ringtone not the number nor the name okay.
and after call ends it says the number and name cant find a wayreply me an answer pls
THANKS 
Message has been deleted

Gustavo Mendoza Tomasis

unread,
May 20, 2016, 8:14:23 PM5/20/16
to Tasker
Did you solve that problem? The ringer override say action.

Shubham Gore

unread,
May 4, 2019, 2:16:38 PM5/4/19
to Tasker

Reducing ringer volume and unchecking respect audio for Say will solve your issue. Later you can restore ringer volume.
Reply all
Reply to author
Forward
0 new messages