[asterisk-users] Google Voice receiving call problem

Leandro Dardini ldardini at gmail.com
Sat Apr 16 02:56:44 CDT 2011


Hello,
I have a Google Voice phone number and want to connect it to my asterisk box
to have calls handled to my SIP account.

When I call the number I receive the correct INCOMING request on Jabber
portion of asterisk, but the call is not connected to the gtalk part.

JABBER: asterisk INCOMING: <iq from="+
17174695631 at voice.google.com/srvres-MTAuMTc2LjEwOC4xNjo5ODQ4" to="
ldardini at gmail.com/asterisk438D86E0"
id="jingle:10.176.108.16-15899749:1:457BCF36" type="set"><ses:session
type="initiate" id="SIP784359174 at 10.177.37.1" initiator="+
17174695631 at voice.google.com/srvres-MTAuMTc2LjEwOC4xNjo5ODQ4" 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>

No other messages are logged. Where is my mistake?

I am using asterisk 1.6.2.7 (Ubuntu packaging) and following there are the
relevant files.

Thank you

Leandro

####### jabber.conf

[general]
autoregister=yes

[asterisk]
type=client
serverhost=talk.google.com
username=ldardini at gmail.com
secret=**********
priority=1
port=5222
usetls=yes
usesasl=yes
buddy=ldardini at gmail.com
status=available

####### gtalk.conf

[general]
context=default
bindaddr=0.0.0.0
allowguest=yes

[guest]
disallow=all
allow=ulaw
context=google-in

[ldardini]
username=ldardini at gmail.com
disallow=all
allow=ulaw
context=google-in
connection=asterisk

######## extension.ael

context google-in {
    s => {
      NoOp( Call from Gtalk );
      Dial(SIP/************@************,60,r);
     };
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110416/09b45bd1/attachment.htm>


More information about the asterisk-users mailing list