[asterisk-users] Google Voice Routing

Chris Datfung chris.datfung at gmail.com
Sun Nov 25 02:56:20 CST 2012


Hi,

I'm trying to get Incoming Google Voice calls to ring on my Iaxy. I'm using
Asterisk 11.0.1. Based on the the following configurations can someone help
me figure out why incoming Google voice calls are not ringing on the Iaxy?

# Relevant rtf.conf section
[general]
rtpstart=10000
rtpend=20000
icesupport=true

# Relevant motif.conf section
[google]
context=incoming-motif
disallow=all
allow=ulaw
connection=google

# Relevant xmpp.conf section
[google]
type=client
serverhost=talk.google.com
username=MyUserName at gmail.com
secret=MyPassword
priority=1
port=5222
usetls=yes
usesasl=yes
status=available
statusmessage="I am an asterisk server"
timeout=5

#Relevant iax.conf section
[iaxy]
type=friend
username=iaxy
host=dynamic
secret=IaxyPassword
context=default
disallow=all
allow=ulaw
requirecalltoken=no
trunk=no

# Relevant extensions.conf section
[incoming-motif]
exten => s,1,NoOp()
 same => n,Wait(1)
 same => n,Answer()
 same => n,SendDTMF(1)
 same => n,Dial(IAX2/iaxy)

When I enable debug in xmpp.conf and receive an incoming Google Voice call,
I see the following:

<--- XMPP received from 'google' --->
<iq from="1234567 at voice.google.com/srvres-MTAuMjIwLjQzLjEzMTo5ODcw" to="
MyUserName at gmail.com/asterisk-x58AEE5FA"
id="jingle:10.220.43.131-25905465:1:1A86D7B3" type="set"><ses:session
type="initiate" id="SIP1441455106 at 10.221.8.130" initiator="+
1234567 at voice.google.com/srvres-MTAuMjIwLjQzLjEzMTo5ODcw" 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>
<------------->

Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121125/08db4297/attachment.htm>


More information about the asterisk-users mailing list