Dial plan scenario 4: Replacing source SIP extensions - Sipelia™ 2.8

Sipelia User Guide 2.8

series
Sipelia™ 2.8
revised_modified
2019-12-23

In this scenario, a dial plan rule is used to replace the source SIP extensions with a unique SIP extension that will be displayed to the recipients. This rule can be used to ensure the privacy of the callers.

Scenario

  • What do you want to do? Display a unique source SIP extension for any call that is made.
  • What you need to do before defining the rule? Select the SIP extension that will always be used as the source. In this scenario, 123456 is the selected SIP extension.
  • How can you do it? You need to create a rule that takes any call from Sipelia™ Server and replace the source SIP extension with 123456.

Example of the dial plan rule

The following is an example of a dial plan rule that accomplishes the above mentioned scenario.

The value labels identified below correspond to the column labels which appear on the Dial plans page of the Sipelia plugin role.

Value letter Value label Description
A Name The name of the rule indicates that it will replace the source SIP extension.
B Schedule The schedule is set to Always, meaning that the rule will always be verified.
C Status The status is set On, meaning that the rule is currently active.
D Direction from The field is set to local to look for calls that will be originating from Sipelia™ Server.
E Direction to The field is set to local to keep the calls local to Sipelia Server.
F Source The regular expression is set to (.*), meaning that the call can be made from any SIP extension registered to Sipelia™ Server.
G Destination The regular expression is set to (.*), meaning that the call can be made to reach any SIP extension.
H New source The regular expression is set to 123456 to change the SIP extension with this constant value.
I New destination The regular expression (.*) is used. This means that the called extension remains unchanged.

Result

Once this dial plan rule is imported into Config Tool, if any SIP extension registered to Sipelia™ Server dials any other SIP extension, the source extension 123456 will be displayed to the recipients.