yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] arda_:
fixed GV-sipdroid+pbxes integration

A few pages back I mentioned having problems with the Sipdroid+pbxes using GV on my GSM Gnex. Turns out it was due to the problems Pbxes was having. Just a few mins ago, I went ahead and did the setup all over again:

Deleted pbxes account from the pbxes website under personal data.

Re-instaslled sipdroid on the phone and setup the account by integrating GV account from the link at the bottom of the screen when you open the sidrpoid app for the first time

I use the 2 step verification and the application specific password without any problem. Basically, generate a new app specific password on your google account. Write that password down somewhere, and use it during the sipdroid setup and the pbxes website.

Go ahead and fill out the personal data on pbxes account with the app specific password

At this point, I can make calls and receive calls on the sipdroid on my gnex.

One thing I did realize on the pbxes website is that under trunks, I no longer see "0" next to the GTALK option. When it was not working for me earlier, there was a "0" there. I dont know if that has anything to do with the settings I messed up or the problem pbxes was having, but all I know is by following these steps I am now able to use pbxes+sipdroid+google voice

---------- Post added at 12:25 PM ---------- Previous post was at 11:27 AM ----------

At this point I must say, getting the Pbxes thing to workout was only for the satisfaction of figuring it out rather than using it. In order to make sure you always get calls to your phone, either by GV forwarding through sipdroid or directly to your mobile #, you need to enable forwarding in GV to both the google chat and your mobile #. This causes your phone to ring twice for each call, one for the sipdroid and another one for the mobiel # (in my case the Tmo $30 plan phone # which I don't even know the number to it off hand) and I have not been able to accept the GV call only. Unless there is a setting in pbxes or sipdroid that I am unaware of, this is a deal breaker

I've been using the Talkatone for the past week and am very impressed with it. The voice quality and latency are both very acceptable over 3g coverage. The killer feature on the Talkatone is that it can toggle the call forwarding to your cell phone # when the Talkatone is not running or lost connection. This way you are guaranteed to receive the call on your mobile # (granted it will use your minutes) even if you have no or unreliable data connection. This feature does require you to shell out for the premium service which is $20/year. In the grand scheme of things, it is not that bad I think.
[Samsung Galaxy Nexus] haley_joel_osteen:
Thanks for the info. Can you address any of the Cons Codesplice had mentioned with regards to Talkatone?

