Ids assignment
The Gateway Manager assigns a unique identifier to each board and to each
port of a board. Those identifiers are used when the Gateway Manager
needs to reference to a specific port on a board, for example, in the
channels status panel and to assign boards or ports to a physical
configuration or call control configuration.
Wanpipe Id vs. Wanpipe Interface Id
Both the Wanpipe Id and the Wanpipe Interface Id are identification
numbers given by the Sangoma driver to telephony ports
- On a digital board, each port (T1 or E1) is assigned a single
Wanpipe Id. Thus a A108D board has 8 wanpipe ids.
- On analog boards, the Sangoma driver will assign a Wanpipe Id to
the whole board (or boards in the case where multiple boards are
hooked by the remora) and each port of a board will be uniquely
identified by a Wanpipe Interface Id. For example, a A200D board with
2 FXOs and 2 FXS ports has a single wanpipe id and 4 wanpipe
interface ids.
These identifiers are used by the Sangoma boards in the Windows Device
Manager. To distinguish the ports of an analog board, the driver will
assign a Wanpipe Interface id for each port on this board. Hence,
to identify a specific port, the driver will use the following
pattern:
WANPIPE[wanpipeId]_IF[wanpipeInterfaceId]
Here is an example of the numbers that could be assigned in a system with
a A104 digital board and an A200 analog board with 2 FXO ports and 2 FXS
ports for a total of 4 ports.
The A104 digital board could get the following Wanpipe Ids:
- Port 1 gets Wanpipe Id 1
- Port 2 gets Wanpipe Id 2
- Port 3 gets Wanpipe Id 3
- Port 4 gets Wanpipe Id 4
The A200 analog board could get the following numbers:
- The board gets Wanpipe Id 5
- Port 1 (FXO) gets the Wanpipe Interface Id 1
- Port 2 (FXO) gets the Wanpipe Interface Id 2
- Port 3 (FXS) gets the Wanpipe Interface Id 3
- Port 4 (FXS) gets the Wanpipe Interface Id 4
Then, the driver would refer to port 1 of the A200 board like this:
Wanpipe5_IF1
It would refer to port 2 of the A200 board like this:
Wanpipe5_IF2
and so on for the other ports.