yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] bon_bon:
Got it. Will do next time the issue pops up. Thanks for offering to help!

---------- Post added at 01:31 PM ---------- Previous post was at 01:24 PM ----------

Nevermind. l I just tried unchecking UDP Transport again and now it works!

EDIT: No, I misremember the issue. It's not about registering. It registers fine. Then when I try calling I'll get 503 / Unsupported transport (PJSIP / EUNSUPTRANSPORT). I have to check the UDP transport box to clear this. Note again that I used the Advanced wizard to set up my PBXes connection and checked "Use TCP (not UDP)" (unchecking that doesn't change anything for me anyway).

Some of the failed ones with 404/not found call monitor log:

2013-01-26	19:56:25	"Cell Phone ID" <XXXXXXXXXX>	MYNUMBER	*	Gtalk	from-internal-cont	Dial	00:00:00

2013-01-26	19:56:25	"Cell Phone ID" <XXXXXXXXXX>	600	*	from-internal-cont	Dial	00:00:00

2013-01-26	19:56:15	"Cell Phone ID" <XXXXXXXXXX>	200	pbxe*s.org	ext-local	Dial	00:00:00

2013-01-26	19:55:52	"Cell Phone ID" <XXXXXXXXXX>	200	pbxe*s.org	ext-local	Dial	00:00:00

2013-01-27	12:31:58	"Cell Phone MA" <XXXXXXXXXX>	200	pbxes.org/XX-wifi-nat-XXX-XXX-XXX-XXX.XXX.XXX	ext-local	Dial	00:10:33

2013-01-27	12:04:01	"Cell Phone MA" <XXXXXXXXXX>	200	pbxes.org/XX-wifi-nat-XXX-XXX-XXX-XXX.XXX.XXX	ext-local	Dial	00:12:42

Note that I can always try the echo test even when calling normal numbers give me 404/not found:

2013-01-27	13:40:27	"Callcentric" <200>	9093900003	XX-wifi-nat-XXX-XXX-*XXX-XXX.XXXXXX.XXX	Gtalk	from-internal-cont	Dial	00:00:06
[Nexus 4 General] Demonic240:
I'm not using Compact SIP. My issue is that I'll register successfully, and then later on it starts having trouble re-registering (time out I believe) and I don't know it until I look at my phone. Still experimenting to see if I can fix it though.
[Nexus 4 General] acegolfer:
This is what a completed outgoing GV call should look like

2013-01-27	14:40:52	"Sipdroid" <200>	9093900003	myIPaddress	Gtalk	from-internal-cont	Dial	00:00:16

Only your first line used Gtalk. The others didn't use gtalk trunk so obviously those calls would fail. Did the first line also resulted in a 404 error?
[Nexus 4 General] acegolfer:
If you registered with pbxes initially but failed to maintain the registration over time, then I suggest you change the data center (aka server). Go to pbxes.org>personal data>Timezone: Datacenter.
[Nexus 4 General] bon_bon:
I can't remember that particular call because that was from last night. But I think you are right. The 404 / not found ones are the ones not from Gtalk. But why is the question. The most recent ones I posted happened just a few minutes ago. Right now though, things are fine again, and calls go through Gtalk again. As I said, the problem comes and goes...

Also, please reread my Edit in my post above:
[Nexus 4 General] acegolfer:
I just updated OP for TCP.

4. Battery improvement

My Nexus 4 easily lasts 16 hours w/ 3+ hour screen time. There are several things you can do to improve battery life. Use TCP only in client to communicate with pbxes.org. If you use csipsimple, you need to change the account settings. First, use the wizard to switch to expert mode. Then you will see "transport" option in the account settings. Select TCP. Another thing you can do to improve battery life is to experiment with larger keep alive intervals.
[Nexus 4 General] bon_bon:
OK. Makes sense, thanks. No unchecking of the UDP Transport box then. This works. So this doesn't signify anything wrong with my setup thus far.
[Nexus 4 General] acegolfer:
Whenever you think pbxes is acting weird, go to pbxes.org>personal data>timezone:: datacenter and switch the server. This forces pbxes to reboot your account.

PBXes uses asterisk 1.8, which doesn't natively support gtalk trunk. http://michigantelephone.wordpress....oice-incoming-calls-broken-with-asterisk-1-8/ The support has been improved greatly but there could be hiccups.

This is partly why I'm testing out asterisk 11 on my computer.
[Nexus 4 General] osi13:
That article is really old. There were issues a few years ago that were directly related to Google playing around with Gtalk, and Asterisk not implementing patches. At least, that's how I interpreted it. At that time (2011), I was using Gtalk for all of my outgoing calls at a family business, and every few months I needed to add a few patches to my system. I haven't had to do anything like that in over a year. Gtalk works better on 1.8 than it does in Asterisk 11, and 11 is still a WIP -- maybe things have changed, but that was the case a few months ago -- I may be wrong, I haven't installed Asterisk 11, because I haven't needed to. I have multiple PIAF and Elastix boxes (all using 1.8) set up for numerous people, and the only thing that's needed to get GV to work is the Google Voice FreePBX module.

Also, I'm going to put in the effort to get TCP transport working on 1.8. I haven't really attempted it because I've been very content with my current set up. I believe you're correct and TCP transport will save battery life while over mobile data. Like you said, there are very few people using these servers with smartphones. Also, the Nexus 4 still amazes me. I was on WiFi all day yesterday, with an extension connected remotely, and witnessed over 6 hours of screen time. I'm on Franco kernel, btw.
[Nexus 4 General] pryan49@hotmail.com:
pbxes csipsimple weirdness
[Nexus 4 General] Demonic240:
Thanks! That seemed to help a lot last night. Didn't appear to have any registration issues yesterday, though when I woke up this morning I did notice that it was stuck on Unauthorized Registration, but stopping/starting the account got it to register.
[Nexus 4 General] Warbuff:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Anybody else get the notice when adding the callcentric number to Google voice that the number was being used by another account? I activated anyways but worried that I might have taken someone's number
[Nexus 4 General] Demonic240:
I think I got something like that when I registered my callcentric account with Google Voice. Haven't had any issues with it yet though.

On a slightly different note: Is there any reason for using TCP instead of UDP with our setup other than battery? This link has an explanation of the two and it seems that UDP should be used over TCP, though I'm not sure if that focuses on land-line VoiP and doesn't consider mobile phones.
[Nexus 4 General] acegolfer:
Good question. Even if you choose TCP for transport, the voice media still uses UDP connection because it requires real-time transport protocol (RTP) . OTOH, TCP is only used for sip signaling.
[Nexus 4 General] shifty1981:
Since N4 doesn't support wifi calling natively without a third party app, will this work with an app in conjunction? I ask because 3G signal is not great in my house and I'd rather use wifi calling when at home. There are some great apps out there so I'm not sure how I can make sure I'm using that when in the house but then your method when out of range and not near reliable known wifi.

budget is super tight so trying to figure out how to make the $30/month plan work since I now average about 450 minutes/month across 24/day.

lastly, any options for roaming? I've pretty much convinced myself I do it so rarely I won't miss it, but for those remote location situations or an emergency I wish I could have an option even for a fee.

With N4 back in stock, I'm almost convinced to buy it and give it a try.
[Nexus 4 General] ogp:
I'm unable to register when I uncheck UDP. Pbxes just says registering... When I check UDP it registers immediately. Any ideas? I don't need to do something to my Pbxes account, do I?
[Nexus 4 General] Demonic240:
This requires you to have a Google Voice number as it uses that to make/receive phone calls. You're effectively making wifi calls over wifi and 3g alike.

---------- Post added at 02:28 PM ---------- Previous post was at 02:28 PM ----------

Make sure you specify TCP in the account configuration as well as under network in settings.
[Nexus 4 General] ogp:
Account configuration of pbxes under CSipSimple? I only have the ability to modify username/password.
[Nexus 4 General] shifty1981:
Thanks. I'm fighting this little voice inside me that says "if you get this and it fails you'll have a huge bill to pay over the 100 minutes limit. are there any use cases where you'd be using the minutes instead of the wifi or 3g on tmobile? I'm this close to buying an N4 or S3.
[Nexus 4 General] Demonic240:
In CSipSimple. If you can't see that then change the wizard to Expert.
[Nexus 4 General] Demonic240:
As you can see, I've only used 28 minutes of actual air time, and that was mainly because I was having issues setting everything up and needed to use my phone. The rest of my talk time (over 2 hours) has been 3G or wifi.

The only reason I could see that you would need to use actual minutes is if you're in an area that has bad/no 3G reception or wifi, though if that was the case then your actual cell signal will probably be atrocious.
[Nexus 4 General] ogp:
I see, you're talking about the wizard when I add the account to CSipSimple. I thought you were talking about changing to expert mode when hitting settings/menu within the app.

Now that I set up the account via expert mode, I'm not sure what to fill in for all the fields? Apparently I filled in enough correctly to register and receive calls, but when I try to make an outbound call I get error 503 / Unsupported transport PJSIP_EUNSUPTRANSPORT.
[Nexus 4 General] Demonic240:
You won't have to fill out any other fields if you've already created the account using Basic when you switch to Expert. In the account settings, change the Transport connection type to TCP. Also, in Settings (Expert mode) go to Network and uncheck UDP. What I also did, was to also go to SIP protocol and change the Transaction T1 timeout value to 1000. This ensures that I keep a constant connection while on 3G (still having issues with wi-fi timing out).
[Nexus 4 General] shifty1981:
Thanks for sharing. I think I'm sold, though I've never done a single thing in your OP except I have a google voice account. I need to port my phone number from Sprint to it so I don't have to worry about what SIM i'm on or carrier phone number I get. RIght now I'm on SERO from Sprint so I'm only paying $50 month. Wanted to go to prepaid but the savings per month wasn't much and once you factor in the cost of the phone it became difficult. But if I can save $20/month, then in 8 to 12 months I'll make up the extra cost of the phone. I'm thinking of getting a Galaxy S3 or Nexus 4. Any advice? Basically want an android with an awesome camera and plenty of internal storage. Right now my HTC EVO 4G runs out of space constantly and I use all the apps I have installed. This is after moving all possible apps to SD.
[Nexus 4 General] Demonic240:
If you're concerned about storage, then you're probably better off with the S3 (although the S4 should be coming out in a few months) since it allows for an expandable storage card. My wife has an S3 and I have the N4, and we both couldn't be happier as I love to mod and she's perfectly happy with stock. Also, the OP is Acegofler's, not mine :)
[Nexus 4 General] shifty1981:
my htc evo has an expansion slot which I use. i'm more concerned about internal storage. even after moving as many apps as possible to the SD card, the remaining apps seem to use up a lot of space on the phone. it only has 500MB of space and between my multiple email accounts and various other tools, they take up a lot of that remaining space. Well that and the vendor bloat on the OS. From what I can tell the S3 has a better camera than the N4, but the N4 is less expensive and only has the stock OS and updates more often.

If I get an S3 unlocked I'll break even after 17 months compared to just getting it through my provider with a contract. Not a huge savings, but I suppose it's longer as long as the phone survives. With the N4 I'll break even after only 7.5 months and save months 8 to 24 and possible beyond.

Question for you since your family has both: which camera takes faster pictures that are focused and crisp? Which takes better low light? we have a daughter who doesn't like to stand still and we like using our phones on the fly to take fun pictures.
[Nexus 4 General] Demonic240:
We also have a daughter that doesn't stand still! (2 years old) My wife is the photographer so she ends up taking pictures more frequently than me, so unfortunately, I can't comment on which one is better for taking them :(
[Nexus 4 General] shifty1981:
Thanks. I hate spending money. decisions decisions :)
[Nexus 4 General] ogp:
I've got it, thanks.

I had the HTC Evo and had the same problems you're having. Even though you can move apps, the OS storage is so small that it gets filled up pretty quickly. I don't have those problems with the Nexus 4, but I only have so much storage. I do like the fact that I can just install things and not worry about moving apps or having to keep apps on the phone for widgets to work, etc.
[Nexus 4 General] shifty1981:
This video has me almost convinced I should go with the S3. I don't know how many out of the 50 are unique to s3 vs nexus or all android phones. I know some are across the board (like installing apps from the website).

https://www.youtube.com/watch?v=A48A4J5qpYA
[Nexus 4 General] mercado79:
first off i wanted to thank the op again for a great guide and overall useful thread. i've been rocking your recommended setup for about a month now and overall, it's been good.

however, it hasn't been perfect by any means. in fact, there have been times that i've been close to jumping ship to something like straight talk, but... my cheap gene is strong and so i've stuck around and tried to work through the various issues; namely the buggy CSipSimple and sometimes unreliable PBXes. CSipSimple will sometimes not connect (just churns away and the only way to reconnect is to kill the app and start it again). This often happens when switching between wifi and mobile data. I've gotten around this for the most part by setting up Tasker/Llama to kill and restart the app whenever I switch to wifi.

Still, that doesn't solve PBXes issues. Sometimes calls simply don't go through. I have the account set up to call my phone directly if I don't/can't answer a VOIP call. However, sometimes, it only rings my phone, other times it only rings via VOIP, and sometimes the caller gets a message saying the call can't be completed as dialed. Thankfully, switching servers usually helps, but it's not always clear what's going on. In fact, the website is giving me fits tonight (ever since I switched servers).

/rant

Anyway, still a great way to save some cash, but anyone jumping on this should know in advance that some weird sh*te happens and be ready for it.

Lastly, since money is the main reason I'm even going through this, I wanted to share this deal that's been going on/off for a while. I just jumped on it today. $30 total cost. Free shipping. Free SIM. Unlimited calling, text, and data which is throttled at 2gb (or maybe 2.5gb). Regular price is $50 and so it requires a $20 coupon code (new ones seem to get posted every few weeks). Yes, I know...this isn't ideal either, but people have successfully placed multiple $30 orders. I for one am willing to give it a shot. Hell, I've been fooling with VOIP for a couple months (with my wife giving me the stink eye the whole time). And...jumping from plan to plan is one of the reasons I'm so happy to have my unlocked Nexus 4.

More deets at the link below:

http://slickdeals.net/permadeal/886...-to-250mb-of-4g-20-50-plan-up-to-2gb-of-4g-30
[Nexus 4 General] Demonic240:
I think pbxes may have been down last night. I couldn't even sign in on my desktop to try switching servers. Before anyone else mentions it, I know people are going to suggest running your own pbx server to avoid relying on an external site. At least you'll know when/why it's down :)
[Nexus 4 General] ogp:
So I believe I've got everything configured correctly. Is there any way to confirm I'm only using the iLBC codec? I tried using VOIP via cell data and call quality didn't seem all that great. I also had issues ending calls via CSipSimple. Perhaps this was due to the PBXes site issue?
[Nexus 4 General] ttabbal:
To verify the codec, hit the little "i in a circle" button on the CSipSimple call screen. It will show you stats about the call, including the codec in use. Ending calls can be finicky sometimes, usually it's quick, but once in a while it kind of hangs there. I just hit home after and let it time out the few times it's happened to me.
[Nexus 4 General] Demonic240:
While in a call, press the (?) button right above the "End Call" button on your screen. It will show you what codec you're currently using. I find the call quality for iLBC and G.729 to be pretty good over cell data. The only issue I find is the delay (1-2 seconds) and switching towers while driving. If you're stationary and have garbled sounds over cell data, make sure you're using iLBC or G.729 and that you're not between towers (try from a different location).
[Nexus 4 General] ogp:
I checked my Transaction T1 timeout and it appears to be set to 1000 by default.
[Nexus 4 General] Demonic240:
Ah, you must have used the pbxes.org wizard. The DEV changed that setting in one of last year's css upgrades.
[Nexus 4 General] acegolfer:
Totally agree. The weakest link in this setup is pbxes. One explanation is pbxes doesn't use qualify. This implies clients is responsible for maintaining the sip connection to the server. To enable qualify in pbxes, you need the premium service.

Furthermore, I have experienced pbxes losing gtalk trunk connection once a week on average. But I have seen this happening to my other asterisk servers (1.8 and 11) as well. If you detect this malfunction, you need know how to restart the service so that asterisk can initiate a new connection with GV. Changing the data center in pbxes can achieve this effect.

If you are wondering why sip and GV don't go well together, it's because GV relies on a different protocol called XMPP. Google "YATE" and you will learn a new method to bridge the two protocols.
[Nexus 4 General] mercado79:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Thanks AG. I'm excited to give Ptel a try. Bought two months worth (and remembered to go through a cashback site for the second order...can't beat $24!). But, I am curious about setting up my very own Asterisk server. How much horsepower would that require. I could easily leave my dual core atom HTPC running. Or would a Raspberry Pi suffice. Been looking for an excuse to buy one! :D

