Hello,
Everything is working fine unless I have enabled firewall on asterisk server. After enabling firewall we are facing no audio problem in asterisk.
sip user is working fine behind the firewall but when I connected this sip user to gtalk user I have getting no audio. Calls are connected fine but I am not getting any audio and also following warning shows in the console window.
[Jun 25 14:08:42] WARNING[24307]: stun.c:406 ast_stun_request: ast_stun_request send #0 failed error -1, retry
[Jun 25 14:08:42] WARNING[24307]: stun.c:406 ast_stun_request: ast_stun_request send #1 failed error -1, retry
[Jun 25 14:08:42] WARNING[24307]: stun.c:406 ast_stun_request: ast_stun_request send #2 failed error -1, retry
Distros: CentOs 6.4
I am using Asterisk 10.0.1 version.
sip.conf file
[YYYY]
type=friend
host=x.x.x.x
disallow=all
allow=alaw
allow=ulaw
context=gtalk
qualify=yes
call-limit=50
gtalk.conf
[general]
context=google_talk_in
allowguest=yes
bindaddr=0.0.0.0
externip=z.z.z.z (static public IP)
disallow=all
allow=ulaw
allow=alaw
[guest]
disallow=all
allow=ulaw
allow=alaw
context=google_talk_in
jabber.conf
[general]
autoprune=no
autoregister=yes
collection_nodes=yes
pubsub_autocreate=yes
auth_policy=accept
[google_talk]
type=client
serverhost=talk.google.com
username=user@gmail.com/talk
secret=passwd ; Password
priority=1
port=5222
usetls=yes
usesasl=yes
statusmessage="online"
timeout=100
status=available
sendtodialplan=yes
context=send
If any one know why this problem occur behind the firewall pls let us know and what to change the configure.