maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] DTMF generator address book plugin (https://talk.maemo.org/showthread.php?t=74289)

birefringence 2011-06-23 21:54

[Announce] DTMF generator address book plugin
 
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:
http://www.tzell.mynetcologne.de/download/dtmf.png

http://www.tzell.mynetcologne.de/download/dtmf2.png

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

Creamy Goodness 2011-06-24 01:18

Re: [Announce] DTMF generator address book plugin
 
Sounds cool

jacktanner 2011-06-24 02:48

Re: [Announce] DTMF generator address book plugin
 
Quick, somebody tell Captain Crunch.

Bernard 2011-06-24 20:36

Re: [Announce] DTMF generator address book plugin
 
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 :)

rishabsp 2011-06-27 10:20

Re: [Announce] DTMF generator address book plugin
 
its to kill not to kiss :p

brokensmile 2011-06-27 10:38

Re: [Announce] DTMF generator address book plugin
 
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

Bernard 2011-06-27 11:07

Re: [Announce] DTMF generator address book plugin
 
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

birefringence 2011-06-30 16:23

Re: [Announce] DTMF generator address book plugin
 
Whoops ... I've edited the instructions to recommend rebooting the phone!

codeMonkey 2011-07-01 12:12

Re: [Announce] DTMF generator address book plugin
 
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?

birefringence 2011-07-02 09:16

Re: [Announce] DTMF generator address book plugin
 
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.


All times are GMT. The time now is 14:51.

vBulletin® Version 3.8.8