[asterisk-bugs] [Asterisk 0013971]: [branch] gtalk web no incoming or outgoing calls

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 15 09:01:59 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=13971 
====================================================================== 
Reported By:                adriavidal
Assigned To:                phsultan
====================================================================== 
Project:                    Asterisk
Issue ID:                   13971
Category:                   Channels/chan_gtalk
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-11-25 17:35 CST
Last Modified:              2010-04-15 09:01 CDT
====================================================================== 
Summary:                    [branch] gtalk web no incoming or outgoing calls
Description: 
Calls from or to asterisk done from or to a web enabled gtalk account are
not connected.


Here a put an example of an incoming call from web to Asterisk



There is a branch for this issue that should be used for testing:

http://svn.digium.com/svn/asterisk/team/phsultan/gmail-voice-video
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0014223 Gtalk/jingle fails with Empathy
====================================================================== 

---------------------------------------------------------------------- 
 (0120451) jcovert (reporter) - 2010-04-15 09:01
 https://issues.asterisk.org/view.php?id=13971#c120451 
---------------------------------------------------------------------- 
Update:

To eliminate the crash caused by the first of the two proposed changes in
117133, I have backed that out.  I still have the second change in place.

In order to find that there is a resource available, in the resource
search code immediately above piers first proposed change, after the check
for "jingle"

Existing code (on three lines per coding standard:
   if (resources->cap->jingle) { break; }

I have added a test that first ensures that resources->resource is
non-zero (don't want to introduce another similar bug) and then checks to
see if it begins with either "TalkGadget" or "android"

if (resources->resource && (strncmp(resources->resource, "TalkGadget", 10)
== 0
                            || strncmp(resources->resource, "android",
7))) {
    break;
}

It works; my client is happy but NERVOUS; his client is operational.

But I don't think this is ready to be turned into a patch.

How do we decide the RIGHT thing to do to determine how to support
Google's clients?  It seems to me (as I said above) that the RIGHT place to
make this work is in res_jabber, and we should probably either set "jingle
capable" and/or some other flag that gets tested in chan_jabber.  But I
don't know what, if any, real standardization is being done; Google may
just be "doing whatever they want" with no intention of "allowing"
interoperability with Asterisk or any other jabber clients.

/john 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-15 09:01 jcovert        Note Added: 0120451                          
======================================================================




More information about the asterisk-bugs mailing list