Hi All,
I am on gentoo linux and trying to setup asterisk 1.4. Unfortunately, the release version seems to have a bug in gtalk_chan which causes the asterisk server to abort.
Now the good part. After I patched asterisk with two patches (asterisk-gtalk-nofreeafteralloca.patch.txt, asterisk-gtalk-null.patch.txt) given here, I was able to get asterisk get going with google talk.
Now the rant. After sometime the asterisk users is shown as offline in the googletalk client. Although the jabber user is still connected:
desktop*CLI> jabber show connected
Jabber Users and their status:
User: trum@gmail.com/Talk - Connected
----top*CLI>
Number of users: 1
desktop*CLI> quit
Any idea what is going on? There is a timeout field in jabber.conf, is it supposed to rectify this?
Yes, I was able to successfully call between google-talk and asterisk. It works brilliantly. The only problem I am facing is that google talk is seeing the client go offline after some time as I mentioned.
hi i have been trying to integrate asterisk with gtalk would be if u can send me more details hw can we done u can drop a mail at click4nandu@gmail.com
Thanks in advance
well i am facing the exact opposite problem as of yours. my google client never goes offline unless i close my asterisk server, but i am still not able to make calls.
its like whenever i call from asterisk, it shows that the googletalk client is ringing while i do get the rings at my googletalk client but when i pick up the call drops and googletalk has no active calls, but at astersik the call stays at ringing process.
i would appreiciate if you help me out with this problem.
btw about your problem did you check the things i asked u in my earlier post???
The google talk support seems to be too flaky. Anyways here are my config files:
Jabber.conf
[general]
debug=yes ;;Turn on debugging by default.
;autoprune=yes ;;Auto remove users from buddy list.
autoregister=yes ;;Auto register users from buddy list.
[asterisk] ;;label
type=client ;;Client or Component connection
serverhost=talk.google.com ;;Route to server for example,
;; talk.google.com
;username=asterisk@astjab.org/asterisk ;;Username with optional roster.
username=me@gmail.com/Talk
secret=1234 ;;Password
port=5222 ;;Port to use defaults to 5222
usetls=yes ;;Use tls or not
usesasl=yes ;;Use sasl or not
;buddy=mogorman@astjab.org ;;Manual addition of buddy to list.
buddy=someone@gmail.com ;;Manual addition of buddy to list.
statusmessage="I can receive voice calls only and no messages. This is asterisk server" ;;Have custom status message for
;;Asterisk.
;timeout=100 ;;Timeout on the message stack.
this is what i get when i try to call from google talk to asterisk client…
the call connects but i hear no voice and within a min the call drops…
[code] == Starting Gtalk/buddy-bb2e at google-in,myaccount@gmail.com,1 failed so falling back to exten ‘s’
– Executing [s@google-in:1] NoOp(“Gtalk/buddy-bb2e”, " Call from Gtalk ") in new stack
– Executing [s@google-in:2] Set(“Gtalk/buddy-bb2e”, “CALLERID(name)=“From Google Talk””) in new stack
– Executing [s@google-in:3] Dial(“Gtalk/buddy-bb2e”, “SIP/far”) in new stack
– Called far
– SIP/far-084d0930 is ringing
[Jan 17 17:43:25] NOTICE[4260]: chan_gtalk.c:1336 gtalk_indicate: Don’t know how to indicate condition ‘3’
SIP/far-084d0930 answered Gtalk/buddy-bb2e
[Jan 17 17:43:29] NOTICE[4260]: chan_gtalk.c:1336 gtalk_indicate: Don’t know how to indicate condition ‘-1’
[Jan 17 17:43:29] WARNING[4260]: rtp.c:3102 ast_rtp_bridge: Can’t find native functions for channel ‘Gtalk/buddy-bb2e’
– Native bridging Gtalk/buddy-bb2e and SIP/far-084d0930 ended
== Spawn extension (google-in, s, 3) exited non-zero on ‘Gtalk/buddy-bb2e’[/code]
and this happen when i call from asterik to my google talk client …
Googletalk client gets a call, n i accept the call at the googletalk client but the asterisk client keep playing ringing, sooo basically not even connecting at all here…
[code] – Executing [200@TestCalls:1] Dial(“SIP/far-084cb3d8”, “gtalk/asterisk/buddy@gmail.com”) in new stack
-- Called asterisk/buddy@gmail.com
-- Gtalk/buddy@gmail.com-b30b is ringing
== Spawn extension (TestCalls, 200, 1) exited non-zero on ‘SIP/far-084cb3d8’[/code]
suggestions please, cause i am desprate to make this work… as its been months now that asterisk 1.4 is released and i am still stuck with Googletalk calling problems…
oh yeah my configuration is exactly similar to your configuration which is actually the default way to configuration, besides theres no rocket science in configuration as far as i know !
plus i use the link you gave for changing the gtalk.c code as well…
After a day of configuring a Debian 4, i was finally able to compile and install * 1.4.4. In adition i compiled an installed the iksemel1.2 libraries to support Gtalk, but when a start * i get the following message:
[color=red]
CLONIX:/usr/sbin# asterisk -r
asterisk: error while loading shared libraries: libiksemel.so.3: cannot open shared
object file: No such file or directory
CLONIX:/usr/sbin# [/color]
It would appear that libiksemel did not get installed properly. This is more of a Debian question then an Asterisk question per se, so not sure how best to approach.
I avoid Debian as it takes Ubuntu to make it ultimately useful.
I setup the config files, but how would I connect my ATA to my Asterisk which can use gtalk? what user name and pass should I put in the ATA? the ones in jabber.conf or gtalk.conf?
Hello everyone,
I had once same problem with loading libiksemel.
AFTER runing sudo make install it might be also necesary to run sudo ldconfig
Copying from /usr/local/lib to /usr/lib is not necesary as long as path to /usr/local/lib is present in /etc/ld.so.conf or in files in /etc/ld.so.conf.d/.
I followed your jabber/gtalk/extensions .conf files to configure my asterisk v1.4.17 on my Fonera running with an OpenWRT SVN firmware. I believe it is working now as shown below:
[code]root@192.168.1.2’s password:
BusyBox v1.8.2 (2008-02-12 15:28:32 EST) built-in shell (ash)
Enter ‘help’ for a list of built-in commands.
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -| || | | || || |
|_____|| |||||___||| |____|
|| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r10141) -------------------
10 oz Vodka Shake well with ice and strain
10 oz Triple sec mixture into 10 shot glasses.
10 oz lime juice Salute!
root@Fonerisk:~# rasterisk
Asterisk 1.4.17, Copyright (C) 1999 - 2007 Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.
Connected to Asterisk 1.4.17 currently running on Fonerisk (pid = 465)
Verbosity is at least 1
FoneriskCLI> jabber show connected
Jabber Users and their status:
User: xxxxx@gmail.com - Connected
----riskCLI>
Number of users: 1
FoneriskCLI> gtalk reload
IT DOES WORK!
FoneriskCLI>[/code]
Hi, I have the same problem that the first post. My asterisk´s gtalk client goes offline after a few hours of running. I can call on both directions and works very well. Any help would be appreciated.
My setup: Slackware 12.0, asterisk 1.4.19, running on PIII 1 GHz, with ATA Grandstream HT-386, and ADSL nat’ed internet connection.
Thanks!