News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

STUNC issue with GoogleChat (No Audio)

Started by earthtoobi, December 28, 2011, 09:05:24 PM

Previous topic - Next topic

earthtoobi

am trying to use google chat configured in obi to call myself(on a computer) in the format (**1<mygmailuserid> where sp1=obigooglechatuser with my gmail added as friend to obi gtalk userid).
i get a peer rtp address as 0.0.0.0:0 in the call status and there is no audio both ways. when i make the call other way around(my computer gtalk calling Obiuser as voice chat), it works fine.
here are some findings from syslog in cases when audio works fine and when there is no audio:

Here is syslog message in the case when it works when initiated from Obi:

9:00:29][192.168.21.20]<7> [CPT] --- FXS h/w tone generator (ringback)---
[Dec 28 19:00:29][192.168.21.20]<7> LHC:Response OK
[Dec 28 19:00:29][192.168.21.20]<7> GTALK:Candidate c0a81f14:54873(10);1 0
[Dec 28 19:00:29][192.168.21.20]<7> GTALK:Total peer candidates:2
[Dec 28 19:00:29][192.168.21.20]<7> RTP:Start->c0a81f14:54873(80);0;0;0:0:0;0(36)
[Dec 28 19:00:29][192.168.21.20]<7> GTALK:Sending new candidate
[Dec 28 19:00:29][192.168.21.20]<7> GTALK:Candidate 4cb782c0:54874(9);3 0
[Dec 28 19:00:29][192.168.21.20]<7> GTALK:Total peer candidates:3
[Dec 28 19:00:29][192.168.21.20]<7> GTALK:Sending new candidate
[Dec 28 19:00:29][192.168.21.20]<7> GTALK:Sending new candidate
[Dec 28 19:00:37][192.168.21.20]<7> [SLIC]:Slic#0 ONHOOK


Here is syslog when it does not work when initiated from Obi:

[Dec 28 19:02:26][192.168.21.20]<7> [CPT] --- FXS h/w tone generator (ringback)---
[Dec 28 19:02:26][192.168.21.20]<7> GTALK:Candidate c0a81f14:57698(10);1 0
[Dec 28 19:02:26][192.168.21.20]<7> GTALK:Total peer candidates:2
[Dec 28 19:02:26][192.168.21.20]<7> STUNC:ERR=1ae,mtd=1
[Dec 28 19:02:26][192.168.21.20]<7> LHC:Response OK
[Dec 28 19:02:26][192.168.21.20]<7> GTALK:Candidate 4cb782c0:57699(9);3 0
[Dec 28 19:02:26][192.168.21.20]<7> GTALK:Total peer candidates:3
[Dec 28 19:02:26][192.168.21.20]<7> GTALK:Sending new candidate
[Dec 28 19:02:26][192.168.21.20]<7> GTALK:Sending new candidate
[Dec 28 19:02:26][192.168.21.20]<7> GTALK:Sending new candidate
[Dec 28 19:02:36][192.168.21.20]<7> [SLIC]:Slic#0 ONHOOK
[Dec 28 19:02:36][192.168.21.20]<7> on hook



Notice that in the case when it does not work, STUNC is invoked and it comes back with error (i get same message when i enable or disable STUN for googletalk).
Notice that in the case when it works, the RTP stream is started.
i can clearly reproduce this error in the following way:
1. when obi is rebooted and then the call made it works fine.
2. when i go offline and then come back online again (you can see status of me updated in syslog) and then obi tries to call me, i run into this issue.

any inputs are appreciated.

earthtoobi

Obisupport- Had sent you an email separately yesterday on this issue. i see no responses from the community which means that only you can answer them.

usmclss

If you haven't already... try setting up port forwarding and your codec.

I port forwarded 5060-5061 and 16600-16998 to my obi and set the codec to only allow G711U and it's been rock solid for a month now. Prior to that I had one-way voice or no voice.

earthtoobi

@usmclss: GoogleChat does not use SIP. it uses XMPP. Google Chat client in Obi does not use ports specified as part of your profile(its applicable only for SIP).