yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] ttabbal:
Try changing your server in the PBXes configuration. It seems that the gtalk integration code gets confused and changing that setting resets it. You can save then change it right back if you like. If that doesn't work, you might need to enable the SIP trace log on PBXes and try reading it over to see if there is an error.
[Nexus 4 General] marty331:
That did it! Thank you very much!
[Nexus 4 General] jeraldbro:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Just wondering. Is anyone else having a problem MAKING CALLS with Media5-fone. I can receive calls but can not make them.

I can make/receive calls fine with Sipdroid and Vox mobile, but since I paid for Media5-fone, I would like to use it. Am guessing it has something to do with Media5.

I get NO sound when placing a call, than it says Request timeout 408.

Edit: it works now..I reinstalled the app with Sipdroid still installed......
[Nexus 4 General] thetrailofdead:
Does OPs method use callcentric only for incomming?

Edit: nm, figured out you cant use iLBC for incomming w/o callcentric.
[Nexus 4 General] johnp012001:
Awsome! I love the information that can be shared here! I too have a dlink router, going to go home and try that now!
[Nexus 4 General] jeraldbro:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Finally got these instructions to work. I love this setup. ..Thank you OP!!!!!!!
[Nexus 4 General] ziddey:
MacroDroid https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid

Very intuitive interface. Works fast and smooth.

Free version has limits on actions/constraints.

Here's two basic macros:

1. Airplane Mode On

Trigger - Wifi Connect (home AP)

Action - Airplane Mode On (Keep Wifi On) <-- nice touch!

Constraints - Not in Call

2. Airplane Mode Off

Trigger - Wifi Disconnect (home AP)

Action - Airplane Mode Off

Constraints - None

I prefer determining location by using cell towers, which MacroDroid doesn't support. So I've re-installed Y5 Battery Saver to handle toggling wifi on/off. I'm sure there are better programs, but Y5 is lightweight and a known good for me. Leave the cell radio on for a while and walk around your home so Y5 can learn all the cell radios.
[Nexus 4 General] ozmin_92:
thanks a looot
[Nexus 4 General] jeraldbro:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Was just wondering. Does anybody else have to reset the Datacenter a lot of times. I am finding myself having to reset or refresh the time zone-data center a number amount of time?
[Nexus 4 General] ziddey:
never had to do that. what datacenter are you on? I've been on www4 (NY) since the beginning.

Also, I noticed oddities with y5 seeming to lose track of associated cells. Guess it's not a viable solution for the N4 at least with CM10.1. MacroDroid's been working flawlessly though!
[Nexus 4 General] jeraldbro:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

I am on the same data center. I will wait a little longer and see....

Which app are you using. It may be my setting. ..
[Nexus 4 General] ziddey:
I've always wanted to use csipsimple but for some reason, sipdroid's been unparalleled for reliability in my experience.
[Nexus 4 General] jeraldbro:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

I agree with you about Sipdroid, LOVE IT,but how has PCMA & PCMU been over 3g?

Im using Media5-fine for that ilbc codec while driving.
[Nexus 4 General] Warbuff:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Anybody experience constant problems ending a call while on 3g. On wifi it ends instantly. On 3g it just hangs there.
[Nexus 4 General] SWOLEGASM:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Has anyone gotten good settings for call quality on the other end? Seems like no matter what I try, tmobile's regular calling trumps ilbc or even g722 for voice quality on the other end.

Was using csip. I feel like its not really able to use the n4's default noise cancelling properly since the other end saw no difference in noise reduction when I turned it on or off through csip
[Nexus 4 General] jeraldbro:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Anybody get a missed call before the phone rings. The phone still rings but I get a missed call notification first?

Does that mean its ringing to fast. Sometimes the gv operator says I pickup to quick and I need to press 1 to make sure I am not a voice mail system. Anyway to fix this. Thank you
[Nexus 4 General] acegolfer:
I have experienced the same issue with my asterisk 1.8 server. I have posted in several threads and found switching the TCP port to 5060 solved it. I think it will work for pbxes too.

