Difference between revisions of "Documentation"

From berofix - professional SIP gateway
Jump to: navigation, search
(Basic Network Setup)
(Basic Network Setup)
Line 34: Line 34:
 
  berofix#lspci<br>
 
  berofix#lspci<br>
 
  0000:03:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+  (rev 10)
 
  0000:03:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+  (rev 10)
 +
'''Output from ifconfig:'''
 +
  berofix#ifconfig
 +
eth1  Link encap:Ethernet  HWaddr 00:50:C2:83:D0:04 
 +
          inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.255.255.0
 +
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 +
          RX packets:12920014 errors:0 dropped:0 overruns:0 frame:0
 +
          TX packets:11879494 errors:0 dropped:0 overruns:24 carrier:0
 +
          collisions:0 txqueuelen:1000
 +
          RX bytes:2864269597 (2731.5 Mb)  TX bytes:2590970576 (2470.9 Mb)
 +
          Interrupt:18 Base address:0x2000
 
===Detecting berofix with bfdetect tool===
 
===Detecting berofix with bfdetect tool===
 
===Setup Network bridge===
 
===Setup Network bridge===

Revision as of 10:08, 15 June 2009

The berofix card overview

The following picture show you the schema of the berofix-baseboards.

Bf ansicht.png
Each Lineinterface socket has access to 2 slots. Slot 1 & 2 are applied to Lineinterface 0, while slot 3 & 4 applies to Lineinterface 1. Depending on the Lineinterface you are using, different slots with different Pin Out's are used.

The bf4S0 4 Port BRI module


The bf4S0 Lineinterface is a 4 Port BRI module. The bf4S0 Lineinterface can be configured individually for each port to NT (Network Termination) or TE (Terminal Equipment) mode. In either modes the module supports Point-To-Multi-Point (PMP) or Point-To-Point (PTP). The TE/NT mode as well as the Line termination of 100 ohms are selectable via software (Jumperfree). If you use a bf4S0 connected on Lineinterface socket 0 and use a bf4S0Bridge on Lineinterface socket 1, the 4 BRI Ports are lead through Slot 1-4 according to picture 2.

Bf ansicht lf.png
If you want to use two bf4S0 modules to get a 8 Port BRI card, you have to plug the first bf4S0module on Lineinterface socket 0 and the second one on Lineinterface socket 1, then the 8 BRI are lead through Slot 1,2,3,4 on a different way as described in picture 3.

Bf ansicht lf2.png
As you can see, on each slot two ports are connected. To help you connect your ISDN Lines in this special scenario we have the optional available external dongles “, the BNTAdapters” which can be used. If you use a bf4S0 modules without the above mentioned BF4S0Bridge (picture2) the Pin-Out is similar according to picture 3.

The bfXE1 1-2 Port PRI module


The bfXE1 PRI module are available as 1 Port BF1E1 or as 2 Port BF2E1 LineInterfaces. The bfXE1 module can be configured individually for each port to NT (Network Termination) or TE (Terminal Equipment) mode. The default Pin-Out of this module is always TE mode with PINS 1,2,4,5. If you want to use NT-mode you may need a cross cable which is optional available (the bnE1Crosscable). Line termination (120/75 ohms) is selectable for each port by DIP switches on the Lineinterface. The following example will show you the Slot and Pin-Out's when you plug a BN2E1 module on Lineinterface socket 0 and a BF1E1 module on Lineinterface socket 1.

Bf ansicht lf pri.png
As you can see, the bf2E1 connected on Lineinterface socket 0, lead out through Slot 1 and 2, while the bf1E1 connected on Lineinterface socket 1 uses Slot3. The next example will show you the Slot usage as well as the Pin-Out's, when you use a bf1E1 mixed with a bf4S0 Lineinterface.

Bf ansicht lf2 pri.png
In any combination of PRI LineInterfaces with BRI LineInterfaces, please always plug the PRI LineInterfaces on Lineinterface socket 0.

The bfXGSM 1-2 Port GSM module


The BFXGSM GSM module will be available as 1 Port BF1GSM or as 2 Port BF2GSM. Digital Audio quality with noise suppression and echo canceling is granted by the use of Quadband Siemens GSM Modules (850/900/1800/1900 Mhz). These LineInterfaces will be available during Q4 2009.

Getting started


The next chapters will describe you the basic steps to bring your new berofix card into your network, and how to configure it, that you can make SIP to ISDN calls and vice versa.

Basic Network Setup


As mentioned in chapter 1. berofix uses a Realtek PCI/PCIe Network Chip to communicate with the Host PC. Which means that the berofix looks like a network card, when you put it into a PC. The following examples will show you how you can identify your berofix card in your system.
Output from lspci for berofix PCI card:

berofix#lspci
0000:03:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

Output from ifconfig:

 berofix#ifconfig
eth1   Link encap:Ethernet  HWaddr 00:50:C2:83:D0:04  
         inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:12920014 errors:0 dropped:0 overruns:0 frame:0
         TX packets:11879494 errors:0 dropped:0 overruns:24 carrier:0
         collisions:0 txqueuelen:1000 
         RX bytes:2864269597 (2731.5 Mb)  TX bytes:2590970576 (2470.9 Mb)
         Interrupt:18 Base address:0x2000

Detecting berofix with bfdetect tool

Setup Network bridge

Setup Network using ip-forwarding

Configuring berofix via Web-interface

Activating changes

Dialplan

Adding new Dialplan entry

Dialplan entry examples

SIP

SIP Settings Overview

SIP-Options

SIP General Settings

ISDN

ISDN-Options

GSM

Hardware

Modify Hardware Settings

Preferences

Logging

Changing Password

Update Tool

Network settings

Backup and Restore

Management

State

Debug

Info

Reset

Reboot

Loggout

The Telnet Interface

Examples with Asterisk

Support