Cons: Lower voice quality, poor/no integration with the Android system, low reliability (doesn't always reconnect automatically), limited configuration options, rude customer support
[Samsung Galaxy Nexus] arda_:
I can only speak from my own experience and what I have to say may not be applicable to all situations as there are many variables ( phone model, ROM, connection, vs)

I tried all 3 of the options (GrooveIp, Talkatone, and Sipdroid+pbxes)

GrooveIP: Setup is indeed very easy and the voice quality was acceptable with no disturbing glitches however for me those are the only pros I have. Voice coming from the other party (the person you called) has at least 500ms delay coming to you. However your voice has almost no delay. I tried this setup with Wifi, very good HSPD+ connection, and over edge. Delay was always there and worsened with lower data speeds.

Talkatone: Voice quality was also acceptable if not better than GrooveIP with Wifi, and 3G alike. Integration with Android is not that bad. It has its own app, and after the first call attempt you can set Talkatone as the default handler for calls. I never had a random disconnect or connectivity problems. Now that does not mean it won't happen, but what I am saying is over a week's worth of time it never disconnected on its own. As I mentioned earlier, the premium feature called "Dynamic Call Forwarding" is definitely worth the $20/year to me. When talkatone is connected calls are forwarded to Google Chat only. When it disconnects, calls get forwarded to both the Google Chat and the mobile #.

Sipdroid+pbxes: As everyone mentions, there are ton of options you can play around with ranging from codecs on the sipdroid to many more complicated settings on pbxes website which I must say I don't know much about. Voice quality is the best out of all of the other options, however with all the codes and settings I tweaked, I never got rid of the delay of the incoming voice. Although not as bad as the GrooveIP, it was still noticeable. Integration with android is decent, just like talkatone, when you go to your native dialer and place a call Sipdroid handles the call automatically. The deal breaker for this option is the lack of a feature similar to "Dynamic Call Forwarding" talkatone has.

I've been reading up on the whole using VoIP only to place/receive calls without using minutes on the $30/month Tmobile unlimited 4g data plan, and found it a bit hard to get recent information on the options and setups. Hopefully my experience will help newcomers. In a nutshell, Talkatone Premium solves all the problems I had and the voice quality/reliability has been very good for me so far.
[Samsung Galaxy Nexus] thedudejdog:
Simple mobile unlimited 4g just dropped to $50/month. Just saying.
[Samsung Galaxy Nexus] whitedragonz83:
I found the best setup so far is to always forward to my cell number and use SipDroid purely for dialing out with SPEEX codec for 4G/3G and PCMA for WiFi. Nothing for Edge as it is always too poor of a quality. Then I just setup GoogleVoice to be used always when dialing out also so when I am on edge, it will be my GV # dialing.

I actually paid for the premium Talkatone app and did not find the forwarding to work well. maybe it has improved in the past month or so, but I'd recommend instead: Groove Forwarder (Play Store): https://play.google.com/store/apps/details?id=com.snrblabs.bishop&feature

This will auto change between GTalk and Cell# depending on WiFi or Cell connection status. You do not need to use GrooveIP for it to work. It does cost $1.99.
[Samsung Galaxy Nexus] trineomorph:
I gave up on GrooveIp and started using Talktatone. Worked flawlessly on my iPad and pretty much the same on android.
[Samsung Galaxy Nexus] BigKahuna68:
Odd. I thought that It was free when I purchased it about 2 months ago. The reason that I did not buy the $2.99 version is that it states that it requires root and I'm not rooted.
[Samsung Galaxy Nexus] martonikaj:
Yup a little while ago.

Net10 (by TracFone, same operator as Straight Talk) also dropped to $50/mo, $45 if you enroll in auto refill.
[Samsung Galaxy Nexus] codesplice:
That was my impression of Talkatone's forwarding as well. Many times I would be connected solely to Wifi and would casually check my settings at voice.google.com and see that Talkatone had failed to readjust my forwarding settings. Who knows how many calls I missed because of that - actually, no, I probably didn't miss any calls. I'm not that popular. But still, it wouldn't do for me to spend 8-10 hours at work and have no idea that I couldn't receive incoming calls during that time. It was actually my frustration with Talkatone's forwarding settings that drove me to create the complicated Tasker profile that I've been using. Managing the radio interfaces locally will always be more reliable than trusting a third-party service to remotely manage your forwarding settings for you.

That said, good find on the Groove Forwarder app - that does seem very promising. I like that it apparently has the option to toggle the forwarding status based on your GrooveIP connection rather than just wifi connection status. I may have to give that a go.

Arda_, thank you for your valuable input. If I have some downtime at work tomorrow I'll try to parse through it and add some to the FAQ.
[Samsung Galaxy Nexus] badpanda:
Question, how can I create a second line account with pbxes.org for a second Google voice number that I want to be able to use to receive and make phone calls using sipdroid with my GNex..
[Samsung Galaxy Nexus] linkmaster_6:
Quick Question

So using the SipDroid+PBXes do incoming calls cost us our minutes and outgoing doesnt or how does that work?
[Samsung Galaxy Nexus] haley_joel_osteen:
Does NOT use minutes.
[Samsung Galaxy Nexus] linkmaster_6:
So it bypasses the carrier completely then? Except for data of course
[Samsung Galaxy Nexus] JCreazy:
It is basically making a phone call over the internet.
[Samsung Galaxy Nexus] wicozani:
I need a little clarification to suggest an approach. Sipdroid (under settings) can handle 2 different PBXes.org accounts. See Siproid Line Account 1 and Sipdroid Line Account 2 in settings. These are predicated on 2 different PBXes.org (or other SIP trunk providers' credentials) user accounts. However, I believe that you can only create one GV number for your unique Google user account. Do you see where I'm going with this? There are multiple opportunities whereby you could have 2 numbers through Sipdroid. However, to have 2 GV numbers on the same phone each through Sipdroid, I believe you'll need 2 different google accounts, each with their own GV number, and you'll need to let Sipdroid create 1 PBXes.org automatically, and then you'll have to manually create a 2nd PBXes.org account with a 2nd unique username. Alternatively, you could create the first through Sipdroid, uninstall Sipdroid, reinstall, and this time create the 2nd. Then you'll need to go back and re-enter the 1st accounts information into Sipdroid. You should end up with 2 different GV numbers, linked to 2 different PBXes.org accounts, both live and managed through Sipdroid.

As long as you're on a data connection, both incoming and outgoing calls on Sipdroid should not cost you any carrier minutes. This assumes that you have both inbound and outbound routes on PBXes.org setup properly, which you should if you've allowed the Sipdroid program to do this for you automatically. It also assumes that you haven't forced GV to automatically handle all calls (best to check "ask each time" in GV settings" (on phone).
[Samsung Galaxy Nexus] badpanda:
Same here..grooveip had an issue where people could not hear me.
[Samsung Galaxy Nexus] bender29:
FYI, the Tmobile prepaid SIM activation kits are free right now.
[Samsung Galaxy Nexus] urinsane:
Nice find! Although I just switched from the $30 plan to Net10, I ordered two. There's a good chance I'll be back someday, and having the kit on hand will be nice.

(Two does seem to be the max you can order at a time)
[Samsung Galaxy Nexus] badpanda:
"New pbxes linked to my Google voice" does not show at the bottom of sip droid anymore..I uninstalled it, reinstalled it but nothing. How can I make it appear again to create a new pbxes.org account or is there a way to do it online on the pbxes.org website? Can someone please help??

Thank you so much.
[Samsung Galaxy Nexus] :
I'm not re upping my tmo $30... I found out really quickly that I use 100 minutes FAST!

I would do the voip thing, but I only have 1 bar of edge where I live :(

Off to ST I guess.
[Samsung Galaxy Nexus] rafa3L:
Hmm deal seems dead now. I see 99 cents today.

Tapatalk'n on the Galaxy Nexus
[Samsung Galaxy Nexus] JosepiOT:
No dsl or above + wifi for home?
[Samsung Galaxy Nexus] badpanda:
Yes, I have a second Google account with a gvoice number I want my two gvoice numbers to at least ring on my cell... when I install the sipdroip app I don't get an option at the bottom to create a sip account and link it to my gvoice account.. i already created a pbxrs.org account with 1 line and it works okay i guess instructions on how to add a second line to my pbxes.org will be very helpful. I hope this cleared my question.

Hope you can help me on this.

Thanks.
[Samsung Galaxy Nexus] wicozani:
The problem is, as far I can tell, that you can't have 2 GV programs on the same phone. Having said that, there is some chatter about multiple user accounts on the same phone using Jelly Bean. I don't know anything more than this. You might want to track down these threads, because if this were true then you could have 2 different GV accounts on the same phone.

I also didn't see the automatic link to PBXes.org button on Sipdroid when I first installed it, and it was because I didn't already have installed an active GV account on my phone. Make sure you have an active GV account on your phone when you first install Sipdroid, and you should see the link. I literally had to uninstall Sipdroid 4 or 5 times before I finally gained clarity on how this all works.

It sounds like you desire 3 phone numbers on a single phone that you can send/receive calls from - your carrier #, and 2 GV #s. Is this correct?
[Samsung Galaxy Nexus] badpanda:
Yes that is correct.. I think it can be possible with pbxes.org to create a second line but trick is how..
[Samsung Galaxy Nexus] codesplice:
Really good info on needing GV activated on the phone before trying to configure SipDroid - that's definitely getting added to the OP. Thanks!

As for r3dp0is0n2012 wanting three numbers, here's the best I can think of:

Carrier number - this is a no-brainer.

First GVoice Number - configured traditionally using the GV app on the phone; optionally paired with a SIP solution like SipDroid+PBXes.org

Second GVoice Number - may take some doing. You'll at least need an additional Google account. Get a free Washington-based number from www.ipkall.com. Set up your secondary GV account to forward to this number, and configure a SIP service + client for this number. Use an application like Voice+ to register callbacks to the ipkall number; use that for outbound calls.

It's a bit messy, but should allow you to use the three numbers you want.
[Samsung Galaxy Nexus] Peter_the_Gr8:
T-Mobile charging for minutes - don't know why

This post is great. I bought the Google Nexus for $350 and followed your steps for the T-Mobile $30/100/5gb plan. I already had GV so I just had to add this new phone number and disable TM's voice mail.

Everything works great BUT on my account page at T-Mobile it says that I've used 40 of my 100 minutes this month (started 8/2.) Firstly, I hardly ever make or receive calls (got my wife hooked on texting - to my GV number.) I didn't go the VoiP route at all but am thinking of using SipDroid as you suggested.

Based on this support thread from T-Mobile, I don't think I'll ever get a look at my call logs so that route is not on my agenda right now:

support.t-mobile.com/thread/29480

Can anyone think of what might be causing these minutes to be used? Not that this is a huge deal right now because the month is halfway gone and I'm not at 50% yet but it is worrisome. If I knew there was some app eating minutes, I could find a way to change my habits.

I use GMail for email, Google Voice for calls (in and out) and texting to my wife's IPhone on her Verizon account. I use WhatsApp for most other texting (but that uses data, not phone), I do a little Google + Messenger stuff and that's about all I can think of.

Any help (or commiseration) would be appreciated.
[Samsung Galaxy Nexus] diablos991:
Texts have now started working. (24 hours after successful port)

Thanks again for the settings, I'm now fully operational on the new setup.

Has anybody tried that app mentioned earlier in this thread that enables Google voice to use the standard messaging app?
[Samsung Galaxy Nexus] codesplice:
When I used it, I was using it with Tasker but the gist should be the same.

Context: wifi connected

Enter Task: Locale GV Settings - carrier number off, Google chat on

Exit Task: Locale GV Settings - carrier number on, Google chat on
[Samsung Galaxy Nexus] bobsbbq:
Thanks I will be looking at this tomorrow. I would also like to see if I could build a profile that would allow me to turn on and use talkatone when I have a 4G data signal. And when it drops to 3G or 2G it turns off Talkatone. The one issue I could see would be if driving and I change from a 4G signal to a 2G I would lose the call. But if I was on a important call in a 4G area I could always pull over until the call is finished.

Any ideas or is this even possible?
[Samsung Galaxy Nexus] codesplice:
Triggering a profile based on the mobile network type is easy (context: state - net - mobile network - 4g), but I don't think Talkatone makes any provision for its state to be managed by a third party. You may be able that context in combination with the Locale GV Settings plugin to toggle forwarding to Google Chat based upon your connectivity, but I'm not sure how reliable it would be.
[Samsung Galaxy Nexus] BrianDigital:
I believe extra minutes just cost ten cents a minute, so say two hours of extra talk time would be twelve dollars
[Samsung Galaxy Nexus] codesplice:
So now it's my turn to ask a question :)

I'd like to modify my profile so that it is only triggered when I am connected to certain Wifi APs. It seems easy enough to specify a single SSID to test for, but I can't figure out how to test for multiple SSIDs. I tried setting them as arguments in the "Wifi Connected..." context separating the different SSIDs with either a comma or semicolon. I suppose I could set up separate profiles for each network I'd like to test for, have those set a variable value (like %VOICEWIFI), and then add an additional context to my wildcarded "Wifi Connected" profile to test for "Variable Set - %VOICEWIFI".

Can anyone think of a better way to do this?
[Samsung Galaxy Nexus] Luxferro:
I had mine setup like that, but I had to use different profiles for different SSID's. If your tasks are labeled that it's easy enough that you don't need to recreate anything for each SSID. Or I guess you can use the profiles to set a variable like you said above. I don't think there is an easy way to test for a list of SSID's.

---------- Post added at 05:43 PM ---------- Previous post was at 05:11 PM ----------

Cause I'm bored I was curious if there might be a way to do what you want. I think I've found a way.. almost done figuring it out. just need to figure out how to compare variables :)
[Samsung Galaxy Nexus] codesplice:
Sweet, looking forward to seeing what you can come up with.

I spent a few minutes tinkering, and here's what I've got:

Profile: Wifi Work

Context: Wifi Connected, WorkSSID

Task: WifiVoice - Variable Set "%WIFIVOICE" to "1"

Exit Task: WifiNoVoice - Variable Clear "%WIFIVOICE"

Profile: Wifi Home

Context: Wifi Connected, HomeSSID

Task: WifiVoice

Exit Task: WifiNoVoice

And then changed my main profile to add an extra context...

Context: Wifi Connected, *

Context: Variable Value: "%WIFIVOICE" Is Set

It seems to work, but it's not very elegant.
[Samsung Galaxy Nexus] Luxferro:
I'm stuck, I can't figure out how to compare a single variable to a list of variables. I'm assuming my list is an array, but not sure. It shows 2 lines (my SSID list is only 2 for my variable) stored in my SSID_L variable... but it might just be one long string??

Anyway, here's what I came up with so far, maybe you can make it work:

Profile: SSID

Context: Wifi Connected *,*,*

Task:

1. Write File: File = ssid_c.txt Text = %WIFII

2. Read Line: File = ssid_c.txt Line = 2 To_Var = %SSID

3. Read File: File = ssid_l.txt To_Var = %SSID_L

#1 writes the wifi information of the access point you're currently connected to. %WIFII is a built in variable containing this info.

#2 reads in line 2 of the file, which is the SSID, and sets it to %SSID.

#3 reads in a list of SSID's that you created (your list you want), and stores them in %SSID_L (list)

Now we need to index through %SSID_L and look for a match of %SSID, when found set another variable to true and then do you normal groove IP stuff based on the condition of this variable.

If you can figure out how to index through %SSID_L and look for a match we can do it :)

Any of the stuff I have tried after step 3 hasn't worked, so I didn't include it :o

edit: I don't think my %SSID_L is an array. I can't pop a variable off it and set it to a new variable.

edit2: I was able to split my %SSID_L variable into multiple variables... but that doesn't really help... can't really compare them individually when the # of them is not fixed... need to built an array out of them instead of splitting them.

edit3: I got it working... but it's not the most prettiest way. The variable split function turns the variable into an array; ex, %SSID_L would becomce %SSID_L1, %SSID_L2... ect. so then you can do a For loop on %SSID(1:100) and look for a match to %SSID.
[Samsung Galaxy Nexus] codesplice:
Interesting approach. I will try to experiment with it some tonight if I get time. It's crazy. Creating an array from the contents of a file would be simple in any programming language. Tasker likes to make you feel stupid!
[Samsung Galaxy Nexus] Luxferro:
I got it working in a good way now :)