This is a known issue with N4. http://code.google.com/p/android/issues/detail?id=41626

Unfortunately, there's no solution to use N4's noise cancellation over SIP. However, one can mitigate the problem by adjusting the csip media settings. Try osi113's csip setting, which was posted earlier.
[Nexus 4 General] SWOLEGASM:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Unfortunately that means both I and the person on the other end will not hear each other. Perhaps an in line microphone through a headset would work better but it would be silly to have to pull that out and plug it in all the time to answer calls. Will have to wait and see if nexus 4 will get it's issue resolved in the future.
[Nexus 4 General] acegolfer:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Not really. Both can hear the other party well. The problem is the other party will hear all the noise around your phone because n4 mic is so sensitive.

After tweaking mic volume and settings, I can have a normal conversation with my wife who also uses VoIP on her n4 most of the time. But if I'm in an extremely noisy place, I just use minutes.
[Nexus 4 General] jeraldbro:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Pbxes & Sipdroid keep randomly timing out, Registration failed until I tap the app again. Doesn't stay Registered. Anybody know what that may be. Do I have an option checked that shouldn't be?
[Nexus 4 General] Demonic240:
Are you using TCP or UDP? Wif-Fi or 3G? I had this issue a lot when I was using TCP and more noticeably while on Wi-Fi. I've switched back to only using UDP and my connection is a heck of a lot more stable, while only seeing the occasional drop (if it's in my pocket or a place with 0 reception)

Side Note:

I've been using this set up for just over a month now and I love it. While at work and at home I'll switch to airplane mode and connect to wi-fi, and while outside I switch back to 3G. I use my blutooth for making work calls while on the road (generally traveling at 40+ mph, but have even attempted the one of 70+ mph), and with the exception of times that I'm between towers (I've already learned where these spots are now by sight) the quality is awesome. I use PCMU while connected to wi-fi and iLBC/G.729 while over 3G. There's a slight delay (1-2 seconds) when talking over 3G, but I don't miss any of the conversation.

Great guide Acer!
[Nexus 4 General] jeraldbro:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Okay, will try UDP for a while. I thought TCP was suppose to be more reliable, thats why I was trying to stick with TCP, so I won't miss any calls. Will give it a try.

How are you using ilbc/g729 on pbxes/sipdroid. Would love to use those with Sipdroid. I am actually using ilbc with Media5-fone since Sipdroid was timing out randomly.
[Nexus 4 General] Demonic240:
I'm using cssipsimple.
[Nexus 4 General] jeraldbro:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

But even with csipsimple I can't use g729. U must have purchased a license for it
[Nexus 4 General] Demonic240:
Sorry, you're right. I'm only using iLBC over 3G.
[Nexus 4 General] MrCapcom:
Ok so I think I have everyting right I can call out but my wife says I sound like I'm under water lol How can I fix this?
[Nexus 4 General] manifest3r:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Get a new wife :)
[Nexus 4 General] MrCapcom:
lmbo never that :D
[Nexus 4 General] ttabbal:
There are pros/cons to TCP. On cellular data, UDP timeouts are usually REALLY low, so you use a lot of battery trying to keep the NAT open. TCP timeouts are usually much longer. This wouldn't be an issue if they would get IPv6, but that's probably still a ways out.

Some routers/firewalls also try to "help" you with SIP, and screw up your packets. I had to run my own server so I could enable TLS and encrypt my SIP packets to keep this from happening.
[Nexus 4 General] jeraldbro:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Using this setup is there any way to get Google Voice or Callcentric or pbxes to ring longer. My Csipsimple is only ringing 2 times. That's not enough time for me to pick up?

P.S. I did try extending the ring time in Pbxes general settings to 45sec & extended the ring time in Callcentric voicemail to 45sec, but they both didn't do anything.
[Nexus 4 General] ttabbal:
Google Voice rings for 25 seconds before the voicemail picks up. The only was I know to extend that is to have the PBX pick up the call so it's in control now. That will break GV voicemail though. It would be nice if they would let us pick a timeout.
[Nexus 4 General] hp420:
http://code.google.com/p/csipsimple/

