Page 1 of 1

Registeration for 'username@provider_ip' timed out,

PostPosted: Tue Sep 02, 2014 9:18 am
by spotify
I installed go autodial and configured it as follow on my network A.

register => Gokxx:xxxxx@xx.xx.xx.xx:5060/Gokxx

[GokeS1]
disallow=all
allow=gsm
allow=ulaw
allow=alaw
type=friend
type=peer
svrlookup=yes
port=5060
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=very
insecure=invite
insecure=port,invite
fromdomain=xx.xx.xx.xx
fromuser=Gokxx
nat=yes
host=xx.xx.xx.xx
username=Gokxx
secret=xxxxxxx
=undefined


It worked fine. However on deploying the server in a different network A, I got the following log in asterisk despite changing the ip addresses where necessary

Connected to Asterisk 1.8.23.0-1-centos5.go RPM
Verbosity is at least 4
[Sep 2 15:02:01] NOTICE[3657]: chan_sip.c:13795 sip_reg_timeout: -- Registration for 'GokxX@XX.xx.xx.xx' timed out, trying again (Attempt #6)
[Sep 2 15:02:01] NOTICE[3657]: chan_sip.c:8208 sip_reg_timeout: -- Registration for 'GokxX@XX.xx.xx.xx' timed out, trying again (Attempt #7)
Parsing '/etc/asterisk/manager.conf': Found
Manager 'sendcron' logged on from 127.0.0.1
Parsing '/etc/asterisk/manager.conf': Found
Manager 'sendcron' logged on from 127.0.0.1
Manager 'sendcron' logged off from 127.0.0.1
Manager 'sendcron' logged off from 127.0.0.1
Parsing '/etc/asterisk/manager.conf': Found
Manager 'sendcron' logged on from 127.0.0.1
Manager 'sendcron' logged off from 127.0.0.1
[Sep 2 15:02:25] NOTICE[3657]: chan_sip.c:8208 sip_reg_timeout: -- Registration for 'GokxX@XX.xx.xx.xx' timed out, trying again (Attempt #8)
[Sep 2 15:02:25] NOTICE[3657]: chan_sip.c:8208 sip_reg_timeout: -- Registration for 'GokxX@XX.xx.xx.xx' timed out, trying again (Attempt #9)
[Sep 2 15:02:26] NOTICE[3657]: chan_sip.c:8208 sip_reg_timeout: -- Registration for 'GokxX@XX.xx.xx.xx' timed out, trying again (Attempt #10)
Parsing '/etc/asterisk/manager.conf': Found
Manager 'sendcron' logged on from 127.0.0.1
Manager 'sendcron' logged off from 127.0.0.1
Parsing '/etc/asterisk/manager.conf': Found
Manager 'sendcron' logged on from 127.0.0.1
Manager 'sendcron' logged off from 127.0.0.1
Parsing '/etc/asterisk/manager.conf': Found
Manager 'sendcron' logged on from 127.0.0.1
Manager 'sendcron' logged off from 127.0.0.1
[Sep 2 15:03:02] NOTICE[3657]: chan_sip.c:8208 sip_reg_timeout: -- Registration for 'GokxX@XX.xx.xx.xx' timed out, trying again (Attempt #11)
[Sep 2 15:03:02] NOTICE[3657]: chan_sip.c:8208 sip_reg_timeout: -- Registration for 'GokxX@XX.xx.xx.xx' timed out, trying again (Attempt #12)
[Sep 2 15:03:03] NOTICE[3657]: chan_sip.c:8208 sip_reg_timeout: -- Registration for 'GokxX@XX.xx.xx.xx' timed out, trying again (Attempt #13)
go*CLI>

I returned the server to the previous network A, reinstalled the program with the earlier configuration and it worked yet on bringing it to the network B it gave the log again. Please what am I to do?

Re: Registeration for 'username@provider_ip' timed out,

PostPosted: Wed Sep 03, 2014 1:20 am
by striker
are u able to ping you trunk provider IP.
also check whether you are able to ping google.com from the server ie: to make sure internet is available.

if both works then make sure the necessary ports are opened in your firewall
1. 5060 sip - UDP
2. 10000 to 20000 RTP - UDP