Sipgate UK registration ok, peer UNREACHABLE

Hi all,

Having a slightly strange problem, my trunk to sipgate.co.uk is not coming up - ‘sip show registry’ everything is ok, but in ‘sip show peers’ it shows as UNREACHABLE.

I used to use asterisk 1.6 on ubuntu and everything worked fine, but I am now on 1.8 using debian although I wouldn’t have thought that would cause an issue originally.

[code]
externhost=plymouth.trouter.co.uk
nat=yes

[aaron-sipgate]
type=friend
nat=yes
context=from-internal
fromuser=110xxxx
defaultuser=110xxxx
authuser=110xxxx
secret=SECRETHERE
host=sipconnect.sipgate.co.uk
fromdomain=sipgate.co.uk
outboundproxy=proxy.sipgate.co.uk
dtmfmode=rfc2833
insecure=invite,port
qualify=yes
srvlookup=yes
disallow=all
allow=ulaw
allow=alaw[/code]

This is what I get in the console when trying to make an outbound call:

== Using SIP RTP CoS mark 5
    -- Executing [0800500005@from-internal:1] GotoIf("SIP/801-0000000b", "1?aaron") in new stack
    -- Goto (from-internal,0800500005,3)
    -- Executing [0800500005@from-internal:3] Dial("SIP/801-0000000b", "SIP/0800500005@aaron-sipgate") in new stack
[Jan 12 16:07:50] WARNING[29579]: app_dial.c:2274 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Auto fallthrough, channel 'SIP/801-0000000b' status is 'CHANUNAVAIL'

Any help would be greatly received,

Aaron

Is your Asterisk server behind a NAT router or does it have a direct IP address?

If your Asterisk server is behind a NAT router (accessing the internet via a NAT router), you need to set “localnet=” and “externip=” parameters in sip.conf.