This is the app I'm currently using with simonics. It supports codec g729, and sounds AMAZING!! I haven't found a better option with the clarity this has combination has gotten me yet...and I'm not sure I possibly can.

I tried iLBC and I didn't think it was quite as good. I got no echo, but a LOT of static.

btw, this does integrate the dialer, contacts and call log....also conference calling and call waiting!!! ;)
[Nexus 4 General] cobyman7035:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Can I use this with grooveIP app?

Google Voice via my r72 NeXus⁴ using XDA Premium
[Nexus 4 General] hp420:
You dont need groove ip with this. It uses an sip server to process your calls. This sip app handles the part on your end...you put the server details in that are given to you into the sip app.
[Nexus 4 General] acegolfer:
Many people have reported that the play store version csip doesn't handle iLBC codec well. Read the OP to get the correct version.
[Nexus 4 General] hp420:
I didn't download from the play store, but rather the google project page. Is this the same as the play store version?

*edit*

nvm...I see the version I had was v19xx and the ftp link you posted has v21xx. Thanks!!
[Nexus 4 General] cobyman7035:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Is it free to use sip or its all pay

Google Voice via my r72 NeXus⁴ using XDA Premium
[Nexus 4 General] Demonic240:
Isn't this pretty much what this entire thread is about?
[Nexus 4 General] post-mortem:
SIP is like Skype; it means you call a real phone number, without using the cellular phone call ability. To do this, you still need a data connection, either wifi, or mobile data (i.e., 3G).

The SIP is free (though there are some SIP apps which are paid), but the data connection may not be.
[Nexus 4 General] cobyman7035:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Thx I don't use nex4 much for calls lol

I do have 6gb lte rogers plan

Any1 tried that bria sip app?

Google Voice via my r72 NeXus⁴ using XDA Premium
[Nexus 4 General] korgmotif:
simonics supports g729 now?
[Nexus 4 General] hp420:
I wasn't aware that it was ever unsupported.

I tried the iLBC codec on the newest nightly, and it still sounded absolutely horrible to me (the static was unbearable). g729 sounds FAR better than any other supported codec, imho ;)

