Hi,
I have centos 5 with asterisk 1.8.23.0 and I am able to configure it with gTalk and Jabber. I am new with this asterisk stuff and have some knowledge about linux.
[code]CLI> jabber show connections
Jabber Users and their status:
[gmail] xxxxx@gmail.com/Talk - Connected
Number of users: 1
[/code]
my sip.conf and iax.conf
[home-phone]
context=users
port=5060
type=friend
secret=123456
dtmfmode=rfc2833
nat=yes
host=dynamic
username=home-phone
and extensions.conf
[entrada-gtalk]
exten => s,1,Set(CALLERID(name)="Desde Google Talk")
exten => s,n,Dial(SIP/mINumeroSIP)
[saliente-gtalk]
exten => 200,1,Dial(gtalk/gmail/buddy@gmail.com)
[docs:users]
[users]
exten=>s,1,Answer()
exten=>s,n,Wait(2)
exten=>s,n,SendDTMF(1)
exten=>s,n,Dial(SIP/home-phone,20)
exten=>603,1,Dial(SIP/home-phone,60)
Gmail stuff I have taken from Spanish website.
sip show peers output:
CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status
home-phone/home-phone (Unspecified) D N 0 Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 1 offline]
netstat -apn |grep 5060 output:
netstat -apn |grep 5060
udp 0 0 0.0.0.0:5060 0.0.0.0:* 12319/asterisk
And on CLI, I have set these…
*CLI> core set verbose 5
*CLI> core set debug 5
*CLI> module reload logger
*CLI> logger rotate
*CLI> sip set debug on
Now on connecting with X-Lite
[color=#0040FF]-------------X-Lite Settings-------------------
Account name: Account 1
Protocol: SIP
Allow this call for
Call(checked)
IM/Presence(checked)
User Details:
userID : home-phone
domain : xx.xx.xx.xx:5060
password: 123456
Display name: home-phone
Authorization name: home-phone
Domain Proxy : selected Domain radio button
Dialplan:
Under Transport Tab: Automatic
Under Topology : None(use local IP address) is selected
[/color]
It give me this message:
Account failed to enable. Account: Account 1 could not be enabled. Verify your network data(e.g server address)
and on CLI, it does not show anything, any debug any message related to connection or registration.
It just keep showing:
JABBER: gmail INCOMING:
Or Jabber Keep Alive
Please help me out in connecting SIP account 
What if something is blocking on server? I have set iptables for 5060 and sip is listening on that port but may be on VPS it is blocked by service provider?


