[asterisk-bugs] [Asterisk 0015634]: [patch] [branch] Implement standard XMPP Jingle in Asterisk

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 30 08:55:40 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15634 
====================================================================== 
Reported By:                sles
Assigned To:                phsultan
====================================================================== 
Project:                    Asterisk
Issue ID:                   15634
Category:                   Channels/chan_jingle
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                       SWP-702 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-08-03 00:59 CDT
Last Modified:              2010-04-30 08:55 CDT
====================================================================== 
Summary:                    [patch] [branch] Implement standard XMPP Jingle in
Asterisk
Description: 
Hello!

psi 0.13 is just released, with jingle support.
it is not gtalk compatible, but, according to developers , it is jingle
specification compatible
http://forum.psi-im.org/thread/5335
it will be good if psi will work with asterisk...

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

---------------------------------------------------------------------- 
 (0121216) phsultan (manager) - 2010-04-30 08:55
 https://issues.asterisk.org/view.php?id=15634#c121216 
---------------------------------------------------------------------- 
I added a patch that applies to the jingle-support branch that solves the
SPEEX compatibility issue between PSI and Asterisk.

The main problem is that PSI comes with 16 kHz SPEEX, whereas Asterisk
handles 8 kHz. Now, from Asterisk, incoming 16 kHz SPEEX packets can be
treated as 8 kHz, as SPEEX packets are properly separated in lower and
higher bandwidths. This means that we don't need to modify anything in
Asterisk SPEEX code to handle 16 kHz SPEEX packets.

The thing is that we still need to send 16 kHz SPEEX packets to PSI, and
this is the purpose of this patch. Basically, we just need to set the SPEEX
encoder to wideband mode, take 16 kHz samples and explicitly set the
internal SPEEX sample rate to 16000.

This is just a hack. We need either a proper wideband SPEEX implementation
or wait for PSI to come up with compatible codecs.

Tested with PSI 0.14 on a MAC OS 10.4 platform. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-30 08:55 phsultan       Note Added: 0121216                          
======================================================================




More information about the asterisk-bugs mailing list