cancel
Showing results for 
Search instead for 
Did you mean: 

PBX In A Flash

mickycollis
Grafter
Posts: 41
Registered: 27-09-2012

PBX In A Flash

Hi,
I am thinking about setting up PBX in a Flash, I have already got the software loaded and configured most of it.
I currently have two numbers so i'm needing to add two sip trunks.  can anyone help me with the following?
Outgoing Settings
Peer Details
username=5551231234 (your VoiceTrunking account assigned while signing up)
type=peer
secret=XXXXX (your VoiceTrunking password)
nat=auto
insecure=very
host=sip.VoiceTrunking.com
fromuser=5551231234
(your VoiceTrunking SIP account assigned while signing up)
fromdomain=sip.VoiceTrunking.com
dtmfmode=rfc2833
disallow=all
allow=g729
allow=ilbc
allow=ulaw
allow=alaw
Incoming Settings
USER Details
username=5551231234
(your VoiceTrunking SIP account assigned while signing up)
type=user
secret=XXXXXX (your VoiceTrunking password)
nat=auto
insecure=very
host=sip.VoiceTrunking.com
fromdomain=sip.VoiceTrunking.com
dtmfmode=rfc2833
disallow=all
context=from-trunk
allow=g729
allow=ulaw
allow=alaw
allow=ilbc
REGISTRATION STRING 5551231234:XXXXXXXX@sip.voicetrunking.com/55551231234
I have tried these examples and they are not working. Any advise would be great
Thanks

3 REPLIES
Phaeton
Grafter
Posts: 60
Thanks: 2
Registered: 26-06-2007

Re: PBX In A Flash

Why do you need 2x SIP trunks? Does your provider restrict you to a single channel per trunk?
Also on a more important note have have you made sure that your box is 100% secure, VoIP fraud is the biggest issue that a newbie will have. Once it is released onto the Internet it will be attacked in about 30 minutes of scum trying to get calls at your expense.
Alan...
TimeRider
Grafter
Posts: 84
Registered: 12-07-2013

Re: PBX In A Flash

Digging up an old post, but for anyone doing their own VOIP:
fail2ban - configured correctly will block out attackers for a specified amount of time.
iptables - configured correctly you can tie down the IP addresses that are allowed to access your system.
if your system doesn't need access to outside, don't forward the ports - security is always a risk, though if done right can be mitigated.
Asides from freepbx (I used to write installation scripts for freepbx), consider 'freeswitch'. Much more modern, much more configurable, but likely you'll want to know your way around the linux console.
Steve
http://www.northumberland-it.com
plusbg
Grafter
Posts: 26
Registered: 24-05-2015

Re: PBX In A Flash

Hey Steve, I believe I've tried to say hello to you a few times on #freepbx I believe :-) Certainly heard good things about you :-)