[asterisk-bugs] [Asterisk 0013985]: No audio on outgoing Gtalk calls if /etc/hosts has Centos default; work-around provided

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 15 16:54:42 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=13985 
====================================================================== 
Reported By:                jcovert
Assigned To:                phsultan
====================================================================== 
Project:                    Asterisk
Issue ID:                   13985
Category:                   Channels/chan_gtalk
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 159558 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-11-28 10:41 CST
Last Modified:              2009-09-15 16:54 CDT
====================================================================== 
Summary:                    No audio on outgoing Gtalk calls if /etc/hosts has
Centos default; work-around provided
Description: 
If /etc/hosts includes the name of the host in addition to "localhost",
e.g.

127.0.0.1   blade14.on-state.com  blade14 localhost.localdomain localhost

chan_gtalk tries to set up the rtp audio channel on 127.0.0.1, which
obviously fails (see protocol exchange below).

Now, _I_ personally would never set up /etc/hosts that way, but this seems
to be a religious issue, and according to the IT guy who built the Linux
system for me to install Asterisk on, the Centos default is to include the
host name.

As soon as I changed the line to just

127.0.0.1 localhost.localdomain localhost

Gtalk calls worked just fine.

It would, however, be desirable for Gtalk to work without having to modify
/etc/hosts from the default, so it would work regardless of your religious
position on this issue.  I categorized this as "minor" since the workaround
is simple, but it's "major" for anyone of the "we must put the real
host-name in here" party.

/john
====================================================================== 

---------------------------------------------------------------------- 
 (0110748) svnbot (reporter) - 2009-09-15 16:54
 https://issues.asterisk.org/view.php?id=13985#c110748 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 218727

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_gtalk.c

------------------------------------------------------------------------
r218727 | tilghman | 2009-09-15 16:54:41 -0500 (Tue, 15 Sep 2009) | 44
lines

Merged revisions 139281,175058,175089 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk
(closes issue https://issues.asterisk.org/view.php?id=13985)

................
  r139281 | phsultan | 2008-08-21 04:55:31 -0500 (Thu, 21 Aug 2008) | 5
lines
  
  Fix two memory leaks in chan_gtalk, thanks Eliel!
  (closes issue https://issues.asterisk.org/view.php?id=13310)
  Reported by: eliel
  Patches:
        chan_gtalk.c.patch uploaded by eliel (license 64)
................
  r175058 | phsultan | 2009-02-12 04:31:36 -0600 (Thu, 12 Feb 2009) | 20
lines
  
  Merged revisions 175029 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r175029 | phsultan | 2009-02-12 11:16:21 +0100 (Thu, 12 Feb 2009) | 12
lines
  
  Set the initiator attribute to lowercase in our replies when receiving
calls.
  
  This attribute contains a JID that identifies the initiator of the
GoogleTalk
  voice session. The GoogleTalk client discards Asterisk's replies if the 
  initiator attribute contains uppercase characters.
  
  (closes issue https://issues.asterisk.org/view.php?id=13984)
  Reported by: jcovert
  Patches:
        chan_gtalk.2.patch uploaded by jcovert (license 551)
  Tested by: jcovert
  
  ........
................
  r175089 | phsultan | 2009-02-12 08:25:03 -0600 (Thu, 12 Feb 2009) | 6
lines
  
  Issue a warning message if our candidate's IP is the loopback address.
  
  (closes issue https://issues.asterisk.org/view.php?id=13985)
  Reported by: jcovert
  Tested by: phsultan
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=218727 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-15 16:54 svnbot         Note Added: 0110748                          
======================================================================




More information about the asterisk-bugs mailing list