Using Google Voice with PIAF2: never rings

tomeus

New Member
Joined
Jan 7, 2011
Messages
20
Reaction score
0
Hi guys, I wanted to give a try to the new PIAF2 Purple, so I installed fresh from the pbxinaflash20621-i386.iso

Everything went well, setup GV per the instructions here: http://nerdvittles.com/?p=787

Outgoing works great, incoming never rings on the 201 extension and goes into GV voicemail.
The call log shows:
piaf2gv.jpg


I have also edited the extensions_custom.conf to include:
[SIZE=-2][google-in]
;exten => s,n(regcall),Answer
;exten => s,n,SendDTMF(1)
exten => s,n,Wait(12)
exten => s,n(regcall),Set(DIAL_OPTIONS=${DIAL_OPTIONS}aD(:1))
exten => s,n,Goto(from-trunk,gv-incoming,1)

;jabber notification of inbound call
exten => 703,1,JABBERSend(gtalk_account,[email protected],Inbound call from ${CALLERID(all)})[/SIZE]

Please could yo point me to the correct direction for troubleshooting?

PIAF = 2.0.6.2
FreePBX = 2.9.07
Asterisk = 1.8.8.0
CentOS 6.2 32 bit

Thank you
 
HINT: Don't "improve" things. :wink5:

It works just fine out of the box.

  1. Enter your credentials in the Google Voice tab in FreePBX.
  2. Set up an extension.
  3. Create an inbound route using the 10-digit DID of your Google Voice account and point it to the extension you set up.


It'll work fine for incoming and outgoing.
 
Thank you wardmundy, that is what I did in the exact order - since outbound is working I am assuming the credentials are correct, I have even deleted the inbound route and recreated it - still the same result.

Would you please recommend some other troubleshooting - other than going to re-install?

Thx.

T.
 
Unfortunately notice the date on the original post of the article. Technology is a moving target I am afraid.

Google does work out of the box without editing any conf files. The simple way is to reinstall and dont edit anything in the cli. There are times I wish we could turn it off!

after the second reboot (1st is where the OS is installed and 2nd is where asterisk is installed.) Log into the GUI only http://youripaddress/admin and enter user maint and the password you entered when prompted during the install (NOT YOUR ROOT PASSWORD)

1. Click on the setup tab if you are using 2.8/2.9 of freepbx.

2, Near the bottom is Google Voice click it

3. Enter your Username/password/google voice number.
4. Click all 3 tick boxes
5. click submit changes at the bottom of the screen
6. click the orange reload bar
7. Set up your extension as per the article
8. Set up a default inbound route as per article
9. Set up an outbound route as per the article
10. Remember to always click save changes and the click the orange reload bar at the top each time.
11. Reboot the server. (TRUST ME YOU NEED TO DO THIS) open up the CLI and type reboot then tap the ENTER key.
12. After the reboot start up your sip phone and ensure it registers.
13. Try some calls.

RESIST THE URGE TO EDIT CONF FILES UNLESS YOU UNDERSTAND WHAT THEY DO.

Still problems?

1. from the CLI type service fail2ban stop
2. then service iptables stop
3. try again.
4. Still no joy. Try forwarding port 5222 in your router to your PIAF server. try again
5. Still no joy try setting your routers DMZ setting to point at your PIAF server TEMPORARILY ONLY! Make sure you set it back

6. Still no joy... you got bigger problems with your ISP/Switch/Router/Server then we can handle.... You did make at least one call from the Goggle voice interface right?

good luck

sorry it works over here on a system I just installed 20 mins ago both in and out.

Tom
 
Thank you darmock - reinstalled no edits, still no ring.

However I see the call come in when verbose logging is enabled as well as it is in the screenshot above from the call log, so I don't think it is firewall/router issue.

What does destination "S" from the call log in the screen shot mean please?


