[asterisk-bugs] [Asterisk 0012647]: Gtalk call from Empathy - no corresponding codecs

noreply at bugs.digium.com noreply at bugs.digium.com
Fri May 23 05:56:17 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12647 
====================================================================== 
Reported By:                PH
Assigned To:                phsultan
====================================================================== 
Project:                    Asterisk
Issue ID:                   12647
Category:                   Channels/chan_gtalk
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0-beta8 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-14-2008 11:35 CDT
Last Modified:              05-23-2008 05:56 CDT
====================================================================== 
Summary:                    Gtalk call from Empathy - no corresponding codecs
Description: 
Gtalk call from empathy 0.23.1 to asterisk
works with asterisk 1.4.10 but not with 1.6-beta8.
We got common codecs but with different names :

JABBER: compteJabber INCOMING: <iq type="set"
to="serveurtable9 at 10.128.16.10/asterisk" id="6195793178"
from="phil at 10.128.16.10/Telepathy"> <session
xmlns="http://www.google.com/session"
initiator="phil at 10.128.16.10/Telepathy" type="initiate" id="1960770996">
<description xmlns="http://www.google.com/session/phone"> <payload-type
clockrate="16000" name="speex" id="96"/>
 <payload-type clockrate="8000" name="AMR" id="97"/>
 <payload-type clockrate="8000" name="GSM" id="3"/>
 <payload-type clockrate="8000" name="PCMA" id="8"/>
 <payload-type clockrate="8000" name="PCMU" id="0"/>
 <payload-type clockrate="16000" name="AMR-WB" id="98"/>
 <payload-type clockrate="8000" name="telephone-event" id="99"/>
</description>
</session>
</iq>
[May  7 16:27:16] WARNING[27590]: chan_gtalk.c:1177 gtalk_newcall:
Capabilities don't match : us - 0x27f9fff (g723|gsm|ulaw|alaw|g726|
adpcm|slin|lpc10|g729|speex|ilbc|g726aal2|g722|slin16|jpeg|png|h261|
h263|h263p|h264|mpeg4|t140), peer - 0x0 (nothing), combined - 0x0
(nothing) 

JABBER: compteJabber OUTGOING: <iq type='set'
from='serveurtable9 at 10.128.16.10/asterisk'
to='phil at 10.128.16.10/Telepathy' id='aaaac'><session type='reject'
id='1960770996' initiator='phil at 10.128.16.10/Telepathy'
xmlns='http://www.google.com/session'/></iq>

JABBER: compteJabber INCOMING: <iq type="result"
to="serveurtable9 at 10.128.16.10/asterisk" id="aaaac"
from="phil at 10.128.16.10/Telepathy"/>

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

---------------------------------------------------------------------- 
 svnbot - 05-23-08 05:56  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 118021

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_gtalk.c
U   branches/1.6.0/res/res_jabber.c

------------------------------------------------------------------------
r118021 | phsultan | 2008-05-23 05:56:13 -0500 (Fri, 23 May 2008) | 23
lines

Merged revisions 118020 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r118020 | phsultan | 2008-05-23 12:33:21 +0200 (Fri, 23 May 2008) | 15
lines

- remove whitespaces between tags in received XML packets before giving
them to the parser ;
- report Gtalk error messages from a buddy to the console.

This patch makes Asterisk "Google Jingle" (chan_gtalk) implementation
work with Empathy. Note that this is only true for audio streams, not
video.

Thank you to PH for his great help!

(closes issue http://bugs.digium.com/view.php?id=12647)
Reported by: PH
Patches:
      trunk-12647-1.diff uploaded by phsultan (license 73)
Tested by: phsultan, PH
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=118021 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-23-08 05:56  svnbot         Checkin                                      
05-23-08 05:56  svnbot         Note Added: 0087238                          
======================================================================




More information about the asterisk-bugs mailing list