gtalk & asterisk

cameron

Joined
Jul 18, 2009
Messages
6
Likes
0
Points
0
#1
i do everything i could to have gtalk on my asterisk but i got error message:
i follow the http://www.voip-info.org/wiki/view/Asterisk+Google+Talk without success

[Jul 2 12:47:19] WARNING[13325]: res_jabber.c:1573 aji_recv_loop: JABBER: socket read error

JABBER: asterisk OUTGOING: <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='gmail.com' version='1.0'>

JABBER: asterisk INCOMING: <stream:stream from="gmail.com" id="C7CD072426BC0CA3" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">

[Jul 2 12:47:19] ERROR[13325]: res_jabber.c:515 aji_act_hook: gnuTLS not installed. You need to recompile the Iksemel library with gnuTLS support

PLEASE HELP ME TO HAVE IT UP AND RUNING
 

azido

Joined
Aug 17, 2010
Messages
5
Likes
0
Points
0
#2
Hello ppl,

is there a way to make elastix 2 work with gtalk and openfire

there no module res_jabber.so in asterisk...

can somebody please explain why its not there.

all post related with jabber and gtalk doesnt get reply...

atlease let ppl know what the problem....
 

ramoncio

Joined
May 12, 2010
Messages
1,663
Likes
0
Points
0
#3
Hi azido, wellcome to the Elastix forum!

res_jabber.so is not compiled by default, you need to run 'make menuselect' before compilation and manually select it.

Here is a link that might help you:

http://michigantelephone.wordpress.com/ ... tallation/

You need to download the Asterisk srpm from Elastix, make sure it is the exact version you are running, make menuselect to select that channel driver and compile it.

Well, actually you can also download the sources from Digium and compile, but then you will not have all Elastix's specific patches, but they might not be needed by you, most of them just add some hardware support.

You can try to compile it in a different machine, and then try to copy res_jabber.so to your modules directory, this might also work, but I'm not sure.
 

azido

Joined
Aug 17, 2010
Messages
5
Likes
0
Points
0
#4
Thx a lot ramoncio

im testing it on my VM.
 

azido

Joined
Aug 17, 2010
Messages
5
Likes
0
Points
0
#5
Sorry for creating a new post it was a mistake

that how i have managed to enable both module.

Maybe i have miss something let me know if you having trouble

Install the following packages

Code:
yum install libtool libxml2-devel libxml2 gnutls-devel gnutls-utils
Download iksemel-1.4

Code:
wget http://iksemel.googlecode.com/files/iksemel-1.4.tar.gz
tar -xvf iksemel-1.4.tar.gz 
cd iksemel-1.4
./configure --prefix=/usr  --with-libgnutls-prefix=/usr --with-gnu-ld
make
make check
make install
Download asterisk-1.6.2.10-1.src.rpm

Code:
cd /tmp
wget http://repo.elastix.org/elastix/2/updates/SRPMS/asterisk-1.6.2.10-1.src.rpm 

useradd palosanto
chown -R palosanto /usr/src/redhat/
cp asterisk-1.6.2.10-1.src.rpm /home/palosanto/
su - palosanto
rpm -ivh asterisk-1.6.2.10-1.src.rpm
exit
cd /usr/src/redhat/SOURCES
tar -xvf asterisk-1.6.2.10.tar.gz
cd asterisk-1.6.2.10
./configure
make menuselect
select res_jabber & chan_gtalk

Code:
asterisk -rx "stop now"
amportal stop

make 
make install

amportal start

asterisk -rx "module show" | grep -E "res_jabber.so|chan_gtalk.so"
I have uploaded the two module test it and let me know.

Link: res_jabber.so & chan_gtalk.so
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,887
Members
17,566
Latest member
Fpino
Top