[Asterisk-Users] chan_sip.c:5262 sip_reg_timeout Probably a DNS error for registration

Thomas thmeier at gmail.com
Wed Jan 18 15:35:55 MST 2006


Hello,

I have a problem with an LAN-Server behind an NAT-router.
Asterisk Version 1.2.1 or 1.2.2 doesnt matter

10 minutes after starting Asterisk I loose all registrations at external 
SIP-proxys.

The reason seemed to be that Asterisk send every second an request to every 
sip-proxy "Request: OPTIONS sip:sip.domain.tld". Every request is responded 
by the sip-proxy.
After some minutes it seemed to be enough for the sip-proxy and the sip-proxy 
is moving to status unregistered.

settings in sip.conf

externip= WAN-IP of the router
NAT = yes

I have forwarded all relevant ports from the router to the Asterisk-Server. 
The IP is static so there is no problem with the DNS.

I have no idea why Asterisk is sending every second this request to the 
SIP-Proxy.

Other functions are OK


chan_sip.c:5262 sip_reg_timeout:    -- Registration for 'user at sip-proxy' timed 
out, trying again (Attempt #11)
chan_sip.c:5345 transmit_register: Probably a DNS error for registration to 
user at sip-proxy, trying REGISTER again (after 60 seconds)



best regards

Thomas






More information about the asterisk-users mailing list