Hello,
I’m having problems logging in from my home computer to my asterisk server. Here is my configuration for that user in users.conf:
username = 6000
transfer = yes
mailbox = 6000
dynamic = yes
call-limit = 100
registersip = yes
context = DLPN_standard
cid_number = 6000
host = dynamic
hasvoicemail = yes
vmsecret = XXXX
email = vm@cornrow.org
threewaycalling = yes
type = friend
hassip = yes
secret = XXXXXXXX
nat = yes
canreinvite = no
dtmfmode = rfc2833
insecure = port,invite
disallow = all
allow = ulaw,gsm
The error I get is:
[Mar 28 18:23:19] NOTICE[11344]: chan_sip.c:7715 sip_reg_timeout: -- Registration for '6000@dynamic' timed out, trying again (Attempt #33)
[Mar 28 18:23:24] WARNING[11344]: chan_sip.c:2984 create_addr: No such host: dynamic
[Mar 28 18:23:24] WARNING[11344]: chan_sip.c:7798 transmit_register: Probably a DNS error for registration to 6000@dynamic, trying REGISTER again (after 20 seconds)
If I comment out the host = dynamic line, it tells me to add it.
Any ideas?
Thanks,
John