c01.fm
30. June 2006
optiPoint 410/420 - Using with Asterisk, Configuration Guide 7
Configuration of Asterisk
Dial Plan
1. To generate the MD5 hash for the password, enter the following command into the
Linux command line:
echo -n "username:realm:secret" | md5sum
(in the example: echo -n "10:usergruppe@asterix:123456" | md5sum)
2. Enter the MD5 hash. In the example:
md5secret=9ef347178a279fffea649ac16c6b7510
host
Possible values are dynamic, an IP address or a host name. If the telephone is to register
itself, enter dynamic.
3.2 Dial Plan
Syntax:
exten => name, priority, application()
Example:
[myphones]
exten => 10,1,Dial(SIP/10,5,r)
exten => 11,1,Dial(SIP/11,5,r)
Explanations (for lines 1 and 2 in the example):
[myphones]
Context grouping several extensions. Other sections refer to this context, e.g. in the file
sip.conf.
exten =>
This indicates that one step of an extension is defined. Extensions define how Asterisk is
to act in case of an incoming call or if a certain number is entered in a channel.
10
Extension number. If this number is called, the actions defined in the corresponding exten-
sion are executed.
1
Priority of this step of the extension. An extension may consist of several steps executed
in the order of their priorities.