; SIP Configuration for Asterisk
; LK 12/22/03 Modified
; LK 4/4/04 01 Comment out modifications additions for FWD
; LK 4/4/04 02 Remove the commented lines out for FWD
; LK 4/4/05 03 Remove grandstream commented lines
; LK 4/4/05 04 Change dynamic to fixed IP addresses

[general]
port = 5060 ; Port to bind to
bindaddr = 192.168.0.8 ; Address to bind to
;externip = 99.99.99.99 ; Public Address (required when behind a NAT)
context = default ; changed 1/18/04 LK to 'default' per manual
;context = from-sip ; Default for incoming calls
;srvlookup = yes ; Enable SRV lookups on outbound calls
;pedantic = yes ; Enable slow, pedantic checking for Pingtel
tos=reliability
tos=184
maxexpirey=180 ; Max length of incoming registration we allow
defaultexpirey=160 ; Default length ofincoming/outoing registration
;notifymimetype=text/plain ; Allow overriding of mime type in NOTIFY
;videosupport=yes ; Turn on support for SIP video
disallow=all ; Disallow all codecs
allow=ulaw
allow=alaw ; Allow codecs in order of preference
;allow=ilbc
;allow=gsm

;grandstream at desk
[1000]
type=friend
username=1000
;host=dynamic
host=192.168.0.160
reinvite=no
canreinvite=no
qualify=300
callerid="Larry's Desk" <1000>
mailbox=1000
nat=no
dtmfmode=info
disallow=all
allow=ulaw
allow=alaw

[1001]
type=friend
username=1001
;host=dynamic
host=192.168.0.162
reinvite=no
canreinvite=no
qualify=300
callerid="Martha's Desk" <1001>
mailbox=1001
nat=no
dtmfmode=info
disallow=all
allow=ulaw
allow=alaw