Get help with installing, upgrading and running a PBX such as Asterisk.
By tombal
#1099
I am trying to configure an SIP trunk from voicehost.co.uk to work with Asterisk.

Although I set a non-specific catch-all inbound route, it comes up with the error:

Call from 'ST20042T001' (X.X.X.X:5060) to extension '+448XXXXXXX' rejected because extension not found in context 'inbound'
User avatar
By WelshPaul
#1101
To setup a Voicehost trunk in FreePBX...

Navigate to Connectivity > Trunks > make the following changes:

General Settings
Trunk Name: Voicehost

Outgoing Settings
Trunk Name: Voicehost
PEER Details:
Code: Select all
secret=PUT YOUR PASSWORD HERE
type=peer
insecure=port,invite
defaultuser=VOICEHOST USERID
fromuser=VOICEHOST USERID
context=from-trunk
canreinvite=no
fromdomain=st.sipconvergence.co.uk
host=st.sipconvergence.co.uk
nat=yes
disallow=all
allow=alaw&ulaw&gsm&g722
dtmfmode=rfc2833
Register String: VOICEHOSTUSERID:VOICEHOSTPASSWORD@st.sipconvergence.co.uk/YOUR DID NUMBER

Now navigate to Connectivity > Outbound Routes and configure it as shown below:
outbound.png
Outbound Route
Finally just create an inbound route by navigating to Connectivity > Inbound Routes as shown below:
inbound.png
Inbound Route
In the above I have my trunk ring a group, however just select the extension you want it to ring in on in your case. You can use the same values as shown above to setup your trunk in asterisk sip.conf.

The error in your post indicates you are receiving an inbound call, however instead of it going to extension 200 or whatever extension you want it t go to you have set it to go to extension +448XXXXXXX which does not exist. It's a phone number!
Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests

Supported Products: OBi504vs OBi508vs Firm…

Supported Products: OBi200 OBi202 OBi300 OB…

Enter your email address here: https://haveibeenpw…

Well, with VoiceHost you can! I needed to report …