Hi guys,
Been going round the bend trying to resolve this one:
When a call from any of my SIP trunks comes in it is rejected.
The log in Asterisk reports:
NOTICE[15485] chan_sip.c: Call from ‘AUserName’ to extension ‘68256133’ rejected because extension not found.
It is reported to the caller as an invalid number at the telco.
I am using FreePBX 2.7.04 with Asterisk 1.6
I have an inbound route defined with 68256133 as the DID
My Trunk Settings are as follows:
TrunkName AVSTrunk
disallow=all
useragent=Asterisk PBX
regseconds=180
registertimeout=20
register=MyRegistrationsText
port=5060
language=en
dtmfmode=rfc2833
context=from-pstn
bindport=5060
bindaddr=0.0.0.0
allowoverlap=no
allow=g729&ulaw&alaw
username=MyUserName
type=peer
secret=MySecret
insecure=very
host=pan.wxnz.net
fromuser=68256133
fromdomain=pan.wxnz.net
canreinvite=no
User Context: 68256133
username=68256133
type=user
secret=MySecret
fromuser=68256133
context=from-pstn
=======================================
Some of the above is probably wrong / inappropriate thanks to some judicious fluffing around trying to get the Trunk to register (now working beautifully apart from the inward bound problem) and trying to find a solution to make it work.
Thanks in advance for your suggestions and help
Andrew