- after setting up our extensions, we need users
- SIP phones login to the server using name/password
- define these at the end of sip.conf
- [jeremy]
type=friend
password=jeremy
context=linux3
host=dynamic
nat=yes
- password is unencrypted in this file
- nat=yes tells asterisk to ignore address info in the SIP headers, in an attempt to work around NAT
- context is where the extension is defined (we already did that)
- 'friend is matched on username for incoming calls, where peeris only matched on IP
- Short answer: always use friend
NEXT
PREVIOUS
Master Index