I've replaced my user credentials with dummy info but the rest is as is... Any help and guidance would be much apprecaited. I know i'm so close as everything works just not the audio
extensions.conf
------------------
[local]
;This i found odd that i had to do to get it to answer the call. I'm new to figuring out these dialplans so I may be overlooking something
exten => mygmailuser@gmail.com,1,Dial(SIP/dave1,20,D(:1))
;Doesn't end up doing anything...
exten => s,1,Set(name=${CALLERID(name)})
exten => s,n,Set(name=${CALLERID(name)})
exten => s,n,Set(num=${CUT(name,@,1)})
exten => s,n,Set(CALLERID(all)=${num})
exten => 100,1,Dial(gtalk/asterisk/myothergmailaccount@gmail.com)
;Route all outbound calls through Google Voice gtalk/jabber connection
exten => _1XXXXXXXXXX,1,Dial(gtalk/asterisk/+${EXTEN}@voice.google.com)
jabber.conf
--------------
[general]
autoregister=yes ; Auto register users from buddy list.
auth_policy=accept ; Auto accept users' subscription requests (default).
[asterisk]
type=client ; Client or Component connection
serverhost=talk.google.com ; Route to server for example, talk.google.com
username=mygmailuser@gmail.com/Talk ; Username with optional resource.
secret=mypassword
port=5222 ; Port to use defaults to 5222
usetls=yes ; Use tls or not
usesasl=yes ; Use sasl or not
statusmessage="I am an Asterisk Server"
timeout=100
gtalk.conf
------------
[general]
context=local
bindaddr=0.0.0.0; Address to bind to
nat=yes
allowguest=yes ; Allow calls from people not in list of peers
disallow=all
allow=ulaw
[guest]
disallow=all
allow=ulaw
context=local
connection=asterisk
