Quick Instructions on how to setup Asterisk for BrainTEL
BrainTEL only uses the g729 codec, make sure you have the g729 codec installed.
Replace 210XXXX with your BrainTEL number in the following examples:
SIP.conf
[general]
register => 210XXXX:<password>:[email protected]:8891/210XXXX
disallow=all
allow=g729
allow=ulaw
allow=alaw
Add allow=g729 immediately following disallow=all, for some reason BrainTEL SIP negotiations fail, if g729 is not listed as the first codec.
username=210XXXX
type=peer
secret=<password>
qualify=yes
progressinband=yes
port=8891
nat=yes
insecure=very
host=chat.brain.net.pk
fromuser=210XXXX
fromdomain=chat.brain.net.pk:8891
dtmfmode=rfc2833
disallow=all
context=from-trunk
canreinvite=no
authname=210XXXX
auth=md5
allow=g729
Extensions.conf
exten => _03XXXXXXXXX,1,Dial(SIP/${EXTEN}@braintel)
exten => _0NXXXXXXXX,1,Dial(SIP/${EXTEN}@braintel)
exten => 210XXXX,1,Answer()