[asterisk-bugs] [Asterisk 0012432]: Gtalk channel allocation fails after large number of buddy

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Apr 17 03:14:57 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12432 
====================================================================== 
Reported By:                visu
Assigned To:                phsultan
====================================================================== 
Project:                    Asterisk
Issue ID:                   12432
Category:                   Channels/chan_gtalk
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 114095 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-14-2008 01:17 CDT
Last Modified:              04-17-2008 03:14 CDT
====================================================================== 
Summary:                    Gtalk channel allocation fails after large number of
buddy
Description: 
I am running asterisk from latest trunk (Asterisk SVN-trunk-r114093M)

Gtalk works fine as long as few buddies are present. As soon as number of
buddies goes up, Gtalk channel allocation starts failing when making new
Gtalk call

ERROR[4917]: chan_gtalk.c:908 gtalk_alloc: no gtalk capable clients to
talk to.

I can see that Gtalk client is online, and jabber messages are flowing. I
can even enter text from the Gtalk client and see that it is received by
asterisk. Hence Gtalk is connected but no calls go through. 

System is not out of resource and asterisk is only taking few tens MB of
RAM and ample of RAM is available

As I mentioned, Gtalk call works fine if number of buddies are less and
hence I do not see this as a setup issue. 


====================================================================== 

---------------------------------------------------------------------- 
 phsultan - 04-17-08 03:14  
---------------------------------------------------------------------- 
Ok, as resources are dynamically attributed by Google's XMPP server, that
can explain the problem.

Do you actually receive the presence updates that reflect the login/logout
processes on time, or are they delayed for some reason?

If those packets are not processed by Asterisk, that's definitely a bug.
You should actually see verbose and debug messages on the console output
(stating for example 'JABBER: Handling paktype PRESENCE').

Also, can you test on an intermediate loaded system (eg. between 4 and
thousands of contacts :)) ?

Thanks! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-17-08 03:14  phsultan       Note Added: 0085598                          
======================================================================




More information about the asterisk-bugs mailing list