---
name: ".isdnctrl_conf"
section: "8"
platform: "linux"
package: "isdnutils-base"
version: "1:3.25+dfsg1-10"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/.isdnctrl_conf"
---

# .isdnctrl\_conf(8)

- **writeconf** *file*

  Writes the configuration into a file. If *file* is omitted, the default file **/etc/isdn/isdn.conf** will be used.

- **readconf** *file*

  Reads the configuration from a file. If *file* is omitted, the default file **/etc/isdn/isdn.conf** will be used.

### Syntax of the configuration file

This syntax will be used for the options **readconf** and **writeconf.**

All entries are included in the section **\[ISDNCTRL\].** This section contains an entry **INTERFACES,** which describes the interfaces. Each subsection  **\[INTERFACE\]** or **\[SLAVE\]** describes one interface. There are the following entries possible:

- **NAME =** *name*

  The name of the interface. This entry is required.

  **Example:** NAME = ippp0

- **EAZ =** *eaz*

  Set the EAZ or the MSN. This entry is required.

  **Example:** EAZ = 4711

- **PHONE\_IN =** *num* **\[***num***...\]**

  Set the incoming phone number(s). It requires at least one blank between the different numbers.

  **Example:** PHONE\_IN = 08151234 08151235 08151236

- **PHONE\_OUT =** *num* **\[***num***...\]**

  Set the outgoing phone number(s).  It requires at least one blank between the different numbers.

  **Example:** PHONE\_OUT = 08151237 08151238

- **SECURE = on\|off**

  Turn on or off the security feature.

  **Example:** SECURE = on

- **CALLBACK = off\|in\|out**

  Selects callback mode.

  **Example:** CALLBACK = in

- **CBHUP = on\|off**

  Turns on or off hangup before starting callback.

  **Example:** CBHUP = on

- **CBDELAY =** *seconds*

  Set the callback delay to *seconds*.

  **Example:** CBDELAY = 5

- **DIALMAX =** *num*

  Set the number of dial atempts to *num*.

  **Example:** DIALMAX = 1

- **HUPTIMEOUT =** *seconds*

  Set the hanguptime to *seconds*.

  **Example:** HUPTIMEOUT = 20

- **IHUP = on\|off**

  Turns on or off the hangup timeout for incoming calls.

  **Example:** IHUP = on

- **CHARGEHUP = on\|off**

  Turns on or off hangup before next charge info.

  **Example:** CHARGEHUP = on

- **CHARGEINT =** *seconds*

  Sets the charge interval to *seconds*.

  **Example:** CHARGEINT = 1

- **L2\_PROT =** *protocol*

  Set the layer-2 protocol. Allowed values for *protocol* are **x75i**, **x75ui**, **x75bui** and **hdlc**.

  **Example:** L2\_PROT = hdlc

- **L3\_PROT =** *protocol*

  Set the layer-3 protocol. Allowed value for *protocol* is only **trans**.

  **Example:** L3\_PROT = trans

- **ENCAP =** *encapsulation*

  Sets the encapsulation mode. Allowed values for *encapsulation* are **rawip**, **ip**, **cisco\_h**, **cisco\_hk**, **ethernet**, **syncppp** and **uihdlc**.

  **Example:** ENCAP = rawip

- **ADDSLAVE =** *slave*

  Adds a slave interface for channel-bundling.

  **Example:** ADDSLAVE = s-ippp0

- **SDELAY =** *seconds*

  Set the delay in seconds for the slave-dialing.

  **Example:** SDELAY = 10

- **TRIGGER =** *cps*

  Set trigger level for slave-dialing.

  **Example:** TRIGGER = 4000

- **BIND =** *driverId***,***channel*

  Binds the current interface to a specific physical channel. Before and after the comma may not be a blank.

  **Example:** BIND = teles1,0

- **PPPBIND =** *num*

  Binds the current interface to the ippp device **/dev/ippp***X***.** This works only for synchronous ppp. The value must be a number.

  **Example:** PPPBIND = 0

- **Example for a configuration file**

  \[ISDNCTRL\]\
     INTERFACES = {\
       \[INTERFACE\]\
       NAME      = isdn0\
       EAZ       = 4711\
       PHONE\_IN  = 08151234\
       PHONE\_OUT = 08151234\
       SECURE    = on\
       DIALMAX   = 1\
       HUPTIMEOUT= 20\
       IHUP      = on\
       CHARGEHUP = on\
       L2\_PROT   = hdlc\
       L3\_PROT   = trans\
       ENCAP     = rawip\
       ADDSLAVE  = s-isdn0\
       SDELAY    = 10

      \[SLAVE\]\
       NAME      = s-isdn0\
       EAZ       = 4711\
       PHONE\_OUT = 08151234\
       SECURE    = on\
       DIALMAX   = 1\
       HUPTIMEOUT= 10\
       IHUP      = on\
       CHARGEHUP = on\
       L2\_PROT   = hdlc\
       L3\_PROT   = trans\
       ENCAP     = rawip

      \[INTERFACE\]\
       NAME      = ippp0\
       EAZ       = 4712\
       PHONE\_OUT = 08151235 08151236\
       SECURE    = on\
       DIALMAX   = 5\
       HUPTIMEOUT= 200\
       IHUP      = on\
       CHARGEHUP = on\
       L2\_PROT   = hdlc\
       L3\_PROT   = trans\
       ENCAP     = syncppp\
       PPPBIND   = 0\
     }
