Creating a dial plan for a Beronet berofix that can select a line

With a Beronet Card, and proper configuration, you are able to choose the exact line/port from which to dial out. This feature is requested for lines that have different MSN/DID/DDI numbers. In addition it is useful for companies that are sharing a PBX and want to have each company use their telephone line to ensure transparent billing. This article explains how to configure this using a Beronet Berofix card.

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. 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.

Note: The destination is marked as (*) which means ANY DestinationThe example shows two 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. We now need to 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. Below is a screenshot of how the DIAL PLAN should look after you create the source.


Note: Priority will be respected Top to bottom so the position of the rules is very important.

Step2: Failover for outgoing calls

If you plan to use a forwarding rule to an external number, it is recommended to add one more rules to the current set of rules as a backup.  This rule will instruct the card to send this call out of any available outbound line should the above rules fail.
  • 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 VoIP/PSTN devices > Beronet PSTN gateway and expand.
  • Click on the Port you want to configure the outbound caller ID on and the Edit port interface will appear.
  • Navigate to “Other options” and set the Outbound Caller ID as shown in the figure.

Calls from this extension and or line will now be sent out via the appropriate ISDN line, in this example via line 2.

Liked this article?


Get notified of new articles
or share
You might also be interested in: