Gtalk connected with asterisk but no network and audio

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

Gtalk connected with asterisk but no network and audio

Postby zed009 » Tue Apr 10, 2012 6:50 am

Hello
I have suceesfully connected gtalk through asterisk but problem of no audio from both sides.
also I saw network ="0" in asterisk log and no signal comes in gtalk.
Don't know what I made mistakes. using Asterisk 10.3
Here is my conf and asterisk cli log.

gtalk.conf
[general]
context=google_talk_in
allowguest=yes
bindaddr=X.X.X.X
disallow=all
allow=g729
allow=ulaw

[guest]
disallow=all
allow=g729
allow=ulaw
context=google_talk_in

[google_talk]
type=client
serverhost=talk.google.com
username=xx@gmail.com/Talk
secret=xxx
priority=1
port=5222
usetls=yes
usesasl=yes
statusmessage="I am an Asterisk Server"
timeout=100
status=available
sendtodialplan=yes
context=google_talk_in


JABBER: google_talk OUTGOING: <iq type='set' to='xx@gmail.com/Talk.v1049F0F2F52' from='xx@gmail.com/Talk0EB26687' id='aaaac'><session xmlns='http://www.google.com/session' type='initiate' initiator='xx@gmail.com/Talk0EB26687' id='351f09972f99594d'><description xmlns='http://www.google.com/session/phone' xml:lang='en'><payload-type id='0' name='PCMU' clockrate='8000' bitrate='64000'/><payload-type id='100' name='EG711U' clockrate='8000' bitrate='64000'/><payload-type id='101' name='telephone-event' clockrate='8000'/></description></session></iq>

JABBER: google_talk INCOMING: <iq to="xx@gmail.com/Talk0EB26687" id="aaaac" type="result" from="xx@gmail.com/Talk.v1049F0F2F52"/>

JABBER: google_talk OUTGOING: <iq from='xx@gmail.com/Talk0EB26687' to='xx@gmail.com/Talk.v1049F0F2F52' type='set' id='aaaad'><session type='candidates' id='351f09972f99594d' initiator='xx@gmail.com/Talk0EB26687' xmlns='http://www.google.com/session'><candidate name='rtp' address='X.X.X.X' port='2414' username='24412a3417e5eef0' password='3699fdce62b3c031' preference='1.00' protocol='udp' type='local' network='0' generation='0'/><transport xmlns='http://www.google.com/transport/p2p'/></session></iq>

JABBER: google_talk INCOMING: <iq to="xx@gmail.com/Talk0EB26687" type="set" id="466" from="xx@gmail.com/Talk.v1049F0F2F52"><session type="candidates" id="351f09972f99594d" initiator="xx@gmail.com/Talk0EB26687" xmlns="http://www.google.com/session"><candidate name="rtp" address="X.X.X.X" port="60212" preference="1" username="womv6beOF+pRPpM7" protocol="udp" generation="0" password="bhLN6HRWLORN+zud" type="local" network="0"/></session></iq>

JABBER: google_talk OUTGOING: <iq type='result' from='xx@gmail.com/Talk0EB26687' to='xx@gmail.com/Talk.v1049F0F2F52' id='466'/>

JABBER: google_talk INCOMING: <iq to="xx@gmail.com/Talk0EB26687" type="set" id="467" from="xx@gmail.com/Talk.v1049F0F2F52"><session type="candidates" id="351f09972f99594d" initiator="xx@gmail.com/Talk0EB26687" xmlns="http://www.google.com/session"><candidate name="rtp" address="X.X.X.X" port="60213" preference="0.9" username="doYAMR5PPyPZOoay" protocol="udp" generation="0" password="VY4NfmPNUnrZQYov" type="stun" network="0"/></session></iq>

JABBER: google_talk OUTGOING: <iq type='result' from='xx@gmail.com/Talk0EB26687' to='xx@gmail.com/Talk.v1049F0F2F52' id='467'/>

JABBER: google_talk INCOMING: <iq to="xx@gmail.com/Talk0EB26687" id="aaaad" type="result" from="xx@gmail.com/Talk.v1049F0F2F52"/>

JABBER: google_talk INCOMING: <iq to="xx@gmail.com/Talk0EB26687" type="set" id="469" from="xx@gmail.com/Talk.v1049F0F2F52"><session type="candidates" id="351f09972f99594d" initiator="xx@gmail.com/Talk0EB26687" xmlns="http://www.google.com/session"><candidate name="rtp" address="X.X.X.X" port="19295" preference="0.5" username="CMvlmAVnuwDfMf9b" protocol="udp" generation="0" password="riU0t1Lk5imrKRIT" type="relay" network="0"/></session></iq>
zed009
Newsterisk
 
Posts: 9
Joined: Thu Apr 05, 2012 3:40 am

Re: Gtalk connected with asterisk but no network and audio

Postby zed009 » Wed Apr 11, 2012 2:17 am

Nobody knows what is the prob and how to resove this?
why didn't I get audio ?

thanks in advance
zed009
Newsterisk
 
Posts: 9
Joined: Thu Apr 05, 2012 3:40 am

Re: Gtalk connected with asterisk but no network and audio

Postby briankb » Sun Apr 15, 2012 5:16 pm

Are you loading the necessary codec modules? At a minimum you should have codec_ulaw.so and codec_gsm.so being loaded by your modules.conf. If you don't have the necessary codecs you'll see alot of messages about missing codecs if you watch your asterisk console while you're making a call.

It also might have something to do with who you're calling. Right now my gtalk calls to sprint and at&t users work, but when I call verizon users, they cannot hear me. (I'm in the US)
briankb
Newsterisk
 
Posts: 6
Joined: Fri Aug 19, 2011 2:39 am

Re: Gtalk connected with asterisk but no network and audio

Postby zed009 » Sat Apr 21, 2012 7:05 am

briankb wrote:Are you loading the necessary codec modules? At a minimum you should have codec_ulaw.so and codec_gsm.so being loaded by your modules.conf. If you don't have the necessary codecs you'll see alot of messages about missing codecs if you watch your asterisk console while you're making a call.

It also might have something to do with who you're calling. Right now my gtalk calls to sprint and at&t users work, but when I call verizon users, they cannot hear me. (I'm in the US)



thanks briankb for reply
But don't know whats the real problem
I tried to calling by asterisk version 1.8 and it perfectly fine (I heared audio too)
but no help with asterisk 10.3 (same configuration in both).

May be asterisk developers know.
zed009
Newsterisk
 
Posts: 9
Joined: Thu Apr 05, 2012 3:40 am


Return to Asterisk Support

Who is online

Users browsing this forum: No registered users and 15 guests