gtalk

Bruce

New Member
Joined
Nov 16, 2007
Messages
162
Reaction score
0
Even though Asterisk 1.4 natively supports gtalk, it is still very confusing to get it working without documentation.

It would be nice to have a FreePBX module or a script that easily integrates things and installs the iksemel package and provides sample configuration.
 

Vik

New Member
Joined
Nov 14, 2007
Messages
25
Reaction score
0
I Agree

It would be great to have a script.

Vik
 

darmock

PIAF Developer
Joined
Oct 18, 2007
Messages
2,892
Reaction score
98
I have the script for iksemel and am still working on the config stuff. For the moment I have been concentrating on getting my various scripts ported over to PBX in a Flash. I am just wrapping up the dailybackup one and should have the whole disk backup out the door in a day or so. The gtalk does interest me so hopefully it won't be too long before something automagically appears

Tom
 

Bruce

New Member
Joined
Nov 16, 2007
Messages
162
Reaction score
0
Tom, that's good news. There is absolutly nothing out there for gtalk (scripts). Did you have one for Trixbox?
 

Bruce

New Member
Joined
Nov 16, 2007
Messages
162
Reaction score
0
Hello Tom,

I know you are really busy with other maintenances and scripts but have you had a chance to look over gtalk for pbxinaflash?

Cheers
 

Vik

New Member
Joined
Nov 14, 2007
Messages
25
Reaction score
0
I followed the guide and got iksmel installed, however my asterisk won't load the jabber and gtalk modules

Code:
 Error loading module 'res_jabber.so': /usr/lib/asterisk/modules/res_jabber.so: cannot open shared object file: No such file or directory
The file is not there in the directory too! can I install this module manually or do I have to build asterisk from source? :eek:


Look here until I get things done

http://www.asterikast.com/episodes.php

view episode 4 it will get you started
 

darmock

PIAF Developer
Joined
Oct 18, 2007
Messages
2,892
Reaction score
98
cd /usr/src/asterisk
make menuconfig
choose channel drivers
4th from the top should be gtalk you need to enable this
Press X to save changes

Then

make clean
./configure
make
make install


See what happens then

Tom
 

Vik

New Member
Joined
Nov 14, 2007
Messages
25
Reaction score
0
Gtalk has XXX in front of it and can't be selected :(


any other ideas?

Thanks

Vik
 

jpe

Member
Joined
Nov 14, 2007
Messages
149
Reaction score
0
I looked at it and the [xxx] means it is missing a dependancy. On my set up it is telling me that res_jabber is missing. How and where to get it in, I don't have that knowledge, yet.
 

darmock

PIAF Developer
Joined
Oct 18, 2007
Messages
2,892
Reaction score
98
Ok to install jabber server

cd /root
wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

(again all on the same line)

rpm -ivh rpmforge-release-0.3.6-1.el5.rf.i386.rpm

yum -y install jabber*

This should install jabberd and dependencies.

You then need to go into the rpmforge.repo and disable it.

cd /etc/yum.repos.d

I use joe as my editor so the following commands relate to it. To install joe type yum -y install joe

joe repoforge.repo

using the down arrow key navigate to the 8th line and change

enabled = 1

to

enabled = 0

Then hold down the Control key (Ctrl) and tap K then X

This will save the file. Then try

make clean
./configure
make menuconfig - ensure gtalk is enabled
make
make install


I just tested this and it compiles on a vmware piaf 1.1 just fine.

As for implementation beyond that if someone has a post install guide I will finish the script up next and release it.



Tom
 

MatsK

New Member
Joined
Dec 17, 2007
Messages
9
Reaction score
0
And you did:
Install iksemel and the recompile Asterisk

# Recompile asterisk, it will just compile missing parts, not the whole shebang
run ./configure # Asterisk will now detect that iksemel is present
make menuselect # Select Jingle or was it Googletalk
make
make install
make samples

That is the normal procedure to install a new feature.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Really nice work, everybody! I want to write this up once we get it documented. It'll be a terrific addition to PBX in a Flash.
 

darmock

PIAF Developer
Joined
Oct 18, 2007
Messages
2,892
Reaction score
98
Further updates

OK

I have been playing with this now for a bit and there are some revisions to the procedure as I have noticed that the procedure outlined may not be as stable as it should be. I am winding everything into a script but for the hearty experimenters below is the modified procedure so far. This is for use on a new piaf system. BTW if your system stops remember this is EXPERIMENTAL at the moment. I don't usually release a script till I have tested it extensively but people are chomping at the bit. The procedure below reflects my project notes at the moment. Once it is completed and the documentation has been completed I will post this. I also may put this as a menu item on the update-source script.

1. Install gnutls-devel this is used instead of jabberd. I found jabberd cause some problems with asterisk -rvvvvvv Install -- yum -y install gnutls-devel

2. Install Speex - this seems to be what a number of people are using with gtalk doesn't seem to hurt

cd /usr/src
wget http://downloads.xiph.org/releases/speex/speex-1.2beta3.tar.gz
tar -xvzf speex-1.2beta3.tar.gz
rm speex-1.2beta3.tar.gz
mv speex-1.2beta3 speex
cd speex
./configure --prefix=/usr
make
make install-strip
ldconfig
cd ..

3. Install iksemel

cd /usr/src
wget http://iksemel.googlecode.com/files/iksemel-1.3.tar.gz
tar -xvzf iksemel-1.3.tar.gz
rm iksemel-1.3.tar.gz
mv iksemel-1.3 iksemel
cd iksemel
./configure --prefix=/usr
make
make install-strip
ldconfig
cd..

4. Compile asterisk

cd /usr/src/asterisk
make clean
./configure
make
make install
make samples


Now that it has been installed you need to configure it.... that is another message for the moment. Hope this helps.


Tom
 

Vik

New Member
Joined
Nov 14, 2007
Messages
25
Reaction score
0
Thanks Tom, Using your instructions, I got the box working.

Configuration seems to be a whole new beast!


Anyone who is successfully able make and receive calls using Piaf and gtalk, please post your config examples here.

Thanks

Vik
 

Members online

No members online now.

Forum statistics

Threads
25,782
Messages
167,509
Members
19,202
Latest member
pbxnewguy
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top