Sent from my Nexus 4
[Nexus 4 General] clintb:
I'm having a problem with inputting the Callcentric number into Google Voice. It's a 777 number and Google Voice complains that it's a non-US number, thus won't accept it.
[Nexus 4 General] acegolfer:
777 is not a phone number. It's your callcentric ID.
[Nexus 4 General] clintb:
Aha! The step I was missing in Callcentric was actually ordering the free phone number, going through the selection process for a NY based one, and finalizing.
[Nexus 4 General] ziddey:
Burn. Not sure what exactly happened but they supposedly couldn't figure it out and assigned me a new DID. Old one was nice and easy to remember. At least the new one seems to be working. I wonder what happened..

Either way, I've been using GSM for a while now and am decently satisfied with it. Using sipdroid, DTMF was just about impossible with speex. It's still extremely hit or miss with GSM, but I can usually get it to work after a few tries. How's DTMF with csipsimple + ilbc/g729?
[Nexus 4 General] pedxing:
acegolfer, maybe you can help me out with this.

I'm trying out your new option, PIAF. I downloaded the VMWare version with Astderisk 11.1.2. I have a VMWare Server running anyway so this was a good fit. Got it up and running and ran through the config steps. Got everything working on my local network, even TCP registration on port 5060. Quality seems awesome. Incoming/outgoing calls work fine. Then I tried to get it working over 3g and ran into some problems. I don't know if I have a firewall problem or an iptables problem or an Asterisk problem. But here's what it seems to do:

