[asterisk-bugs] [Asterisk 0012066]: Gtalk call fails unless restarts (Maybe?! reopening issue 10707)
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Feb 26 12:00:58 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12066
======================================================================
Reported By: ffadaie
Assigned To: phsultan
======================================================================
Project: Asterisk
Issue ID: 12066
Category: Channels/chan_gtalk
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
Asterisk Version: 1.4.18
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 02-25-2008 14:43 CST
Last Modified: 02-26-2008 12:00 CST
======================================================================
Summary: Gtalk call fails unless restarts (Maybe?! reopening
issue 10707)
Description:
I am having the exact same issue as described in 10707. It seems that this
is not completely resolved.
Here is a bit more details:
Asterisk is logged in as abc at gmail.com. I add abc at gmail.com as new buddy
to my own gtalk account xyz at gmail.com. As soon as I add it, Asterisk
receives presence information and supposedly add it to its buddy. However,
when I try to call xyz at gmail.com from my Asterisk, the call does not go
through!
Now, if I restart Asterisk, everything will be fine. In other words,
whenever somebody adds Asterisk user (abc at gmail.com) as buddy, Asterisk
must be restarted otherwise no calls can be made from Asterisk to that
person.
Here is the console log when user xyz at gmail.com adds abc at gmail.com as
buddy:
JABBER: asterisk INCOMING: <presence type="subscribe" to="abc at gmail.com"
from="xyz at gmail.com"/>
JABBER: asterisk OUTGOING: <presence type='subscribed' to='xyz at gmail.com'
from='abc at gmail.com/TalkFEC6CAF7'><status>Asterisk has approved
subscription</status></presence>
localhost*CLI>
JABBER: asterisk INCOMING: <iq to="abc at gmail.com/TalkFEC6CAF7"
id="3F692613" type="set"><query xmlns="jabber:iq:roster"><item
jid="xyz at gmail.com" subscription="from" ask="subscribe"/></query></iq>
localhost*CLI>
JABBER: asterisk INCOMING: <presence type="subscribed"
from="xyz at gmail.com" to="abc at gmail.com"/>
localhost*CLI>
JABBER: asterisk INCOMING: <iq to="abc at gmail.com/TalkFEC6CAF7"
id="3F69262A" type="set"><query xmlns="jabber:iq:roster"><item
jid="xyz at gmail.com" subscription="both"/></query></iq>
localhost*CLI>
JABBER: asterisk INCOMING: <presence
from="xyz at gmail.com/Talk.v104D279DA8E"
to="abc at gmail.com"><status/><priority>24</priority><c
node="http://www.google.com/xmpp/client/caps" ver="1.0.0.104" ext="share-v1
voice-v1" xmlns="http://jabber.org/protocol/caps"/><x
stamp="20080225T20:27:28" xmlns="jabber:x:delay"/><x
xmlns="vcard-temp:x:update"><photo/></x></presence>
[Feb 25 15:18:14] NOTICE[18292]: res_jabber.c:1179 aji_handle_presence:
Got presence packet from xyz at gmail.com, someone not in our roster!!!!
localhost*CLI>
When I try to call xyz at gmail.com at this moment I get the error that there
is no gtalk capable client to talk to!
The error goes away as soon as I restart Asterisk!
======================================================================
----------------------------------------------------------------------
ffadaie - 02-26-08 12:00
----------------------------------------------------------------------
In my case that is not really possible. It's very dynamic and Asterisk is
working as a bridge. So, each time a user is added, we have to go and
him/her to jabber.conf. It is extremely difficult to manage this in an
environment with more than 10 Asterisk boxes. :) [specially without
realtime]
We will be waiting for the patch.
Thanks for your quick response.
Issue History
Date Modified Username Field Change
======================================================================
02-26-08 12:00 ffadaie Note Added: 0082971
======================================================================
More information about the asterisk-bugs
mailing list