![]() |
Optware.AsteriskGoogleTalk HistoryHide minor edits - Show changes to markup October 14, 2007, at 05:35 AM
by -- added gTalk config example - posted by \"dickmars\"
Changed lines 5-6 from:
I set up a new GMail? account XXXXX.asterisk@gmail.com. This shows up in my buddies' Google Talk client. Double clicking on it rings my Phone1 (Grandstream 2000) instantaneously. Dialing a 7000 series number on Phone1 connects me with the Google Talk client. Voice quality is pretty good. to:
I set up a new GMail account XXXXX.asterisk@gmail.com. This shows up in my buddies' Google Talk client. Double clicking on it rings my Phone1 (Grandstream 2000) instantaneously. Dialing a 7000 series number on Phone1 connects me with the Google Talk client. Voice quality is pretty good. October 14, 2007, at 05:31 AM
by -- added gTalk config example - posted by \"dickmars\"
Added lines 1-6:
After a fair amount of research, I have successfully integrated Google Talk into my Asterisk installation on the NSLU2. The pertinent complete .conf files are presented below. "XXXXXX" indicates where I am obscuring personal information. Three "buddies" are shown; more can be added. gtalk and jabber modules have to be loaded; they are not loaded by default. I set up a new GMail? account XXXXX.asterisk@gmail.com. This shows up in my buddies' Google Talk client. Double clicking on it rings my Phone1 (Grandstream 2000) instantaneously. Dialing a 7000 series number on Phone1 connects me with the Google Talk client. Voice quality is pretty good. Deleted lines 8-15:
After a fair amount of research, I have successfuly integrated Google Talk into my Asterisk installation on the NSLU2. The pertinent complete .conf files are presented below. "XXXXXX" indicates where I am obscuring personal information. Three "buddies" are shown; more can be added. gtalk and jabber modules have to be loaded; they are not loaded by default. I set up a new GMail? account XXXXX.asterisk@gmail.com. This shows up in my buddies' Google Talk client. Double clicking on it rings my Phone1 (Grandstream 2000) instantaneously. Dialing a 7000 series number on Phone1 connects me with the Google Talk client. Voice quality is pretty good. Is anyone else experimenting with such a set up? Changed line 25 from:
;;calling or accepting calls from to:
;;calling or accepting calls from Changed line 35 from:
debug=yes ;;Turn on debugging by default. to:
debug=yes ;;Turn on debugging by default. Changed lines 37-38 from:
autoregister=yes ;;Auto register users from buddy list. to:
autoregister=yes ;;Auto register users from buddy list. Changed lines 44-45 from:
;;roster. secret=Password ;;Password to:
;;roster. secret=Password ;;Password October 14, 2007, at 05:28 AM
by -- added gTalk config example - posted by \\\"dickmars\\\"
Added lines 1-82:
After a fair amount of research, I have successfuly integrated Google Talk into my Asterisk installation on the NSLU2. The pertinent complete .conf files are presented below. "XXXXXX" indicates where I am obscuring personal information. Three "buddies" are shown; more can be added.
gtalk and jabber modules have to be loaded; they are not loaded by default.
I set up a new GMail account XXXXX.asterisk@gmail.com. This shows up in my buddies' Google Talk client. Double clicking on it rings my Phone1 (Grandstream 2000) instantaneously. Dialing a 7000 series number on Phone1 connects me with the Google Talk client. Voice quality is pretty good.
Is anyone else experimenting with such a set up?
gtalk.conf
[general]
context=google-in ;;Context to dump call into
allowguest=yes ;;Allow calls from people not in
;;list of peers
bindaddr=192.168.1.XXX
externip=XXXXXX.homelinux.org
[guest] ;;special account for options on guest account
disallow=all
allow=ulaw
context=google-in
[asterisk]
username=XXXXXX.asterisk@gmail.com ;;username of the peer your
;;calling or accepting calls from
disallow=all
allow=ulaw
context=google-in
connection=asterisk ;;client or component in jabber.conf
;;for the call to leave on.
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=XXXXXXX.asterisk@gmail.com/Talk ;;Username with optional
;;roster.
secret=Password ;;Password
port=5222 ;;Port to use defaults to 5222
usetls=yes ;;Use tls or not
usesasl=yes ;;Use sasl or not
buddy=XXXXXXX1@gmail.com ;;Manual addition of buddy to list.
buddy=XXXXXXX2@gmail.com
buddy=XXXXXXX3@gmail.com
statusmessage=Digium Asterisk Server - Voice calls only ;;Have custom
;;status message for Asterisk.
timeout=100 ;;Timeout on the message stack.
extensions.conf
[google-in]
exten => s,1,NoOp( Call from GTalk )
exten => s,n,Set(CALLERID(name)="From Google Talk")
exten => s,n,Dial(SIP/phone1,20,tr)
[google-out]
exten => 7XX3,1,JabberStatus(asterisk,XXXXXXX3@gmail.com,STATUS)
exten => 7XX3,2,GotoIf($[${STATUS}<6]?3:5)
exten => 7XX3,3,JABBERSend(asterisk,XXXXXXX3@gmail.com, Hi XXXXXXX3 ${CALLERID(name)} at Ext. ${CALLERID(num)} is calling you.)
exten => 7XX3,4,Dial(Gtalk/asterisk/XXXXXXX3@gmail.com)
exten => 7XX3,5,Voicemail(6XXX,u)
exten => 7XX2,1,JabberStatus(asterisk,XXXXXXX2@gmail.com,STATUS)
exten => 7XX2,2,GotoIf($[${STATUS}<6]?3:5)
exten => 7XX2,3,JABBERSend(asterisk,XXXXXXX2@gmail.com, Hi XXXXXXX2 ${CALLERID(name)} at Ext. ${CALLERID(num)} is calling you.)
exten => 7XX2,4,Dial(Gtalk/asterisk/XXXXXXX2@gmail.com)
exten => 7XX2,5,Voicemail(6XXX,u)
exten => 7XX1,1,JabberStatus(asterisk,XXXXXXX1@gmail.com,STATUS)
exten => 7XX1,2,GotoIf($[${STATUS}<6]?3:5)
exten => 7XX1,3,JABBERSend(asterisk,XXXXXXX1@gmail.com, Hi XXXXXXX1 ${CALLERID(name)} at Ext. ${CALLERID(num)} is calling you.)
exten => 7XX1,4,Dial(Gtalk/asterisk/XXXXXXX1@gmail.com)
exten => 7XX1,5,Voicemail(6XXX,u)
|