Brekeke PBX Wiki

Simulate outside lines

Here is an example configuration that simulates outside lines for a test or development environment.


  • Brekeke PBX node address:
  • SIP phone address used as outside line simulator:


Brekeke PBX side:

Create a new route in the [ARS] menu and configure it as follows.



Register URI : sip:6501234567@


[Patterns – IN]

[Apply to Request URI instead of To] -> Checked
[Apply only to calls related to registration] -> Checked

Deploy patterns:
To : 100

With this route configuration, an inbound call to destination 6501234567 is allowed on the PBX and forwarded to extension 100.


[Patterns – OUT]

Matching patterns:
To: sip:([0-9]{10,})@

Deploy patterns:
To: sip:&t1@

With this routing, calls with numbers longer than 10 digits will be forwarded to an external node, address, port 4060.

*This example assumes that there is a SIP phone simulating an outside line at address, and that the SIP phone uses port 4060 as its SIP port.


SIP phone side:

Place a SIP phone at address

Here we use PhonerLite as an example to explain the SIP phone settings.

1. Open the [Configuration] > [Server] tab and add the PBX address ( to [Proxy/Registrar]. The SIP port on the PBX side uses the default 5060, so there is no need to specify the port explicitly.

2. Uncheck [Register].


3. Open the [Configuration] > [User] tab and set an appropriate number. This number will be the source number when calling from this SIP phone to the PBX.


4. Specify the SIP port used by the SIP phone. Here, 4060 is set as an example.




To simulate an incoming call from an outside line, dial “6501234567” from the SIP phone set above to Brekeke PBX. All calls are forwarded to extension 100.


To simulate a call to an outside line, dial any number of 10 or more digits from another extension terminal registered on BrekekePBX. All calls will be forwarded to the SIP phone configured above.


Yes No
Suggest Edit