This document will show you how to an Asterisk based PBX Server up.
General Settings
Inbound Route
Outbound Route
Sip Trunk
Peer detials :
username=username
authuser=username
fromuser=username
context=from-trunk
secret=password
host=41.203.30.5
dtmfmode=rfc2833
disallow=all
allow=ulaw&alaw
type=friend
User Detials:
type=peer
host=pbx.yourdomain.co.za
username=testing
port=5060
fromdomain=pbx.yourdomain.co.za
dtmfmode=rfc2833
disallow=all
qualify=yes
allow=ulaw&alaw
context=from-pstn
Register String:
username:password@pbx.yourdomain.co.za/username
Prevent Hacking