Asterisk settings 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>:210XXXX@chat.brain.net.pk:8891/210XXXX
disallow=all
allow=g729
allow=ulaw
allow=alaw
register => 210XXXX:<password>:210XXXX@chat.brain.net.pk: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.
[braintel]
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
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
[outgoing]
exten => _03XXXXXXXXX,1,Dial(SIP/${EXTEN}@braintel)
exten => _0NXXXXXXXX,1,Dial(SIP/${EXTEN}@braintel)
exten => _03XXXXXXXXX,1,Dial(SIP/${EXTEN}@braintel)
exten => _0NXXXXXXXX,1,Dial(SIP/${EXTEN}@braintel)
[incoming]
exten => 210XXXX,1,Answer()
exten => 210XXXX,1,Answer()
See also
- Asterisk | Tips & Tricks | FAQ
Created by: K2Man, Last modification: Mon 26 of Feb, 2007 (07:09 UTC)
Featured -
Search:

Page Changes















