•
•
•
•
•
•
Step Description Command Keys
5 Creating a pattern in a routing rule. esr(config-pbx-rule)# pattern
<REGEXP>
<REGEXP> – regular
expression specifying the
routing rule. Set by the string of
up to 256 characters. The rules
for creating regular
expressions are described in
section Dial plan configuration
example.
6 Applying a routing rule. esr(config-pbx-rule)# enable
7 Creating a SIP profile on a PBX Server. esr(config-pbx)# profile <PROFILE> <PROFILE> – name of the SIP
profile, that used by PBX server,
set by the string of 31
character.
8 Selecting a codec supported by a SIP
profile.
esr(config-pbx-profile)# codec
allow { G711A(alaw) |
G711U(ulaw) | G722 | G726 }
9 Selecting SIP profile type. esr(config-pbx-profile)# client
{ peer | user | friend }
peer – incoming and
outgoing calls are
allowed without
authorisation.
user – only incoming
calls are allowed.
friend – combines peer
and user profile types.
10 Choosing a NAT interaction policy
(optional).
esr(config-pbx-profile)# nat
{ comedia | force-port | both }
comedia – send media
stream to PBX port,
regardless of SDP
instructions.
force-port – use rport
even if it is not present.
both – combines
comedia and force-port.
11 Selecting a SIP profile routing plan. esr(config-pbx-profile)# ruleset
<NAME>
<NAME> – name of the routing
plan, set by the string of up to
31 characters.
12 Create a subscriber. esr(config-pbx)# user <user> <user> – phone number or
username, set by the string of
up to 31 characters.