LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-22-2013, 01:55 AM   #1
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Rep: Reputation: 17
Debian Wheezy: How to get a Google Voice program/daemon up and running?


So, I recently started playing with Google voice, and I like it; it enables me to route business calls to a specific number.

What I'm attempting to accomplish at the moment is have a program/daemon consistently running on my Debian Wheezy desktop (I can't recall the name for the GUI format; I think I'm using cinnamon or something like gnome), and I want to have something similar to the Dropbox icon or something... I'm using a desktop computer.

In general, I constantly want Google voice in the background of the computer, so that if an incoming call comes, the ring will go through the computer speakers; and I'll be aware that there is an incoming call. However, I'm under the impression that the only way to receive and make calls with Debian Wheezy is by using the Google.com Voice and Gmail websites. I played with empathy, and I cannot seem to make a American domestic telephone call with it, as the only thing listed are other gmail users (I'm assuming it would connect to their Internet accounts rather than a telephone number).

What I want is something like Skype but instead using the features of Google voice. Skype runs in the background. It has a desktop/tray icon. It lets you know if someone is trying to contact you. I want something like that but with the features of Google voice, so that I know that incoming calls are coming and so that I can make outgoing calls.

However, I've looked around, and I cannot seem to find anything for Debian Wheezy.

Any ideas, tips, and advice would be appreciated.

Thank you for reading; and thanks in advance for your comments.

- Cyberman

Last edited by Cyberman; 09-22-2013 at 01:57 AM.
 
Old 09-22-2013, 02:59 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Have a look here. It seems there was something like what you want but it's been discontinued. A good web search might turn something else up.
jdk
 
Old 09-22-2013, 03:05 AM   #3
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Original Poster
Rep: Reputation: 17
I think I'm seeing the difficulties involved in devloping such a program. I think back to when Google Drive came out, and it found a way to integrate itself into Gmail. However, this situation is a bit different, because there is a plug-in that Google itself has made. As such, I consider that there may be a level of reverse engineering involved if an individual is going to develop an applet. However, from looking at that Adobe AIR thing you gave me, I consider that a program reaches into the Google web software and attempts to translate it into a single ... kind of interface, thus using of the plug-in, which is used by the Google web software, yet finding a way to minimize the need for a browser by allowing the applet to access the Google web software.
 
Old 09-22-2013, 03:13 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
I also found this from Ubuntu but it's a bit old. Don't know if it's still supported.
jdk
 
Old 09-22-2013, 03:41 AM   #5
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Original Poster
Rep: Reputation: 17
I'm seeing projects that have closed down.

There seem to be a few other people on the Internet wondering about this: How do I receive incoming Google Voice calls using Empathy?

That's from the askUbuntu boards. A suggestion to route things from some SIP service, Simon Telephonics (simonics.com). However, I don't see why it's necessary for there to be a middle-man on-top of the Google Internet telephony service. I'm not sure exactly how or why giving them the Google account information suddenly allows an individual to use Google Talk and Google Voice client side, but under the guise of an SIP service. I'm not sure what the Simon Telephonics company has on its side that allows the Google account information to be used so easily; perhaps they've developd some code that allows ease of transition of using Google Talk and Google Voice. I don't really see the networking behind it.

I'm starting to think these issues are similar to how Gdrive was developed, back when it tapped into Gmail in order to make a cloud drive. Perhaps Google stepped in and shut down projects. Maybe it changed protocols, thus making things more difficult for programmers. I'm not too sure. However, I don't believe the simonics middle-man is so necessary. I'm not enough of a programmer in order to develop something myself.

UPDATE:

I decided to try out the simonics thing, and I also o_O ... noticed that the nih was into my google account and all kinds of stuff as I developed one of those two-step application passwords. Seems to be a nice addition where there is that two-step password feature for Google specific things, thus not using the original account password; thus, I don't seem to be so bothered by the organization having the non-useful password.

Tied to empathy, it seems to make kind-of what I wanted. However, what I'm using is dependent on Simon Telephonics, which is not what I was initially hoping for: I was hoping for a program that tapped into Google materials to allow me to make, take, and record calls. Empathy allows me to view call history with the use of F3 at the main screen, which is somewhat useful. However, I don't see a program that is dependent from an SIP provider, which I find unfortunate.

Last edited by Cyberman; 09-22-2013 at 05:12 AM.
 
Old 09-23-2013, 05:03 PM   #6
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 218

Original Poster
Rep: Reputation: 17
I found/made a hack-around.

Operating system: Debian Wheezy
Date: September 23rd, 2013
Program of interest: Alltray
Desktop manager: XFCE4
Internet browser: Iceape/seamonkey (others could potentially be used; I do not know which ones)

So, what I did was that I opened my gmail account in Iceape navigator. I don't understand all of what it takes for a phone call to be incoming. There appears to be some mandatory requirement that at least one outgoing phone call be made. I'm not sure, and I don't fully understand it. I made an outgoing phone call. Afterward, I took a telephone and made an incoming telephone call to my Google phone number. From there, I hung up on the analog phone. Afterward, I accessed alltray from XFCE4 "Applications Menu." I selected AllTray from "Accessories," which led me to a dialog box asking what I wanted to tray. I selected the Iceape window. Afterward, the Iceape window was minimized to a tray icon in the upper-right part of the screen next to the time and the Internet connection bars.

From this point, I made a telephone call from an analog phone again to my google phone number. No Iceape window was open at this time: The Iceape window had become minimized. I made the telephone call, and fondly enough, I started to hear the Google telephone ring from the Gmail website. I right-click on the Iceweasel/Seamonkey icon, clicked "undock," and observed the telephone history.

Looks like a nice hack-around. The downside is that XFCE is being used, which might be nice for some older computers or people who don't mind the XFCE desktop too much. I think there may be a way getting AllTray to work in Unity or Gnome; but that may involve more hacking/hack-arounds.

Update:

I also tried Cinnamon (09-23-2013), and AllTray seems to have minimized Iceape Navigator (it gives a Seamonkey icon, however). I think that other desktop managers may work, and an individual would have to experiment to really find out. I experimented with Cinnamon; it was working at first, but then it didn't work. For XFCE, I allowed but one Iceape navigator window to access the Google Phone: This was to be a devoted Internet window. I made a panel bar launcher for AllTray, so that when I want to minimize the Google phone window again, I click the launcher and on the Iceape window in order to re-minimize the window back to the panel bar: I did this, because the top of the window, the window bar (or whatever it is called), was being placed under the top panel bar. Because of that, I decided simply having an AllTray launcher would be enough to suffice for why I was utilizing the window anyway: For the sole purpose of the Google Talk phone, so that a window would be "open" in order to receive incoming calls, hear rings, and make calls.

A similar AllTray methodology could be used for Google Voice, but it's the Gmail website that gives the sound of ringing combined with the Google talk plugin (.deb package) for Debian.

Comment about Simon Telephonics:

I called time and temperature (a local phone number for time and temperature) on my Google phone via the Simon Telephonics SIP technology, and the transmission was really choppy. I did not care for it at all. I came to believe that if I was making a telephone call through the SIP middle-man (simonics.com), then a lot of the phone call would be difficult to have: "Excuse me, could you repeat that? You're breaking up."

That kind of thing. This AllTray hack-around works much better, I think.

ANOTHER UPDATE:

I was playing with the alltray from using gnome-terminal in XFCE.
It would appear that the only browser I can get to work with the command-line terminal and alltray at the same time is iceweasel.

$ alltray iceweasel http://mail.google.com & exit

Using http://www.mail.google.com does not work. I'm not sure why.

That would be a useful script to turn it kind of into a daemon. The user would have to be logged on, however.
It may be useful as an XFCE startup program.

ANOTHER UPDATE: 9:32 P.M. CST (09-23-2013)

I recently played with XFCE startup and session startup. I'm not too familiar with the coding of how to get things moving with that, but I made a googlephone.sh in the home directory.

googlephone.sh
Quote:
#!/bin/sh
sleep 5;
alltray iceweasel -no-remote http://mail.google.com & exit
exit 0
I added that to the session startup options for XFCE with...
bash /home/enteryourusername/googlephone.sh

The sleep command is in there for the wireless connection to start before the browser is opened. I'm sure with enough time and coding, it can be much more sophisticated and elegant. However, I'm looking for quick and efficient.

As a nice benefit of making it a start feature, however, it's now part of the XFCE panel as a tray icon, which is clickable. When clicked, it shows. When clicked again, it hides. That's freaking awesome, as I had previously developd a panel launcher of alltray in order to hide it after showing it again from the tray. Good stuff.

If anyone is having trouble with XFCE, sessions, and garbage at startup, consider removing crap from the /home/asdfasdf/.cache/sessions folder.

Also, it's a good idea to manually exit the iceweasel tray icon when done, because otherwise it's going to open up multiple taps, for what I experienced, when logging out of XFCE, because firefox/iceweasel won't be properly shut down if you just log out: at least that why I think I've had multiple tabs opening while the iceweasel was alltray'd at start-up of an XFCE session.

UPDATE: 09-24-2013 @ 1:20 AM CST

I recently noticed that the WebRTC VoiceEngine, which appears to be viewable (in the current Gnome/Unity/whatchamacallit desktop manager) under the soundsetting from the sound icon. I'm not sure what other sound option people have, but I've noticed there appear to be some audio issues with using the Google Talk Plug-in. However, playing with audio configuration seems to help the issue. I'm not exactly sure what the issue is, however, and I firmly believe it's some kind of bug or un-noticed aspect of the gtalk plugin for Debian system. I'm using 64-bit as of writing this.

For me, at least, toying with the application sounds in unity seem to do something about it.

What I did was the following:

1. Create a new user account
1a. Login to new user while using Unity/Gnome desktop manager
2. Go to youtube and play Enya - Only Time
3. Listen to see if the quality was somewhat decent as expected (it was)
4. Go to gmail and call my Google Phone
5. Check for quality of the incoming call

What I noticed at step five was that the incoming phone call ring was extremely scratchy. This is where I chime in that you get what you pay for when it comes to Linux, and it's all free. I looked at what was going on in the sound settings during all of this, and I noticed that it was the WebRTC VoiceEngine that was being scratchy. It was tampering with the sound quality of the Enya - Only Time song, too. The scratching, however, appeared to be independent of the enya song, thus dependent on the WebRTC plug-in/file/app/whatever. In other words, the Linux gtalk plug-in is not good enough. At least, I believe that the gtalk plug-in is what the real issue is.

However, I toyed with the sound settings while in the Gnome/Unity desktop manager, and eventually the scratchy sound let up. I'm not too sure how to go about doing that in XFCE; but I can recall quickly playing with alsamixer while an incoming call was occurring (while the phone was still rining), until I could get the scratch to go away. Generally, it was me playing with the master volume, brining it to about 50%, which made the scratch go away, and then I turned the volume back up.

I don't know what that would work; and I'm sure there is more underlying code and problems involved. However, it can be toyed with to get working.

Last edited by Cyberman; 09-24-2013 at 01:42 AM.
 
  


Reply

Tags
daemon, google phone, google talk, google voice, tray



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] hpw to install Google Earth on Debian Wheezy Knightron Debian 27 06-10-2014 09:43 AM
Synaptic running problem in Debian 7/Wheezy kcredden Debian 16 08-28-2013 08:44 AM
LXer: Running ActiveCollab 3 On Nginx (LEMP) On Debian Wheezy/Ubuntu 12.10 LXer Syndicated Linux News 0 04-14-2013 11:42 AM
LXer: Running PrestaShop 1.5.x On Nginx (LEMP) On Debian Wheezy/Ubuntu 12.10 LXer Syndicated Linux News 0 04-07-2013 10:03 AM
Running a program as a background daemon? Vor Kragresh Slackware 8 04-20-2007 10:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration