hi all,
i need to ask you for some issues related to my gtalk account with asterisk, i can receive calls very well, but really i don’t know how to make a call to some gtalk account.
here is 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=Username@gmail.com ;;Username with optional roster.
secret=Gtalk Pass ;;Password
port=5222 ;;Port to use defaults to 5222
usetls=yes ;;Use tls or not
usesasl=yes ;;Use sasl or not
buddy=friend_mail@gmail.com ;;Manual addition of buddy to list.
statusmessage="Just Voice Calls Only" ;;Have custom status message for
;;Asterisk.
;timeout=100 ;;Timeout on the message stack.
gtalk.conf
[general]
context=from-internal
allowguest=yes
;
[guest]
disallow=all
allow=ulaw
context=guest
[buddy]
username=friend_mail@gmail.com
disallow=all
allow=ulaw
context=from-internal ;order apparently matters, needs to be placed after username= ?
connection=gtalk_account
extensions.conf
[google-in]
exten => s,1,NoOp( Call from Gtalk )
exten => s,n,Set(CALLERID(name)="From GTalk")
exten => s,n,Dial(SIP/6664)
[google-out]
exten => 6200,1,Dial(Gtalk/gtalk_account/friend_mail@gmail.com)
[incoming]
exten => 7070,1,Verbose(2,${CALLERID(all)} is joining the conference bridge.)
exten => 7070,n,JabberSend(username,friend_mail@gmail.com,${CALLERID(all)} is joining the conference bridge.)
exten => 7070,n,MeetMe(7070,d)
exten => 7070,n,Hangup()
I hope that this is helpful