I have setup Google Voice and when I call the number the log shows a packet of info coming in but the phone side of the system doesn’t seem to so anything with it. I do have an incoming route setup.
To keep it simple at first I did not set up a trunk or outbound.
If anyone can decipher the log below please let me know. I have also included the conf files I changed or added:
Thank you!!!
gtalk.conf:
[general]
debug=yes
allowguest=yes
context=googlein
stunaddr=stun01.sipphone.com
[guest]
disallow=all
allow=ulaw
connection=asterisk
context=googlein
jabber.conf:
[general]
debug=yes
autoprune=no
autoregister=yes
[nutid]
type=client
serverhost=talk.google.com
[email protected]/Talk
secret=xxxx
port=5222
usetls=yes
usesasl=yes
status=Available
statusmessage="I am an Asterisk Server"
timeout=100
keepalive=yes
~
extensions_custom.conf:
[googlein]
exten => _[@Xa-z].,1,Noop(Incoming Google Voice call for ${EXTEN})
exten => _[@Xa-z].,n,Set(CALLERID(name)=${CUT(CALLERID(name),@,1)})
exten => _[@Xa-z].,n,GotoIf($["${CALLERID(name):0:2}" != “+1”]?notrim)
exten => _[@Xa-z].,n,Set(CALLERID(name)=${CALLERID(name):2})
exten => _[@Xa-z].,n(notrim),Set(CALLERID(number)=${CALLERID(name)})
exten => _[@Xa-z].,n,Answer
exten => _[@Xa-z].,n,Wait(1)
exten => _[@Xa-z].,n,SendDTMF(1)
exten => _[@Xa-z].,n,Goto(from-trunk,gv-incoming-${CUT(EXTEN,@,1)},1)
exten => h,1,Macro(hangupcall,)
[gvoice-nutid]
exten => _X.,1,Dial(Gtalk/nutid/+${EXTEN}@voice.google.com)
exten => _X.,n,Noop(GVoice Call to ${EXTEN} failed)
exten => h,1,Macro(hangupcall,)
The log thing below didnt work so here is the log and there is another similar entry when I hang up the call incoming. I dont know how to put the log here…
;(
JABBER: nutridroid INCOMING: iq from="[email protected]/srvres-MTAuMTMuOTIuMTc6OTgwMQ==" to="[email protected]/TalkE3E27895" id=“jingle:10.13.92.17-22024493:1:BB0FA859” type=“set” — ses:session type=“initiate” id="[email protected]" initiator="[email protected]/srvres-MTAuMTMuOTIuMTc6OTgwMQ==" xmlns:ses=“http://www.google.com/session” — pho:description xmlns:pho=“http://www.google.com/session/phone” — pho:payload-type id=“0” name=“PCMU” clockrate="8000 — <pho:payload-type id=“101” name=“telephone-event”/></pho:description — transport behind-symmetric-nat=“false” can-receive-from-symmetric-nat=“false” xmlns=“http://www.google.com/transport/raw-udp” — transport xmlns=“http://www.google.com/transport/p2p”/— /ses:session— /iq