[asterisk-bugs] [Asterisk 0008970]: [patch] Asterisk to GoogleTalk client communications fail

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Aug 21 12:03:05 CDT 2007


The following issue has been set as RELATED TO issue 0010509. 
====================================================================== 
http://bugs.digium.com/view.php?id=8970 
====================================================================== 
Reported By:                phsultan
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   8970
Category:                   Channels/chan_gtalk
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4 
SVN Revision (number only!): 54001 
Disclaimer on File?:        Yes 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             02-02-2007 10:15 CST
Last Modified:              02-21-2007 14:31 CST
====================================================================== 
Summary:                    [patch] Asterisk to GoogleTalk client communications
fail
Description: 
Hi, 

Calling from a SIP phone an extension that opens a Gtalk channel causes
either a deadlock issue or unexpected call teardown.

In the first case (guest account is used in the gtalk.conf configuration
file), some mutex is kept locked, and Asterisk dumps explicit error
messages like :
[Feb  2 16:51:55] ERROR[18298]:
/home/sultan/src/asterisk/trunk/include/asterisk/lock.h:244
__ast_pthread_mutex_lock: chan_gtalk.c line 1530 (gtalk_parser): Deadlock?
waited 155 sec for mutex '&((struct gtalk *) data)->_lock'?

The second problem is caused by Asterisk not responding to a Gtalk IQ
(Information Query) from the remote GoogleTalk client. This makes the
GoogleTalk client close the call after some time.

The attached patch corrects those issues, and possibly other observed
failures in bug http://bugs.digium.com/view.php?id=8193.

Philippe Sultan
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0008503 chan_gtalk and chan_jingle outgoing cal...
related to          0010509 channel appear as UP before call being ...
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-21-07 12:03  phsultan       Relationship added       related to 0010509  
======================================================================




More information about the asterisk-bugs mailing list