Configuration of Asterisk
30. June 2006
6optiPoint 410/420 - Using with Asterisk, Configuration Guide
c01.fm
SIP Registration
Example First User/Telephone:
[10]
type=friend
context=myphones
username=10
secret=123456
host=dynamic
Example Second User/Telephone:
[11]
type=friend
context=myphones
username=11
secret=123456
host=dynamic
Explanations:
type
Three types are available: peer, user and friend. For telephones (i.e. user agents) you
have to enter friend.
context
The section in extensions.conf that is valid for the particular user, has to be labelled with
the value used here; in the example: [myphones].
username
This parameter is only necessary if the user name contacted by Asterisk in case of an in-
coming call is different from the registered user name or if the user is not registered. The
user is registered under the name or the number heading the section.
secret
This is the password the user needs to register at the SIP server. If you do not want the
save the password in plain text, you can use md5secret instead of secret and use the
MD5 hash of a string consisting of the user name, realm and password for the value. In this
case, the following steps have to be completed: