# Blinker - UDPv6 Phone Connector

The UDPv6 phone connector module provides an interface between an external phone interface (using EBIP protocol) and the internal operator connections. The calls coming in over EBIP, can be accepted depedning on the called number and forwarded to different modules over operator connections.

## Configuration

The configuration of the UDPv6 phone connector module with name `NAME` is located in the `udp4phones/NAME` subdirectory.

### Bind Address

The file `bind` contains the local address to bind to. It must contain the IPv6 address and the port, i.e. a string `[<IPv6>]:<port>` (hostnames are not supported). If the local address should be determined automatically, the file can contain `[::]:0`.

### Server Address

The file `server` contains the address of the EBIP server as a string `[<IPv6>]:<port>` (hostnames are not supported).
The phone connector module will register with this server and accept incoming calls.

### Extensions / Phone Numbers

The virtual extensions (i.e. phone numbers) that can be called via EBIP are configured in the subdirectory `extensions`.
Each extension is configured in its own subdirectory. E.g. the configuration for the extension with the phone number `12345678` resides in the subdirectory `extensions/12345678`.

The configuration inside an extension consists of the following settings:

#### Target Operator Connection Slot

The file `target` contains the name of the operator interface to contact via an operator connection if the extension is called.