Verbosity is at least 3
-- Executing [[email protected]@googlein:1] NoOp("Gtalk/+14256239139-9 d75", "Receiving GoogleVoice call") in new stack
-- Executing [[email protected]@googlein:2] Set("Gtalk/+14256239139-9d 75", "CALLERID(name)=+14256239139") in new stack
-- Executing [[email protected]@googlein:3] GotoIf("Gtalk/+14256239139 -9d75", "0?notrim") in new stack
-- Executing [[email protected]@googlein:4] Set("Gtalk/+14256239139-9d 75", "CALLERID(name)=4256239139") in new stack
-- Executing [[email protected]@googlein:5] Set("Gtalk/+14256239139-9d 75", "CALLERID(number)=4256239139") in new stack
-- Executing [[email protected]@googlein:6] Answer("Gtalk/+14256239139 -9d75", "") in new stack
-- Executing [[email protected]@googlein:7] Wait("Gtalk/+14256239139-9 d75", "1") in new stack
-- Executing [[email protected]@googlein:8] SendDTMF("Gtalk/+142562391 39-9d75", "1") in new stack
-- Executing [[email protected]@googlein:9] Goto("Gtalk/+14256239139-9 d75", "from-trunk,425 214 4977,1") in new stack
-- Goto (from-trunk,425 214 4977,1)
-- Executing [425 214 4977@from-trunk:1] Set("Gtalk/+14256239139-9d75", "__F ROM_DID=425 214 4977") in new stack
-- Executing [425 214 4977@from-trunk:2] NoOp("Gtalk/+14256239139-9d75", "Re ceived an unknown call with DID set to 425 214 4977") in new stack
-- Executing [425 214 4977@from-trunk:3] Goto("Gtalk/+14256239139-9d75", "s, a2") in new stack
-- Goto (from-trunk,s,2)
-- Executing [s@from-trunk:2] Answer("Gtalk/+14256239139-9d75", "") in new s tack
-- Executing [s@from-trunk:3] Wait("Gtalk/+14256239139-9d75", "2") in new st ack
-- Executing [s@from-trunk:4] Playback("Gtalk/+14256239139-9d75", "ss-noservice") in new stack
-- <Gtalk/+14256239139-9d75> Playing 'ss-noservice.gsm' (language 'en')
-- Executing [s@from-trunk:5] SayAlpha("Gtalk/+14256239139-9d75", "425 214 4977") in new stack
-- <Gtalk/+14256239139-9d75> Playing 'digits/4.gsm' (language 'en')
-- <Gtalk/+14256239139-9d75> Playing 'digits/2.gsm' (language 'en')
-- <Gtalk/+14256239139-9d75> Playing 'digits/5.gsm' (language 'en')
-- <Gtalk/+14256239139-9d75> Playing 'letters/space.gsm' (language 'en')
-- <Gtalk/+14256239139-9d75> Playing 'digits/2.gsm' (language 'en')
-- <Gtalk/+14256239139-9d75> Playing 'digits/1.gsm' (language 'en')
-- <Gtalk/+14256239139-9d75> Playing 'digits/4.gsm' (language 'en')
-- <Gtalk/+14256239139-9d75> Playing 'letters/space.gsm' (language 'en')
-- <Gtalk/+14256239139-9d75> Playing 'digits/4.gsm' (language 'en')
-- <Gtalk/+14256239139-9d75> Playing 'digits/9.gsm' (language 'en')
-- <Gtalk/+14256239139-9d75> Playing 'digits/7.gsm' (language 'en')
-- <Gtalk/+14256239139-9d75> Playing 'digits/7.gsm' (language 'en')
-- Executing [s@from-trunk:6] Hangup("Gtalk/+14256239139-9d75", "") in new stack
== Spawn extension (from-trunk, s, 6) exited non-zero on 'Gtalk/+14256239139-9d75'
-- Executing [h@from-trunk:1] Macro("Gtalk/+14256239139-9d75", "hangupcall,") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Gtalk/+14256239139-9d75", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("Gtalk/+14256239139-9d75", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("Gtalk/+14256239139-9d75", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("Gtalk/+14256239139-9d75", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Gtalk/+14256239139-9d75' in macro 'hangupcall'
== Spawn extension (from-trunk, h, 1) exited non-zero on 'Gtalk/+14256239139-9d75'
 

Members online

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top