Broken something sip_chan.c extension not found

Hello,

I had everything working fine and decided to add app_swift to the system… Now I get NOTICE[25709]: chan_sip.c:17295 handle_request_invite: Call from ‘4863581’ to extension ‘4863581’ rejected because extension not found.

I’ve stripped out app_swift and removed all traces of asterisk and reinstalled but still have the problem.

sip.conf:
[general]
context=default
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
tcpenable=no
tcpbindaddr=0.0.0.0
recordhistory=yes
disallow=all
allow=ulaw
allow=alaw
allow=ilbc
allow=g729
allow=gsm
allow=all
srvlookup=yes
register => 4863581:PASSWORD@sipgate.co.uk/4863581

[sipgate]
type=friend
username=4863581
secret=PASSWORD
host=sipgate.co.uk
fromuser=4863581
fromdomain=sipgate.co.uk
nat=no
authuser=4863581
dtmfmode=auto
context=from-sipgate
insecure=invite
canreinvite=yes
disallow=all
allow=ulaw
allow=alaw
qualify=yes

extensions.conf:
[general]
static = yes
writeprotect = yes
priorityjumping = yes
clearglobalvars = yes

[from-sipgate]
exten => h,1,Hangup
exten => 4863581,1,Answer
exten => 4863581,2,Goto(menu,s,1)

[menu]
exten => s,1,Background(menu)
exten => s,2,WaitExten(3)

[default]
include => from-sipgate

I’ve found my mistake. I use joe as an editor and I must have hit a control key that added [B on a blank line so pbx_config refused to load.

I wondered why I couldn’t run a dialplan reload, the option was completely missing along with most of the show command.