Creating a dial plan for a Beronet berofix that can select a line
For this scenario we will need the line numbers for each ISDN line. In this example we will use the following line numbers:
- ISDN Line1: Number 22444XXX (xxx for DIDs)
- ISDN Line2: Number 22446XXX (xxx for DIDs)
Step 1: Modification of Source for outbound calls (direction SIP-ISDN )
The Berofix card will choose to route a call on a particular ISDN line based on the caller ID for the call. So you need to enter the caller IDs that should go out onto a particular line in the dial plan. Log on to the Berofix web interface, switch to the dial plan section and add or modify your outbound rule as shown in the screenshot.
Notes: The destination is marked as (*) which means ANY Destination
The example shows 2 dial plan entries, one which routes all calls starting with caller ID 22444* via the 70004 interface and the other routes all calls starting with caller ID 224446* via the 70005 interface. Now we need instruct the card to rewrite the caller ID using a variable. In this example the ‘New Source’ entry must be changed to \1\2. For more information reference the Berofix Dial plan documentation or the 3CX Forum. Below is a screenshot of how the DIAL PLAN should look after you create the source.

Figure of Beronet DIAL PLAN configuration. Note: Priority will be respected Top to bottom so the position of the rules is very important.
Step2: Failover for outgoing calls
- Pick one of the SiP Trunks, and bind it to the ISDN Group.
- Place this rule at the end of the dial-plan by moving it down using the arrows.
- Set the Outbound Caller ID of the ISDN Line in case of a fallback if the extension has no Caller ID set.
Step3: Set the Outgoing Caller ID in 3CX Phone System
Now we need to configure 3CX Phone System to add the Caller IDs that we configured in Step 1 to the Caller IDs for the extensions and/or the lines that we wish to have dial out over this particular ISDN line. This number must match with the rules created in the Berofix dial plan in step 1.
- In the 3CX Management Console, go to PSTN devices > Beronet PSTN gateway and expand the lines.
- Click on the Port you want to configure the outbound caller ID on and the Edit port interface will show.
- Navigate to Other options and set the Outbound Caller ID as shown in the figure below.
Calls from this extension and or line will now be sent out via the appropriate ISDN line, in this example via line 2.
