- Why Linux Dialer?
- What is Linux Dialer?
- Parsing Phone numbers
- Parsing vCard files
- Adding More Buttons
Why Linux Dialer?
Currently, clicking on tel: link doesn't do anything well except opening the tel: URI as a URL in the browser. User has to call or save the number manually. Linux Dialer makes it easy by showing a pop-up window with many more features.
What is Linux Dialer?
Above pop-up window appears when a user clicks on a tel: link in Firefox/Chrome/Evolution. It contains information related to phone number like Carrier, Timezone and Country in which phone number is registered. Currently, it has four buttons -
1. Call using VoIP : By pressing this button a VoIP call is placed using Ekiga. (User have to configure Ekiga for placing calls )
2. Add to address book : By pressing this button, add to address book window pops up where user can fill contact information and save it to local address book. User can check contact using either GNOME Contacts or Evolution.
3. Translate to email : This button translates a phone number into an email using the local address book. If a contact has multiple emails then it displays all of them and let the user select an email address to send an email.
4. Search on Truecaller : This button generates Truecaller URI and opens in default web browser.
Parsing Phone numbers
It can parse phone number in every possible format. If a phone number doesn't contain country code then it uses default country ( See bottom right corner in main pop-up window image ), displays Invalid Phone Number or Invalid format by validating phone number.
It also supports phone number through command line.
linuxdialer -t +919988776655
Parsing vCard files
It can parse a vCard file through file browser and command line.
linuxdialer -v vcard_file.vcf
It extracts phone number from vCard file, displays them in a pop-up window and provides a button to open with Linux Dialer main pop-up interface.
Adding More Buttons
For adding more buttons, one doesn't have to modify the existing GUI. Button Creation Framework makes it easy, it will dynamically adjust the button's position. One can add more buttons by looking at the documentation of Button Creation Framework.