I have a Google Voice Number that I was to forward to my FreePBX. I have linked the number in Google Voice and it forward the call. However in bypassed the Inbound route and somehow goes directly to Ring Group 200.
Normally My calls come to an IVR that plays a please hold message and then will Ring Ring Group 200. I will play my music on hold while it rings.
However When Google call forward to it, I never see the IVR in the call logs. I see 4 CDR logs for each call and the Application it Dial and it goes to 200. I then rings hunt group 200 3 times with no music on hold and then Google takes a message
CDR Records - The one on the bottom is direct dial to SIP trunk and it worked. The top 4 are from 1 call forwarded call by google.
You will find that Google Voice will not work when forwarded to an IVR. It will work if you directly answer with a telephone. This is some AI smarts they use to insure you can’t have an IVR answer (as in a business using the number.) This ability is only available on paid Google Workspace accounts.
You can test this by forwarding the GV number directly to a phone and see that it works.
I don’t know whether this still works, but try setting Pause Before Answer in the Inbound Route to 4 seconds.
If not, GV has evidently gotten “smarter”. If it does work, experiment to find the shortest delay that works reliably. If the delay is still an issue for non GV calls, use pjsip logger to see whether a Diversion header or similar could be used to distinguish GV calls.
I tried a 5 Second Delay and a 10 Second delay, that was a good idea and I can hear the delay between the 1st and 2nd ring, but no luck. I have setup a port request to just bring the number over to my SIP trunk, and I will leave Google Voice behind.
I had an OBITalk for years, for my home phones, and they have done away with it. You haven’t been able to setup new ones for a while and they said it was going to go down in November, but I finally quit working last week. So I am going to move the home number over to my home FreePBX server, and setup an ATA for the home phones. I guess it is nice that I will have e911 now!
Sorry, I missed that you also have to set Signal RINGING to Yes, as well as Pause Before Answer. If that still doesn’t work, paste the Asterisk log for a failed call at pastebin.com and post the link here.
Signal ringing will not work either. I don’t know how Google Voice detects an IVR, even before or after it answers, but it won’t work. Google Voice (free version) just doesn’t have a place with a PBX anymore. When you can get a DID for $0.15/month from places like BulkVS, the hassle with Google just isn’t worth the time.