yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] acegolfer:
Here's another tip: delayed GV call forwarding.

I was in a really bad 3g area and missed a GV call (I disabled GV forwarding to my cell). So I want GV to ring my cell but only after 15 seconds so that it gives me a chance to answer internet call first. Unfortunately, GV doesn't have delayed call forwarding.

But you can configure pbxes such that if you don't answer the internet call in X seconds, it will call your cell phone number.

1. Add a new PSTN extension, let's say # 600. Input your 10 digit cell number.

2. Go to your cell phone extension, presumably # 200. Look for "call forwarding." In "If no answer" line, input "600" and specify after X seconds.

This will stop ringing csipsimple after X seconds and start ringing the cell phone. If you want csipsimple to continue ringing, then complete the next steps instead of #2 above.

2. Add a new SIP extension, let's say #300. Open extension 300, look for call forwarding. In "If no answer", input "600" and specify after X seconds.

3. Next, you need to tell pbxes to ring both 200 (your cell extension) and 300. To do so, create a ring group "1" and list 200 and 300 (do not list 600). Go to "inbound routing" and set destination as Ring Group #1.

I set X = 10 in my pbxes and here are some lap times from the moment I pressed "send" button from another cell phone.

1. at 6s mark, csipsimple rings

2. at 22s, my Tmo cell rings. (note that there's roughly 6s delay when you place a PSTN call. 6s + 10s + 6s = 22s)

3. at 31s, GV voicemail answers.
[Nexus 4 General] bluespire:
Does this require payment to PBXes as an outgoing call?
[Nexus 4 General] acegolfer:
No. You are using gtalk trunk to call forward to your cell phone.
[Nexus 4 General] bluespire:
Ah, I got it now. Is there a way to signal a bad connection to PBXes and make it call back to cell? Like maybe hitting *11 or something?
[Nexus 4 General] lanbladez:
Does anyone have problem trying to call out when disabling udp? I have tried disabling it in csipsimple network, unchecked udp and in account expert mode i have transportation set to tcp. Whenever I try to disable it i get invalid transport type and cannot dial out. Help appreciated in finding my problem.
[Nexus 4 General] ziddey:
I'm surprised that works. When I was testing that idea out, I was using the gtalk trunk for both incoming and outgoing (forwarding). As a result, the original leg would get dropped when the forward went through (I picked up via cell).

Also, when using this method, the forwarded caller id will be the GV number, unless things have changed.
[Nexus 4 General] acegolfer:
1. Your setup is different from mine. All my incoming calls are coming through callcentric not gtalk. So I have an available gtalk trunk for call forwarding use.

2. Correct, it will show my GV as CID when my cell number rings. I haven't figured it out how to pass the original CID to my cell. But if I miss the call and want to call back, I can go to GV app and look up the history.
[Nexus 4 General] pedxing:
Yes, i had this problem as well. You may need to delete the account and start again worth the following....

(Also if you're on pbxes then make sure to start the account using the pbxes wizard first and then change your wizard to expert.)

Go to the main settings. Scroll down to enable TCP and check that. Uncheck the UDP box.

Then go to the account settings screen. At the top tap the three dots and select expert mode. The go to the account.... Modify account... then scroll to transport item and tap that. Select TCP and then save every thing. You may need to disconnect to close the app completely and then open it again for everything to take effect.

You should now be on TCP and outgoing calls should work.
[Nexus 4 General] Pkt_Lnt:
What gateway? RTP signaling still needs UDP, but you only see that in advanced settings. Just thinking that might be it. Not home to check my setup now.

- Kindle Fire / JellyBean 4.2.1 / Tapatalk 2
[Nexus 4 General] whahn1983:
I am currently installing PBX in a flash along with Incredible PBX 4. When it is set up and I set up the Google Voice plug-in, what settings do you use in csipsimple to connect to the box?
[Nexus 4 General] bluespire:
For anyone who has experience with both this and running a personal PBX at home: is there any major advantage to running a personal PBX versus this method, if the goals are reliability, call quality, and fronting single phone number?
[Nexus 4 General] whahn1983:
So if I'm reading the OP correctly, on the outgoing calls it skips callcentric completely and uses the gmail trunk. If that is the case how does pbxes handle the iLBC codec for outbound calls?
[Nexus 4 General] acegolfer:
Correct. It's a hybrid setup where you use gtalk for outgoing and callcentric for incoming calls.

pbxes supports iLBC natively so it will transcode outgoing call audio. Specifically, your phone sends iLBC audio to pbxes, pbxes transcode iLBC into PCMU and the latter to PSTN using gtalk trunk.

For some unknown reason, it cannot transcode incoming gtalk audio (PCMU) into iLBC signal. Theoretically, it should but empirically, there's no sound. If anyone knows why, I'd love to hear it.

Nevertheless, it can transcode other incoming PCMU signals including callcentric (even when audio bypass is not set up) into iLBC. It's really puzzling to me.
[Nexus 4 General] c0LdFire:
Oddly enough, incoming iLBC gtalk audio is fixed for me by placing the call on hold then taking it right back off. Why it works is beyond me.
[Nexus 4 General] altimax98:
anyone else getting an email every 10 minutes about a trunk outage? It all works but i keep getting that email..

On another note, im on CM10.1 12/31 nightly and when i do the missed call/forwarding trick the moment i try to pick it up when it dials my actual cell number i get a Phone FC and it instantly sends the call to VM and the phone needs to be rebooted.. Anyone else with this?
[Nexus 4 General] chdloc:
For me, incoming iLBC works fine when I run the csipsimple nightlies. The "official" build freezes on incoming iLBC. The developer addressed an issue after releasing the last "official" build.

(I have a Nexus One only, but that should not matter in this context)
[Nexus 4 General] c0LdFire:
I have recently deleted the nightly build of CSipSimple I have been running (constantly updating to the newest), and the market version fixed ALL of my quality issues. No more delay. No more breaking up calls. G729 over VoIP.ms sounds just as good as a normal call, if not better. I have feeling I'll eat my words and it'll start being crappy now that I've said something, but for now, it seems like the nightly builds were simply buggy for me.
[Nexus 4 General] bogdatov:
$3 fee for 911

Is there a way to avoid $3 911 fee when setting up DID in callcentric ? I'm in US
[Nexus 4 General] Richieboy67:
I have been unable to get this set up to work. I am hesitant to call tmob to turn off my tmob vmail which is what I have top do I guess.

I am currently just using the Vonage app. it works well on Wi-Fi and 3g but the only issue is that I cannot receive calls using Vonage.

Is there a simpler alternative to this set up that uses the same codec but uses my tmob number? Would be nice to be able to receive calls as well. Is this too much to ask for? I would be willing to buy an app.

Thanks for the help and info... This is a great thread. I have learned more about VoIP than I wanted to.. haha
[Nexus 4 General] Awexit76:
Simply curious as this is well beyond my expertise in android but I do know Android has native sip calling. why can't we use the native dialer?
[Nexus 4 General] Pkt_Lnt:
It does not support the codecs or transport protocols that are the center point to this thread.
[Nexus 4 General] acegolfer:
Have all your friends call you from Vonage mobile. Then you can receive the calls.
[Nexus 4 General] marty331:
I'm able to dial from the native phone app, are you saying the quality will be less if I dial in this manner?
[Nexus 4 General] Pkt_Lnt:
Try it, maybe it works for you.

Most of us find the native SIP has issues receiving calls, rapid battery drain, and most calls are like a bad acid trip, trying to talk on a tin can and string phone underwater, with horrendous godzilla battles going on all around. YMMV :D
[Nexus 4 General] Richieboy67:
It is not my friends calling that is the problem. It is business calls mainly. It just isn't professional to miss calls or all them to call at another number, etc. I really need something seamless if possible while keeping my current number. I have had the same number for awhile and it would really be tough to change to a Google number.

Thanks much
[Nexus 4 General] acegolfer:
Let's see.

1. You don't want to change your business number which is your Tmo number.

2. You want to use VoIP using your Tmo number.

The only way that will happen is if you port your Tmo number to a VoIP provider or GV. Since you can't follow OP, I suggest you find a reliable VoIP provider that can port your Tmo number. You should get help from a different forum.
[Nexus 4 General] Pkt_Lnt:
The Vonage app only accepts incoming calls from Vonage mobile is what he is saying. That is the problem with the Vonage app and incoming calls. You need another sip client if you want incoming from other callers.
[Nexus 4 General] bluespire:
This will work as expected. Using the NATIVE DIALER will simply forward the call info to CSIPsimple. This is why, once the call is ringing, you see the CSIP interface, not the native phone interface. Only the DIALER works as normal. This is what I do.

Just trying to ensure the above poster, "marty331" is not confused. I do believe he means the NATIVE DIALER, not the NATIVE SIP CLIENT.
[Nexus 4 General] altimax98:
I agree there. TBH if you using your phone for business then don't be cheap and do things the right way with a normal plan from a major carrier. I used to use my phone for business and honestly could not imagine going through this whole process for calls, especially when from time to time it doesn't work quite as expected. Missed calls & poor call quality = negative effect on customers.

Honestly if you NEED more then 100 minutes offered in the cheap plan then go somewhere else. If you WANT more then 100 minutes for that one month in a while then this works great.

I personally text more then call. I'll use only about 50 minutes a month. So I have GV phone number as my only number given out. I then have GV forward everything to my T-Mobile phone number. I also have the GV app set to make all calls through GV so my GV number gets displayed. When I hit like 80 minutes I hit the switch and change forwarding to call centric and switch off my forwarding to T-Mobile.

Works like a charm
[Nexus 4 General] danlo:
VOip.ms

For those of you that are using VOip.ms, how do you have your fall-back call forward setup? This is my setup:

GV -> Voip.ms #

Voip -> SIP as primary (I created a group so it goes to both my N4 and my N7)

Voip -> Call forward to my T-Mobile # as fall-back for all types (no answer, unavailable, etc.)

I have tried many setups on how long to set for the timeout and I'm on 25sec right now. I find that it is not consistent that the fallback works before GV picks up the call into voicemail. Interested to see what people have the setup for it.

Thanks.
[Nexus 4 General] Pkt_Lnt:
That 25 seconds to GV voice mail is controlled by GV from the time the call starts at your GV number, regardless of how it if routed from there.

The 25 second countdown starts and GV voice mail kicks in when 25 seconds is up. Not using GV voicemail is the only way to get it longer, frustrating as that fact is. You'd have to have a voip.ms or pbxes or cell number voice mail, and that really complicated things. Ugh.
[Nexus 4 General] jcsd1212:
I've followed all the steps and I'm able to make outbound calls using Csip but I cannot receive calls. When I use media5, inbound and outbound calls work great. I would like to use CsipSimple because of the battery use with media5. In my callcentric account it says I have "channel congestion" when I test making calls to my phone using Csip. Has anyone else had an issue like this? Thanks in advance.

Edit: Nevermind my post. I have no idea what I did but Csip is now receiving calls.
[Nexus 4 General] marty331:
Question

My pbxes account is still unverified, I have updated all of my personal data a few days ago. I received an email saying that my info was incomplete and my account would be deleted, that is what prompted me to update the personal data.

Does anyone know how to get this verified?

---------- Post added at 04:39 PM ---------- Previous post was at 04:35 PM ----------

bluespire,

Yes I was referring to the Native Dialer.
[Nexus 4 General] acegolfer:
I just checked my status. Mine also shows as "unverified," even though I have never received the email to update the infor.
[Nexus 4 General] marty331:
Thanks Ace.
[Nexus 4 General] BootloopedMillennials:
I dont know if its the new CSipSimple Nightly or me changing some more settings (besides just TCP and TCP keep alive) but battery life has considerably improved. Had CSipSimple app running/registered all night and left the device idle for 9hrs+ last night and battery stayed at 100% with fewer wake ups.
[Nexus 4 General] marty331:
Which nightly version are you running?
[Nexus 4 General] BootloopedMillennials:
It was the CSipSimple-latest-trunk.apk from January 2nd.
[Nexus 4 General] danlo:
I was hoping that was not the case. Thanks for the info.
[Nexus 4 General] jeffmhasty:
Has anybody done step 7b instead of 7a? I'm trying to get pbxes to "pull" the call from Callcentric, but it isn't happening. I have GV forwarding to callcentric (which is working). The call will show up in the GV and Callcentric logs, but there is nothing in pbxes. The trunk is setup/registered, so I'm not sure why it isn't working. I'm sure it would work if I used callcentric forwarding instead, but it's bugging me that I can't get it to work.

Am I missing something?
[Nexus 4 General] pedxing:
I'm having problems receiving calls on CSS with pbxes. It seems to work at home and also on 3g in my testing but on the work WiFi even though csip says pbxes is registered, it actually isn't and the call drops to voice mail.

Can anyone share their keep alive settings?

I was at 180 seconds but went to 100 but still no dice. TCP transport.

Any one else had the problem of an inaccurate registration on pbxes? It shows green but does not receive the call.
[Nexus 4 General] acegolfer:
Sounds like your work WiFi is blocking VoIP traffic.
[Nexus 4 General] pedxing:
No right after a fresh registration i can both make and receive calls. It's only after a while that the registration fails (or so it would seem) but while remaining green.
[Nexus 4 General] c0LdFire:
I actually had that happen today as well with VoIP.ms. Never had a problem before. I gave up and switched incoming back to the T-Mobile minutes for now, but apparently I'll be playing with the keep alive settings this weekend...

Frankly, I'm in IT at work. I can personally set the keep alive times on our WiFi, and they are fine for what the app is set to. Very annoying. It's fine at home on my significantly cheaper router.
[Nexus 4 General] ziddey:
One thing that's nice and I forgot to mention earlier is the ability to enable Caller ID with name in callcentric. Trunking pbxes directly to GV does not offer this.

It doesn't affect calls from people in contacts, but for other numbers, it can come in handy.
[Nexus 4 General] acegolfer:
Why don't you attach the screenshots of your pbxes trunk and call logs and callcentric DID forwarding? Then it will be easier to find what you missed.
[Nexus 4 General] BootloopedMillennials:
To build upon this, the phone ended up lasting 23hrs with 3hrs 31mins of screen on time (with CSipSimple always running). Keep in mind this is with a outdated G2 with tiny 1600mAh battery (until my N4 gets here).

Will test again tomorrow to make sure it wasnt a fluke result and post my CSipSimple settings.
[Nexus 4 General] csaket:
2 numbers, SMS?

How to get SMS/Text messages?

I am currently running CSipSimple with two accounts. So I am able to make & receive calls on two different GV numbers.

I run the GV app with one of the numbers and thus get the SMS/Text sent to that number.

Right now unable to figure out how to do SMS/Text for the second number.

Any ideas?
[Nexus 4 General] BootloopedMillennials:
Did anyone else get an outage email notice from PBXes?
[Nexus 4 General] Rivermind:
Just now? Yes.
[Nexus 4 General] BootloopedMillennials:
Yeah.

Something to the effect that where you account is has been experiencing significant issues. That paid accounts no action needs to be taken and they switched it to some other location.
[Nexus 4 General] ziddey:
You can use a different app for texts from the other number. Talkatone supports SMS.
[Nexus 4 General] csaket:
I know but I am not using Talkatone because its a battery drain and also requires a good data connection.
[Nexus 4 General] swaggerwocky:
Has anyone here gone with the FreePBX route mentioned earlier in this thread? I'm considering using a Samsung NC10 netbook since it's just laying around my apartment gathering dust and I'd appreciate any tips and experiences with setting one up.
[Nexus 4 General] acegolfer:
If you are competent, then setting up one's own asterisk/PBX server is the way to go. However, I'm pretty satisfied with the op setup. It's doing everything I want to do with great call quality. If I'm too picky, I would like a push notification so that it saves battery. However, I have not seen any own server/app ringing the phone via push notification. If there is one, I'll set it up in a heartbeat.

FYI, acrobits is working on push sip client. But you must give out the gmail password to their server, which is a big security risk.

Nevertheless, I'm waiting for a few people to post their guides to set up the asterisks server.
[Nexus 4 General] ziddey:
I'd recommend starting off with pbxinaflash (piaf) if going this route. I haven't tried any new versions but you needed to find an updated google voice plugin last I used it. I understand support is "fixed" in asterisk again so it might be more straightforward now.

For what it's worth, Amazon gives a free year of ec2. I believe it's a gig a month for free. May be worth experimenting with. Electricity is too expensive for me to have a 24/7, although since finding the rasppi too incompetent for what I was hoping to use it for, it'd probably make a good pbx server. "Negligible" power draw :)
[Nexus 4 General] acegolfer:
Another way to remove echo

I just found out that I can change the audio volumes on the fly in csipsimple by clicking the settings button in the lower right corner. It will pop a window with 3 settings: earpiece volume, mic volume, echo cancellation on/off.

I removed echo without using the built-in echo cancellation by setting the volume to 40%, mic volume to 50% and disabled echo cancellation. I think it improved audio latency and the call quality was better. I think this is because csipsimple is not manipulating the audio stream to remove the echo any more.

Compared with Galaxy S, Nexus 4 has a much louder earpiece speaker and more sensitive mic. Galaxy S doesn't require any echo cancellation in CSS. We can achieve the same effect with our Nexus 4 by adjusting the volumes.
[Nexus 4 General] swaggerwocky:
I was actually considering a RPi setup after some quick researching earlier: http://nerdvittles.com/?p=3026
[Nexus 4 General] gedster314:
I got it working but the quality seems inconsistent. Sound quality seems better on my Note1, the N4 just seems louder but picks up more room noise. For me, Skype does seem to work better but then it is a paid solution, if you want a number and skype out out calling. Keeping skype on all day sucks a lot juice.

I'll play with it some more. Can someone give me help on turning off udp? I toggle it off in settings and then go define the pdxes account and turn off udp there. It connects but when I make a call I get a transport error.

Since I'm not a heavy phone user, I think I will end up just keeping a balance for overages.

Thanks
[Nexus 4 General] jchi18:
Right now, I set CSS to make calls only. But based on OP, it seems that I should also be setting it to receive. Can someone please verify that? Thanks.
[Nexus 4 General] acegolfer:
Csipsimple can make outgoing calls and receive incoming calls using the same gv number. If you can't, then follow all the steps in op.
[Nexus 4 General] lanbladez:
This helped me out with my problem off udp connection issues.
[Nexus 4 General] whahn1983:
I tried it on a Linux box I have with a quad core amd and an ssd using PBX in a flash purple and incredible PBX 4. Setup was very easy using the nerdvittles guides. Calls worked beautifully clear on wifi however, I had a ton of trouble trying to connect from outside my local network. I use dyndns for both my router and phone ip's as well as travelin man 3 for security to allow my phone to connect. I could always confirm my phone ip was in iptables but as soon as I disconnected from the local WiFi and went to 4g, my connection in csipsimple would drop. I think it may have been an issue with my router blocking the connection but I had the proper ports forwarded and messed with all the settings like turning off nat and using stun etc. Anyways, long story short, I gave up.
[Nexus 4 General] OaklandRaiders86:
I'm set up using ops guide and outgoing calls sound great but incoming calls ring sip droid instead of CSS and sound poor. What do I need to do to fix?
[Nexus 4 General] whahn1983:
Uninstall sipdroid. If you are using CSS, sipdroid is not needed after the initial setup.
[Nexus 4 General] gedster314:
I had poor quality. I went to the app store and installed Csipsimple codecs. Also lowering your microphone volume (when on a call, click the wrench on the bottom).

I'm still getting 503/unsupported transport when I make a call with UDP turned off.
[Nexus 4 General] acegolfer:
I don't know whether your problem lies with bad internet connection or bad csipsimple configuration. Why don't you try with other sip clients such as media5fone or sipdroid? They both allow TCP connection. If you can make call with these apps, then you know it's csip fault.
[Nexus 4 General] marksatterfield:
Darn it. I can't make outgoing phone calls from csipsimple.

Inbound, no problem at all. Outbound from the csipsimple dialer, I get "Your call cannot be completed as dialed'. I'm pretty sure it is from pbxes.org.

I know it has something to do with my trunk, or I suspect it does. Unfortunately, I already have a pbxes account, so that step was modified.

Well, more work ahead.

Any ideas of what to check or fix would be greatly appreciated.
[Nexus 4 General] princedwi:
I know that I had to create an application-specific password that you would use for pbxes, so that it would dial. I tested this by running sipdroid and attempting to make calls there first, and then realized that pbxes needed the application-specific pass.

For AT&T users, using TLS in Settings -> Network -> Secure transport allowed me to make calls over HSPA.
[Nexus 4 General] acegolfer:
If you post your pbxes call monitor screenshot, someone will be able to tell you what is wrong.
[Nexus 4 General] gedster314:
Ok I figured out my problem. In account setup, use the Advanced tool. Then for server use; pbxes.org (do not enter a port) and then you must also enter the exact same thing for the proxy. I kept thinking the proxy was for a proxy server on my end, didn't realize it was needed for sip. Then you can activate TCP in the account settings and the go into app settings expert and turn off udp.

I'll see how my other phone does with an Ipad sim in it using this sip setup.