Setting up Asterisk for Google Voice

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Setting up Asterisk for Google Voice

Postby walterjwhite » Sun Sep 11, 2011 8:35 pm

Hi all,

I installed Asterisk on Arch Linux, 64-bit. I am following the instructions here:
https://wiki.asterisk.org/wiki/display/ ... ing+Google


And here for some other information
http://www.talkunafraid.co.uk/2010/09/g ... -sipdroid/

I started asterisk with:
asterisk -cvvvv

so it would be very verbose.

I can connect my SIP client to Asterisk and see in the logs it is connected.

My question is:
I do not see anything about google talk being connected or jabber, what else do I need to do to get those up and running?

extensions.conf
Code: Select all
; Incoming Calls
[GoogleVoice]
exten => s,1,Answer()
exten => s,n,Wait(2)
exten => s,n,SendDTMF(1)
exten => s,n,Dial(SIP/walterjwhite,20)

; if nobody picks up, leave the voicemail with Google Voice
exten => s,1,Dial(SIP/walterjwhite,20,D(:1))


sip.conf

Code: Select all
[WalterWhite]
type=friend
username=walterjwhite
secret=****
host=dynamic
context=local
dtmfmode=auto
nat=yes
qualify=no


gtalk.conf
Code: Select all
[general]
context=local
bindaddr=0.0.0.0      ; Address to bind to
externip=216.208.246.1      ; Set your external ip if you are behind a NAT.
allowguests=yes

[guest]
disallow=all
allow=ulaw
context=local
connection=WalterWhite

jabber.conf
Code: Select all
[general]
debug=yes
autoprune=no
autoregister=yes

[WalterWhite]
type=client
serverhost=talk.google.com
username=WalterWhite@walterjwhite.com/Talk
secret=****
port=5222
usetls=yes
usesasl=yes

statusmessage="connected via Asterisk"
timeout=100



modules.conf
Code: Select all
[modules]
autoload=yes

noload => pbx_gtkconsole.so

load => res_musiconhold.so

load => chan_alsa.so
noload => chan_oss.so
noload => chan_console.so



Let me know if you need more information.


Thanks for your help.


Walter
walterjwhite
Newsterisk
 
Posts: 4
Joined: Sun Sep 11, 2011 6:26 pm

Return to Asterisk Support

Who is online

Users browsing this forum: Alexa [Bot], Google [Bot], jitbaaz and 37 guests