Notices


Reply
Thread Tools
Posts: 19 | Thanked: 47 times | Joined on Nov 2010
#1
If you ever wanted to dial a number from your address book over a landline without having to type in the number, here is the solution: I have created

a) a command line program that outputs DTMF tones over the speaker

b) an address book plugin that executes the above mentioned program from the options menu of a selected contact.

The program is available from extras-testing. If you choose the package "abook-dtmf" containing the plugin, the other package "dtmf" containing the command line program should be selected automatically.

The "osso-addressbook" process needs to be restarted for the plugin to be loaded. The safest method to achieve this is to reboot the phone.

For numbers containing a "+" it is possible to adjust the international call prefix to your local choice from an options screen. Also, you can configure a prefix that is added to all numbers.

Screenshots:




Edit 1: Added screenshot, uploaded to extras-devel, package optified
Edit 2: Rephrased the restarting part of the instructions
Edit 3: 2nd screenshot
Edit 4: Version 0.2

Last edited by birefringence; 2011-09-13 at 05:18.
 

The Following 15 Users Say Thank You to birefringence For This Useful Post:
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#2
Sounds cool
 

The Following User Says Thank You to Creamy Goodness For This Useful Post:
Posts: 228 | Thanked: 145 times | Joined on Dec 2009
#3
Quick, somebody tell Captain Crunch.
 

The Following 3 Users Say Thank You to jacktanner For This Useful Post:
Posts: 468 | Thanked: 610 times | Joined on Jun 2006
#4
Thanks, works perfectly, very Cool!

I remember being able to do this using a Psion.
There was even a Casio watch that could do this, know my N900 can too
 

The Following 2 Users Say Thank You to Bernard For This Useful Post:
Posts: 132 | Thanked: 27 times | Joined on Jan 2011
#5
its to kill not to kiss
 

The Following User Says Thank You to rishabsp For This Useful Post:
Posts: 89 | Thanked: 4 times | Joined on Jun 2010
#6
i deleted osso-addressbook.desktop with the help of filebox and then wen i returnd i saw my contact app is not opening only how to get back dat file plz help
 

The Following User Says Thank You to brokensmile For This Useful Post:
Posts: 468 | Thanked: 610 times | Joined on Jun 2006
#7
You should not have deleted the launcher (the .desktop file)
Also killing processes is a bit of a hack to restart services that automatically restart when killed/crashed. I would advice you to just restart the N900 instead of killing processes.

osso-addressbook.desktop is just a plain text file with:
Code:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Name=addr_ap_address_book
Comment=addr_ap_address_book_thumb
Exec=/usr/bin/osso-addressbook
StartupWMClass=osso-addressbook
Icon=general_contacts
MimeType=text/x-vcard
X-Maemo-Prestarted=always
X-Maemo-Prestarted-Priority=10000
X-Osso-Service=osso_addressbook
X-Osso-URI-Actions=mailto;xmpp;sipto;sip;
X-Text-Domain=osso-addressbook

[X-Osso-URI-Action Handler mailto]
Method=add_account
Name=addr_me_cs_addtocontacts
TranslationDomain=osso-addressbook

[X-Osso-URI-Action Handler xmpp]
Method=add_account
Name=addr_me_cs_addtocontacts
TranslationDomain=osso-addressbook

[X-Osso-URI-Action Handler sipto]
Method=add_account
Name=addr_me_cs_addtocontacts
TranslationDomain=osso-addressbook

[X-Osso-URI-Action Handler sip]
Method=add_account
Name=addr_me_cs_addtocontacts
TranslationDomain=osso-addressbook

[X-Osso-URI-Action Handler tel]
Method=add_account
Name=addr_me_cs_addtocontacts
TranslationDomain=osso-addressbook

[X-Osso-URI-Action Handler sms]
Method=add_account
Name=addr_me_cs_addtocontacts
TranslationDomain=osso-addressbook

[X-Osso-URI-Action Handler callto]
Method=add_account
Name=addr_me_cs_addtocontacts
TranslationDomain=osso-addressbook
and should be placed in:
/usr/share/applications/hildon/

and should be owned by root:
chown root:root /usr/share/applications/hildon/osso-addressbook.desktop
 

The Following 2 Users Say Thank You to Bernard For This Useful Post:
Posts: 19 | Thanked: 47 times | Joined on Nov 2010
#8
Whoops ... I've edited the instructions to recommend rebooting the phone!
 

The Following User Says Thank You to birefringence For This Useful Post:
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#9
How about the option to dial out too?
I'm currently at work, and we need to hit 9 before we dial the number.

You've also said it's possible to update the number dialled with a + from an options screen - where do we find this?
 

The Following User Says Thank You to codeMonkey For This Useful Post:
Posts: 19 | Thanked: 47 times | Joined on Nov 2010
#10
concerning the "+":
Once you press the "Play DTMF" button, you will find an "Options" button on the right hand side of the numbers.

concerning the general prefix: I will add another option for this in the next version.
 

The Following 2 Users Say Thank You to birefringence For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 19:12.