I am working on Tasker to reply to an incoming text message using the GET VOICE and SEND SMS commands (for use while driving). After an incoming message Tasker listens to my reply using GET VOICE and sends the reply using SEND SMS with %VOICE in the Message field and some other variable with the phone# in the Number field... and here I'm stuck because I found no way of extracting the phone number from an incoming SMS (it works when the variable has a phone number already assigned to it).
Can anyone help?
Have you tried using the %SMSRF variable? Typically I set a local variable to the value of %SMSRF as the first action in case another text comes in while the task is processing.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Thanks ktmom!
Worked like a charm!
No more struggling with the phone when driving!
Actually, now you have encouraged me to rewrite my task to give an option of when a new SMS arrives to either Text back, Call the sender or just Quit. I have also put to use your tip on setting local variables for all the parts of the incoming text message - just in case
Have a nice day!
Related
Is there any direct (or convoluted) way to reject an incoming call, i.e. send it directly to voicemail. Meaning
(a) if a call is coming in and matches certain criteria
(b) send the call to VM, and stop the ringing. (programmatically)
I've got (a) under control but I dont know how to do (b).
Any ideas?
Thanks
Jay
Well I know in the phonebook settings there is an option to send directly to voicemail for that particular number but that would require you saving the number in your phone book.
speoples20 said:
Well I know in the phonebook settings there is an option to send directly to voicemail for that particular number but that would require you saving the number in your phone book.
Click to expand...
Click to collapse
+1
I have Telemarketer1 - 7 right now in my phone book and they all go straight to voicemail with that option. Now if there was some way to block "UNKOWN"!
We need a Call Firewall / Blocker Software which can do following.
Register for Intent which can hook Incomming Call events
When Intent is raised if Checks for the number across Predefined Rules in Priority Order if any Rule matched take Action like
Reject Call
Accept and Immediately Reject THIS WILL COST CALLER
Send to Voice Mail
Reject and Reply with SMS
Reject and Create Reminder for Predefined Minutes to Remind us to Call them Back
+1
great idea
Try Youmail (it works for all phones)
There is a program for WM called Mobion MagiCall that would do everything that everyone wants on android but who can port it...
Back to my question...
Folks
I love the lively chit chat but does anyone have an answer to my original question: how do I reject a call programmatically and on the fly (not through phonebook entries set up ahead of time)?
BTW I will have an app available next week on Android Market that allows you to respond to incoming calls with an "I'll call you back asap" text or email, and it will set a reminder for you to call the caller back.
jayandro said:
Folks
I love the lively chit chat but does anyone have an answer to my original question: how do I reject a call programmatically and on the fly (not through phonebook entries set up ahead of time)?
BTW I will have an app available next week on Android Market that allows you to respond to incoming calls with an "I'll call you back asap" text or email, and it will set a reminder for you to call the caller back.
Click to expand...
Click to collapse
OMG!!! YES, WE CAN DO THAT!!!
I was going to kill myself after severe 24 hours of investigating and discovering... But I've found "fresh" solution!
// "cheat" with Java reflection to gain access to TelephonyManager's ITelephony getter
Class c = Class.forName(tm.getClass().getName());
Method m = c.getDeclaredMethod("getITelephony");
m.setAccessible(true);
telephonyService = (ITelephony)m.invoke(tm);
all all all of hundreds of people who wants to develop their call-control software visit this start point
http://www.google.com/codesearch/p?...:http://mylockforandroid\.googlecode\.com&d=0
there is a project. and there are important comments (and credits)
briefly: copy aidl file, add permissions to manifest, copy-paste source for telephony management )))
Some more info for you. AT commands you can send only if you are rooted. Than you can kill system process and send commands but you will need a reboot to allow your phone to receive and send calls =)))
I'm very hapy =) Now my Shake2MuteCall will get an update !
I use tcallblocking lite (search the market for it) to block calls from unknown numbers and any rom with the hacked phone.apk in it allows you to add numbers to a blacklist. No need for additional entries in your contact list
Moved as not Android Development.
I tried Call Firewallv1.40 freeware. It seems to be working at blocking unwanted private calls. I found it here http://www.freewarepocketpc.net/ppc-download-call-firewall-v1-4.html. The price is certainly good.
Features & Options:
a. Accecpt all calls - pretty self explainatory
b. Accept call from My Contacts only - accepts calls from contacts only, others are rejected
c. Reject all calls - pretty self explainatory
d. White List - accepts calls only from the white listed nos
e. Black List - accepts all call except from the black listed nos
f. Black List Pattern - any no STARTING from the black list pattern list is rejected.
for eg. if you enter "123", so all nos STARTING from "123" will be rejected
this is a very nice option with which you can block nos from any particular network, country, city , area or whatever you can think of.
Hi!
I'm kinda new here so bare with me...
i've searched without any luck to finding the answer to my question...
When someone calls me, the diamond gives me the choice to reject the call and texting the caller with a predefined message...the problem is that i have to actually send the damn message after haning up...wich kinda takes the whole idea away of having the phone doing it...
Now, is there anyway i can make the damn sms get sent without me having to actually click the send button?? just reject the call and let the phone do the job?
Come on, somebody has got to have had the same issue?
Go to Settings.. Phone... Advanced (right at the right hand end) then de-select "Reject call with text message"
i think you misunderstood me, i don´t want to turn off the feature, just make it do the whole procedure and not stop right before the message gets sent.
Uncheck the option to edit the text message, on the advance tab.
Well nobody is understanding what he is saying.
This is a good idea, infact i also wanted to do the same thing.
What we want is that as soon as we reject the call with send text button phone should directly send the message to the caller (with predefined text) without opening the predefined compose messsage and then we click send again to let the sms shoot to the caller.
I think this feature wont be possible with soft reject or hard reject key coz then it will send sms to each and every caller or even to landline caller. There should be other soft key just like "Send Text" soft key where we press it and automatically phone sends the sms to the caller.
Hope i am able to explain.
Regards,
Vishal
Reject++
If you are looking for an app to let you reject incoming calls with predefined or custom SMS and setup a reminder to return a call as well..
so check Reject++
You can:
- Reject a call with SMS, Reminder, Or Both.
- Convenient Slider on top of incoming call screen, slider it up and go with Reject++
- Smart SMS Templates with "Tags"
- Smart Reminders Scheduling Engine.
- Works with mobile screen locked or OFF
- Notifications works no matter if the app is active or not.
Check much more Features & Screenshots for Reject++
How to send messages to all call recipients when I receive a missed call using Tasker app
Use a phone missed call event as a trigger for a profile then a phone > send sms action in the task. The last number called will be stored in %CNUM.
ktmom said:
Use a phone missed call event as a trigger for a profile then a phone > send sms action in the task. The last number called will be stored in %CNUM.
Click to expand...
Click to collapse
What to give with cnum
Nrzz said:
What to give with cnum
Click to expand...
Click to collapse
I honestly don't know what you are asking. Here's a pointer to the tasker user guide on variables.
I have an app that writes all my phone calls to my calendar - incoming, outgoing and missed calls all write to my Google Calendar with the number called and the duration of the call. If it's a number in my contacts, it will add that in addition to the number.
But I haven't found a way to get Google Voice calls to do it. I'm hoping someone out there can tell me how I can make, receive, & miss calls write to my calendar using Tasker. I use Voice for calls from and to my patients and that allows me to give them a dedicated number they can call anytime and I can use, if necessary (say for that 3:00 am non-emergency call about something they just "have to tell" me), to screen them.
Any help would be greatly appreciated!
Morning all.
Running tasker on a rooted Nexus 6.
Working on something between tasker and Google voice.
When connected to Bluetooth, I want to hear the contract nickname not the phone number.
I have a trigger with notification intercept focusing on GV.
Task. reads the contact.
But the notification isn't triggering. Any ideas?
I've been using tasker for a couple years so I'm comfortable with it, I just think I got myself a little lost
Cheers
This works natively on my N6. Is contact sharing "enabled" in the headset settings (under Bluetooth)?
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
ktmom said:
This works natively on my N6. Is contact sharing "enabled" in the headset settings (under Bluetooth)?
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Click to expand...
Click to collapse
Yes it is. That was the first thing I circled when I started trying to build this recipe.
Could you please post the *description* of the profile.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Sure
Profile.
State:
Call, incoming : %C:ANY or %CNAME
Also tried auto notification intercept pointed at Google voice.
Task.
Say:
Call from %CNAME or %C:ANY . I've tried these together and separately with both upper and lower case combinations.
I didn't know if I need to set a variable, or even what variable I should set?
Thanks for any help.
Cheers
The exported description provides much more information than than that.
To export the description of the profile:
Make sure it's named - not a default name assigned by tasker. To name the profile if it isn't already, long press on the name to highlight the profile and, at the top, tap the square with the A.
Long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Now you'll be able to paste it. Be aware, it easier to use pastebin.com and link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters directly after to emoticons making it very hard to read.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
ktmom said:
The exported description provides much more information than than that.
To export the description of the profile:
Make sure it's named - not a default name assigned by tasker. To name the profile if it isn't already, long press on the name to highlight the profile and, at the top, tap the square with the A.
Long press on the name to highlight the profile. Go to the 3-dot menu and select export -> Description to Clipboard.
Now you'll be able to paste it. Be aware, it easier to use pastebin.com and link to a post here. If you paste in a post here, the forum software will convert all semicolons with characters directly after to emoticons making it very hard to read.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
Click to expand...
Click to collapse
That is too cool. Thanks for the tip. Cant get to pastebin.com from here. I exported to a google Doc.
https://docs.google.com/document/d/19b7ktHdYNQwYl54qbNBeHiog0elXDandxsKJliPZ6Q8/edit?usp=sharing
thanks again for the great tip!!!
Cheers.
I have no experience with the notification listener plug-in. I use AutoNotification which is from the same developer as the current Tasker developer. It works reliably for me.
If the profile is not triggering, I would test the plug-in function by creating a simple test using a notification you can control. Then see if the notification listener is triggering on that notification using a beep action. It's possible that the notification listener plug-in requires the title of the notification or such.
"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
ktmom said:
I have no experience with the notification listener plug-in. I use AutoNotification which is from the same developer as the current Tasker developer. It works reliably for me.
If the profile is not triggering, I would test the plug-in function by creating a simple test using a notification you can control. Then see if the notification listener is triggering on that notification using a beep action. It's possible that the notification listener plug-in requires the title of the notification or such.
Click to expand...
Click to collapse
Thanks for the suggestion. You have given me some things to try.
Cheers and happy holidays