1. I opened port 5060 (first tcp only, then tried both) in my hardware firewall (old linksys 54wrt) and forwarded it to my statically addressed piaf server.

2. I opened upd ports 10000-20000 for rtp.

3. Profit? Nope, sip client registration fails.

When I send a packet from outside the network, my firewall log shows it. I can scan the port and it shows open if I forward it to another server on my network. So it seems like the firewall is ok, at least for that port. Checked iptables and manually added in port 5060. Checked netstat and asterisk is indeed listening on port 5060. Since it works fine on the internal lan, it seems like it shouldn't be a piaf issue.

Do you know of any other config I'm missing in asterisk or piaf-linux that would block this? In the Asterisk SIP settings it asks for the local network range, and I provided that...do you know if there's a setting that causes it to drop the packets if not coming from the LAN? When everything is set up in production mode from the firewall to the server, a port scan shows the port is completely closed, no response at all.
[Nexus 4 General] pedxing:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Knew it was something dumb. My Linux network settings got messed up when moving from dhcp to static.

Everything is mostly OK. I get a little lag between answering the call and when audio starts working. Meaning the caller will not hear me say hello until I repeat myself. Anyone else had this issue?
[Nexus 4 General] bushaman:
Hey Folks,

I was just wondering is there is any VOIP solutions that will still allow me to accept calls over gmail. Right now im using GrooveIP and I noticed that incoming calls dont make it to gmail.