I used iLBC to call tmobile and order my sim card. The quality was so bad that they got my address wrong and I never got the sim card. After switching back to g729 a few days later (and after realizing my sim card didn't seem to be coming) I called back and they were able to understand me perfectly!

I also spent about an hour on the phone with directv customer support. I explained what I was using to the guy while I was waiting for a process to complete, and asked his opinion on the sound quality. He said the only complaint he had was a faint echo of his voice....but he didn't hear an echo from me and I heard no echo at all. probably just need to adjust my mic/speaker levels I guess. I'd say that qualifies g729 the winner, in my case. Everyone's phone (and network, depending on location and carrier) may handle the codecs differently. IMO, the best thing to do is try them all and see what works best for you.
[Nexus 4 General] acegolfer:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

The last time I registered with simonics, it didn't support g729. That was less than 2 months ago. Bill Simon (simonics owner) said he would only support ulaw.
[Nexus 4 General] hp420:
I've been using it just fine.
[Nexus 4 General] amaces:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

I was pretty sure that his gateway doesn't do any transcoding, so G.729 or iLBC shouldn't be available. At least, CSipSimple only sees G.711 with simonics.com. I really hope you're right though, since that would improve things a lot.
[Nexus 4 General] ptrm2:
is the DID number the callcentric number? it wont let me add it to google
[Nexus 4 General] acegolfer:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

No. Read the op again.
[Nexus 4 General] ptrm2:
turns out I didnt request the free number. Now i have it, but gvoice cant verify it, how can I verify it if it isnt my phone number/
[Nexus 4 General] acegolfer:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

I just tried it. Simonics doesn't support g729. You must be using a middle man such as asterisk.
[Nexus 4 General] acegolfer:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

If you have followed all the steps, then when gv calls the callcentric number, your phone should ring so that you can input the 2 digit code.
[Nexus 4 General] hp420:
lmao...I wish I could figure that out, but it's a bit beyond my level at this point.

I just went into cSipSimple (v2142) and unchecked every single codec EXCEPT g729, and it worked just fine to call my google voice VM number.
[Nexus 4 General] hp420:
I just got my number ported to gv and i have calls coming through on both sip and my native phone app. Anyone have any suggestions?
[Nexus 4 General] korgmotif:
How do you have forwarding set up in Google Voice?
[Nexus 4 General] revamper:
Re: [GUIDE] Free VOIP calls w/ iLBC codec (better than G729?)

Go on Google voice through a computer. Go to the settings and uncheck your mobile phone number. Leave your SIP DID number checked.
[Nexus 4 General] Fry-kun:
Is there a way to get direct dial to Tmo PSTN # to work properly with this setup? Or maybe some other setup?

Here are the problems I ran into while trying to set that up (after setting up everything from the OP):

* If I set up delayed call forwarding to ring the Tmo# as a backup -- CID is always displayed as my GV number.. and since there's no way to override that, it's kind of disappointing...

* GV voicemail doesn't work right if someone dials my Tmo# with this setup - instead of going straight to VM, it loops and starts ringing through pbxes as if GV# was dialed. Seems to be a known issue and option "Go straight to voicemail" in GV Forwarding Options doesn't help :(
[Nexus 4 General] mtwow789:
FYI,

I had bad experience with pbxes.org and csipsimple before changing the server.

For example, recipient might not hear me and sometimes calls would dial forever but never actually rings the receiving phone.

To solve this usse, try changing the server.

For me, my first server was LA server, but that resulted errors when trying to place outbound calls.

When I changed to different server, now I have satisfactory experience.

The call quality is excellent when I am stationary and covered by stable HSPA.

Also, I noticed that sometimes receiving the call doesn't work. To resolve this issue, go to pbxes and open the extension setting.

Save and click the red bar that says submit. This will reset the system and inbound calls will work again.

In addition, I am using UDP connection right now. I can't get TCP to work at all.

To offset the battery issue, I have google call my cell number and turn off Csipsimple off when I am not using the phone.

So if the call is not important, I can ignore the call first and dial back using the program.

It is somewhat annoying, but I found this method to be most reliable and quality is not suffered.
[Nexus 4 General] Demonic240:
call-forwarding to google voicemail is disabled if you are using the $30 pre-paid plan. I haven't given anyone out my actual t-mobile phone number, and if for some reason I don't receive a call, I'll get double prompted from the voicemail notification (email and google voice).
[Nexus 4 General] Fry-kun:
Actually I'm on a shared minutes family plan, with free nights/weekends/Tmo-to-Tmo/etc. but lately started running out of minutes. Just looking to reduce my usage, not eliminate it completely. A lot of people already have my real #, too. I figured most of the time I'm at home or office -- both have wifi, so why not use that :)

So far seems like the best way for me will be to forward GV to google chat and enable it on the phone -- use that for outgoing calls when near wifi.
[Nexus 4 General] jck_w:
How and where did you "change the server" ? Was this on pbxes or on concentric?
[Nexus 4 General] acegolfer:
If you only need VOIP over wifi, then GrooveIP will be the simplest solution. The OP setup is primarily for 3g.

pbxes. It's explained in the OP.
[Nexus 4 General] jeraldbro:
And a great solution over 3g it is. Thk u OP.

I haven't read everybody responses, but is there anything adjust in csipsimple regarding Latency. I see something about lowering the audio frames, but that's about it. I don't get too much latency cause am on LTE, but nevertheless I do get sum. Was just wondering if there were any other tweaks in csipsimple?
[Nexus 4 General] Demonic240:
I believe the latency is built into iLBC since it's sending packets twice? I'd think you could remove that if you switched to another codec, say PCMU for example. I don't have any latency on that when on wi-fi.
[Nexus 4 General] acegolfer:
I'm afraid there's nothing much you can do with this setup. Latency in OP is the main reason why I switched to PIAF on EC2 with SILK codec.
[Nexus 4 General] jchi18:
Hi, I was wondering if I could get some help troubleshooting my phone.

I have a Google Nexus 4. I have this setup "working" to a certain extent. When I am on wifi, I can make calls out with no problems. Calls come to my phone but often when I pick up the person calling me cannot hear my voice (even when on wifi). After a few seconds of knowing that they cannot hear me, I hang up. In addition, sometimes when I try to make a call (while not on wifi) thru csip the phone just stops trying and goes back to the dialer. I think I have adequate signal during these times. And finally, when I cannot make a call thru csip, I get desperate and try to make a call thru my mobile number. But that doesn't work either. It keeps asking me whether I want to make a call with google voice.

I am pretty frustrated and am considering changing plans so as to avoid using voip. I would like to avoid this but I think I will need your help.

1. What steps can I take to figure out the issue?

2. Why is it that I cannot make calls thru my mobile phone anymore?

Thanks for any assistance.
[Nexus 4 General] e3chaos:
Fixed

Fixed this on my phone. I un installed/cleared data both csipsimple and sipdroid. Installed sipdroid and set up my same account. Voicemaip notification came up but this time through sipdroid. Checked it and followed prompts to erase (the message was 100ms-ish long.). Then installed csipsimple again and everything is good. I'm sure you could fix this without reinstalling everything.

Thanks again for guide.

---------- Post added at 11:40 PM ---------- Previous post was at 11:39 PM ----------

Check my reply above this.
[Nexus 4 General] jck_w:
Yes, I figured out a while back that pbxes had for some unknown reason voicemailed it's own messaging system. I basically cleared everything as you said in my pbxes inbox and solved the problem. It was very confusing though cuz the actual message sounded like the voicemail system prompts.
[Nexus 4 General] strob121:
work internationally

Noob alert!

If I setup this up, would it work on international calls?
[Nexus 4 General] kaiserman1967:
Perfect

Thanks for these step by step directions! They are going to provide me with a way to cut my monthly cell phone bills even farther!!
[Nexus 4 General] Pkt_Lnt:
While you increase ours by quoting the entire freaking post for ten word reply. :rolleyes:

Galaxy Nexus / Tapatalk 2
[Nexus 4 General] Demonic240:
Has anyone tried any of the Silk codecs with this setup, or is it even possible? I've added them to my codec list, but haven't made/received a phone call in a few days.
[Nexus 4 General] clintb:
Not possible with the pbxes/callcentric setup as they do not support silk.
[Nexus 4 General] sekrit:
If i choose method 4 from OP and set everything up will I be able to receive calls to my AT&T number as well? Also if i choose to make an outgoing call will it allow me to pick which to use AT&T # or GV # as the outgoing number?
[Nexus 4 General] hp420:
After two weeks of using this, I've decided to just give up and go to using google voice along with my tmo plan's minutes. I tried everything I could to get good voice service on a mobile network, and it's just god-awful, no matter what. I can't tell you how many times people on the other end said I was breaking up, but I could hear them perfectly. My last straw was when my boss asked to use my phone to call his wife and it started breaking up on her end....he looked at me and said "didn't you just spend $350 on this piece of crap less than a month ago?" I explained what the issue was and he understood why the quality was below average, but the damage had already been done. Words can't even describe the level of embarrassment I felt right then!! I had been bragging about how awesome the new nexus was, and how it would be the best phone ever made...."it's just so damn sexy" I said a few times lol Talk about sticking my foot in my mouth.

As soon as I got home, I uninstalled csimple sip and set google voice to forward to my tmo number so I don't have to port my number from GV to tmo. I'd rather pay 10 cents per minute if I run out before the month is up than go through any embarrassment like that again!!

Honestly, I love the phone....I know for a fact it's not the phone's fault the voice quality I was getting was so horrible. Unfortunately, though, try explaining that to the girl you've been dying to ask out for a year!! Or try explaining it to a customer when you're trying to figure out exactly what they want done with a job.

This could be a great option.....but right now it has a LOT of serious issues that need working out before I can even think of relying on it. Like I said....on wifi, it's not bad. On a mobile network, forget it!!