Configuration Problen in sip.conf or extension.conf HELP

[Jul 25 00:53:55] NOTICE[9319]: chan_sip.c:13648 transmit_register: Strange, trying to register 30046@XXX.net when registration already pending
[Jul 25 00:54:10] NOTICE[9319]: chan_sip.c:13610 sip_reg_timeout: – Registration for '30046@XXX.net’ timed out, trying again (Attempt #2)

m using asterisk 1.8

sip.conf

[general]
context=default
allowguest=yes
disallow=all
allow=ulaw
dtmfmode=rfc2833
canreinvite=no
srvlookup=yes
localnet=192.168.0.44/255.255.255.0

register => nnnnnn:pppppp:nnnnnn@XXX.net/nnnnnn

[voiptalk]
type=peer
nat=yes
username=nnnnnn
secret=pppppp
fromuser=nnnnnn
host=sip01.us.overvoip.net
dtmfmode=rfc2833
fromdomain=XXX
context=default
port=5060

extension.conf

[general]
static=yes
writeprotect=no
clearglobalvars=no

[globals]
CONSOLE=Console/dsp ; Console interface for demo

[local]
include => default

[default]
include => demo

[demo]

exten => _1XXXXXXXXXX,1,Dial(SIP/voiptalk/${EXTEN},3600)

Asterisk is not getting a response to its register. This is not an extension.conf problem.

Look for bad NAT or firewall settings, or a wrong address in the register line.

I see no NAT related options, so unless you are on a real address, or the router has very good SIP support, this isn’t going to work.

allowguest=yes is generally a bad idea (security).

canreinvite is now called directmedia and will soon go.

You may find that you need insecure=invite, but don’t select this until you start getting incoming calls rejected with authentication failures and you are sure they are from the ITSP.