Profile: SSID
Context: Wifi Connected *,*,*
Task:
1. Variable Clear: %SSID_M
2. Write File: File = ssid_c.txt Text = %WIFII
3. Read Line: File = ssid_c.txt Line = 2 To_Var = %SSID
4. Read File: File = ssid_l.txt To_Var = %SSID_L
5. Variable Split: Name = %SSID_L
6. Variable Set: Name = %SSID_L_L To %SSID_L(#)
7. For: Variable = %temp Items = %SSID_L(1:%SSID_L_L)
8. If: %temp ~ %SSID
9. Variable Set: %SSID_M To 1
10. End If
11. End For

Then just base your groove_IP profile on %SSID_M

---------- Post added at 08:38 PM ---------- Previous post was at 07:46 PM ----------

I found another way to do it without reading and writing files.

just variable split %WIFII, and the 4th variable in the array will be the SSID. That value gets compared with the "items" of the For loop. So in items list your SSID's.

To make it even simpler you can remove the %SSID variable and just use %WIFII4 :D

edit: BTW, if you split %WIFII when not connected to wireless, it will take in all surrounding WIFI access point data, and you end up with a lot of variables. I have like 100 right now cause I was testing it out while I was getting dinner.
[Samsung Galaxy Nexus] codesplice:
Nice work! That's the direction my mind started working in once I stopped staring at my phone for a bit. Loading it up now. I'll update the OP in the morning (with credit where due, of course).

Thanks for sharing that setup. Very handy.

Edit: seems to work well here! (Once I caught my missing % in the "%temp ~ WIFII4" comparison...). Bravo!
[Samsung Galaxy Nexus] codesplice:
I updated the original post with a modified profile worked out by Luxferro to limit the automatic Airplane Mode toggle to a list of Wifi SSIDs as specified by the user. This can be handy if you often connect to public Wifi that doesn't allow GrooveIP or Talkatone traffic.

Extra-special-thanks-again to Luxferro for helping out with that!
[Samsung Galaxy Nexus] curl2k1:
Thanks for the guide! I was looking into doing something similar, and this just saved me quite a bit of time!

Would you mind showing your settings for Prepaid Widget? I've been messing around with all morning and haven't been able to get it to look as clean as yours.

TIA
[Samsung Galaxy Nexus] codesplice:
Glad it could help!

Which settings are you interested in? The settings surrounding the USSD codes, how they're parsed and whatnot, or the widget display settings?
[Samsung Galaxy Nexus] curl2k1:
I got the USSD codes working alright, its the widget display settings that are giving me hell
[Samsung Galaxy Nexus] codesplice:
Well here's what I've got (if it helps).

I also have "Center" selected for both Horizontal and Vertical alignment. Any help?
[Samsung Galaxy Nexus] curl2k1:
Ya that helps alot. Oh, are you using multiple widgets or a single 1x4?
[Samsung Galaxy Nexus] codesplice:
Multiple 1x1 widgets. Couldn't find a way to get more than one indicator displayed on a single widget.