Any ideas?

Thanks.
[Nexus 4 General] ziddey:
You can get a number at callcentric or ipkall and use that for inbound voip. In order to not tie up gmail, you'd have to use gvcallback for outgoing calls. This would allow you to continue to use gmail.

As callcentric doesn't support TCP, it may still be a good idea to create a pbxes account.
[Nexus 4 General] johnp012001:
Ok, I'm probably going to feel stupid, I think I followed all the instructions, but when I receive a call and slide to answer, the ringing stops, but csipsimple says "Incoming call" and never actually answers the call. I can make outgoing calls no problem. This is on an old G2X that I'm testing this on before I jump and try on my Nexus 4. Thanks in adavance for any help!
[Nexus 4 General] pryan49@hotmail.com:
Try This It Worked for Me

So, I had the same problem. An incoming call would ring the phone, but on clicking the accepting button, the buttons would go away, but the call wouldn't connect. It'd say "incoming call". This was ONLY on wi-fi (at home) and not on 3G. I hadn't tested on other wi-fi networks.

What resolved it is turning the SIP ALG (application level gateway) off on my wireless router. (It was a d-link router and was under firewall settings). I saw a bunch of questions regarding this all over the interwebz. I guess this should go in the FAQ because other than this, csipsimple was by far the best client for GV, pbxes integration for me.

https://groups.google.com/forum/#!topic/csipsimple-users/nmYqFF3GN2Y
[Nexus 4 General] zerosource:
This is an epic guide! Thanks so much.
[Nexus 4 General] jck_w:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Demonic, where is the SIP protocol to change the transaction T1 timeout value?
[Nexus 4 General] marty331:
So I'm getting "486/Busy Here" whenever I try to make a call. Also, I don't believe I am receiving calls. This just started last night and I have not made any changes to CSipSimple, PBXes account, ComCentric account or my Google Voice account. Does anyone have any advice?

Thanks in advance.:confused: