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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 25 09:11:48 CST 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-01-25 09:11 CST
====================================================================== 
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
====================================================================== 

---------------------------------------------------------------------- 
 (0117133) pier (reporter) - 2010-01-25 09:11
 https://issues.asterisk.org/view.php?id=13971#c117133 
---------------------------------------------------------------------- 
Hi again!
I have modified the chan_gtalk file. My target was to force a call from a
SIP endpoint to a gmail account in a web browser.

//First change: withowt this, there are no resources available for
Asterisk
snprintf(idroster, sizeof(idroster), "%s/%s", them, resources->resource);

//Before change it was...
if (resources)
   snprintf(idroster, sizeof(idroster), "%s/%s", them,
resources->resource);
else {
   ast_log(LOG_ERROR, "no gtalk capable clients to talk to.\n");
   return NULL;
}

//Second change: forces the gmail web client
tmp->ctype = AJI_CLIENT_GMAIL;

//Before change it was...
tmp->ctype = AJI_CLIENT_UNKNOWN;

Now Asterisk works correctly in input and output with gmail.
Despite i'm forcing asterisk to talk to a gmail in a web browser, it also
works correctly with the gtalk client. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-25 09:11 pier           Note Added: 0117133                          
======================================================================




More information about the asterisk-bugs mailing list