Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
-------------------------------
gtalk to server calls working:, from asterisk to gtalk it doesnt work.
--------------------------------------------------------------------------------
--
Hello users,
I am trying to integrate asterisk and gtalk.
my configuration is as follows
OS:centos
asterisk-1.6.0
asterisk-addons-1.6.0
dahdi-linux-2.2
dahdi-tools-2.2
libpri-1.4 share
iksemel-1.2
#/etc/asterisk/jabber.conf
[general]
debug=yes
autoprune=no
autoregister=no
[google]
type=client
serverhost=talk.google.com
username=XXXX at gmail.com
secret=xxxxx
port=5222
usetls=yes
usesasl=yes
statusmessage="Invox Google Talk"
timeout=100
# /etc/asterisk/gtalk.conf[general]
context=google-in
bindaddr=192.168.1.74
allowguest=yes
[guest]
;disallow=all
allow=ulaw
context=google-in
[test]
----------------------------------------------------------
Asterisk configuration:CHECK THE BELOW LINK:
--------------------------------------------
http://www.voip-info.org/wiki/view/Asterisk+config+files
username=YYYY at gmail.com
disallow=all
allow=ulaw
context=google-in
connection=google
# /etc/asterisk/extensions.conf
[google-in]
;Incoming
exten => s,1,NoOp(call from Google Talk)
exten => s,n,Set(CALLERID(name)="From Google Talk")
exten => s,n,Dial(SIP/1000,20,r)
exten => s,n,Hangup()
;Outgoing
exten => 100,1,JabberStatus(google,YYYY at gmail.com,STATUS)
exten => 100,n,NoOp(Jabber Status=${STATUS})
exten => 100,n,Dial(Gtalk/google/invoxgtalk at gmail.com/Talk)
exten => 100,n,Hangup()
# /etc/asterisk/rtp.conf
rtpstart=1650
rtpend=4560
-> i am able to call from my external gtalk client to the server configured
user
# this case is working fine
Executing [s at google-in:1] NoOp("Gtalk/YYYYY-49af", "call from Google
Talk") in new stack
Executing [s at google-in:2] Set("Gtalk/YYYYY-49af", "CALLERID(name)="From
Google Talk"") in new stack
Executing [s at google-in:3] Dial("Gtalk/YYYYY-49af", "SIP/1000,20,r") in new
stack
Using SIP RTP CoS mark 5
-- Called 1000