Hi,
Operating System: CentOS 5.6
Asterisk Version: 1.8.5.0
I am trying to configure Google Voice and it is not at all registering. At least, I am not getting any messages in CLI screen to do trouble shoot in verbose mode also.
Doubt 1:
After logging into voice.google.com with my registered USA number gmail user name and password, What I have to check either Google Chat OR Mobile OR Nothing to check in “Forwards Calls To” section to configure Google Voice with Asterisk.
Doubt 2:
By default, I am getting jabber.conf and gtalk.conf files after completion of Asterisk setup. To configure Google Voice, still Do I need to install any additional files or packages?
Doubt 3:
I am unable to find the mistake in my configuration files. As I explained, it is not showing any messages also in CLI screen and below are my configuration files:
Below are my congfiguration files:
sip.conf:
[337]
context=tutorial
context=default
type=friend
regexten=337
directmedia=no
disallow=all
registertrying=yes
defaultuser=337
fromuser=337
secret=password
callerid=“MyName” <337>
host=dynamic
nat=yes
dtmfmode=rfc2833
allow=all
qualify=yes
jabber.conf:
[general]
debug=no
autoprune=no
autoregister=yes
[gmail]
type=client
serverhost=talk.google.com
username=MyGMailUserName@gmail.com/asterisk
secret=MyGmailPassword
port=5222
usetls=yes
usesasl=yes
status=Available
statusmessage="Connected via Asterisk"
timeout=100
keepalive=yes
gtalk.conf:
[general]
allowguest=yes
bindaddr=192.168.1.4
externip=xxx.xxx.xxx.xx
context=googlein
[guest]
disallow=all
allow=ulaw
connection=asterisk
context=googlein
extensions.conf:
[googlein]
exten => MyGMailUserName@gmail.com,1,Answer()
exten => MyGMailUserName@gmail.com,n,Wait(1)
exten => MyGMailUserName@gmail.com,n,Dial(SIP/337,20)
include => tutorial
[longdistance]
exten => _X.,1,Dial(Gtalk/MyGMailUserName/+${EXTEN}@voice.google.com)
exten => _X.,n,Noop(GVoice Call to ${EXTEN} failed)
exten => h,1,Macro(hangupcall,)
include => tutorial
[tutorial]
exten => 337,1,Dial(SIP/337,15)
exten => 337,2,Voicemail(u337)
exten => 337,3,Voicemail(b337)
exten => 337,4,Hangup
Thanks in advance.
Regards,
Chandra