[asterisk-users] GoogleVoice woes

Chris Gentle gentlec at gmail.com
Wed Jun 20 12:30:58 CDT 2012


On Wed, Jun 20, 2012 at 12:14 PM, Warren Selby <wcselby at selbytech.com>wrote:

> As you said, GV and asterisk integration is unstable at best.  I haven't
> worked with it in a while, to be honest.  But, with all that being said,
> I'm not opposed to popping my GV test box back online and helping to
> troubleshoot.  Why don't you start by giving us the contents of the
> gtalk.conf and jabber.conf files, the incoming dialplan snippet from
> extensions.conf for the google voice calls, and the CLI output with
> verbosity set to at least 6 of both a successful incoming call and a failed
> incoming call.  There's a debug option of jabber also, if you can have that
> enabled when you make the calls, that would be very helpful as well.
>

For the number that is not working there is no jabber debug output and
nothing shows up on the console.  That leads me to believe that Google
isn't sending the call to my box at all.

Here's my gtalk:

[general]
context=incoming
allowguest=yes
bindaddr=0.0.0.0

[guest]
disallow=all
allow=ulaw
context=from-googlevoice
connection=tcg-asterisk

And my jabber.conf:

[general]
autoregister=yes

[tcg-asterisk]
type=client
serverhost=talk.google.com
username=my_username at gmail.com/Talk
secret=deleted
port=5222
usetls=yes
usesasl=yes
statusmessage="Connected via Asterisk"
timeout=100

[seg-asterisk]
type=client
serverhost=talk.google.com
username=my_wifes_username at gmail.com/Talk
secret=deleted
port=5222
usetls=yes
usesasl=yes
statusmessage="Connected via Asterisk"
timeout=100

extensions.conf:

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Googlevoice incoming
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[from-googlevoice] ;{{{

  ; Google uses call screening even if you have it disabled in your
  ; GoogleVoice profile.  These next two lines sleep for a couple of seconds
  ; and then sends a DTMF 1 digit to accept the call.
  exten => s,1,Wait(2)
  exten => s,n,SendDTMF(1)

  ; Fix Google's crazy caller id string by cutting at the @ and then trim
  ; off the leading +1.
  exten => s,n,Set(crazygooglecid=${CALLERID(name)})
  exten => s,n,Set(stripcrazysuffix=${CUT(crazygooglecid,@,1)})
  exten => s,n,Set(CALLERID(all)=${stripcrazysuffix:2})

  ; Send all incoming calls to [incoming] context
  exten => s,n,Goto(incoming,s,1)
;}}}

-- 
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120620/236944a8/attachment.htm>


More information about the asterisk-users mailing list