82. ISDN

ISDN data

82.1. Summary of Module Globals

List of Global Functions

  • CountIF - Count of valid interface entries

  • Export -

  • Import -

  • Locate - Locate interfaces of the given key and value

  • Modified - Data was modified?

  • NetDeviceList - List of configured interface entries

  • OverviewDev -

  • PrepareInterface - If not allready done set a valid interface

  • Read - Read all ISDN settings from the SCR

  • SelectInterface - Displays a popup to select one interface to be the current interface

  • Summary - Build a textual summary and a list of unconfigured cards

  • TestDev - Test the given card settings

  • Write - Update the SCR according to network settings

  • WriteOnly - Only write configuration without starting any init scripts and SuSEconfig

List of Global Variables

  • AbortFunction - Abort function return boolean return true if abort

  • ISDNCDB - ISDN database based on CDB

  • have_dsl - Flag for Fritz!card DSL configuration

  • hw_device - hold current device settings

  • interface - hold current interface settings

  • operation - Which operation is pending?

  • skip - If the interface or provider configuration is skipped

82.2. Global Functions

82.2.1. CountIF

Count of valid interface entries

Return value

  • integer - count

82.2.2. Export

Return value

  • map

82.2.3. Import

Function parameters

  • map settings

Return value

  • boolean

82.2.4. Locate

Locate interfaces of the given key and value

Function parameters

  • string key

  • string val

Return value

  • list<string> - of devices with key=val

82.2.5. Modified

Data was modified?

Return value

  • boolean - true if modified

82.2.6. NetDeviceList

List of configured interface entries

Return value

  • list<string> - <strings>

82.2.7. OverviewDev

Return value

  • list

82.2.8. PrepareInterface

If not allready done set a valid interface

Return value

  • boolean - true if the selection was successful false if here aren't any interfaces

82.2.9. Read

Read all ISDN settings from the SCR

Return value

  • boolean - true on success

82.2.10. SelectInterface

Displays a popup to select one interface to be the current interface

Function parameters

  • boolean auto

Return value

  • boolean - true if the selection war successful false if here aren't any interfaces

82.2.11. Summary

Build a textual summary and a list of unconfigured cards

Function parameters

  • boolean split

Return value

  • list - summary of the current configuration

82.2.12. TestDev

Test the given card settings

Function parameters

  • string dev

Return value

  • boolean - true on success

82.2.13. Write

Update the SCR according to network settings

Function parameters

  • boolean start

Return value

  • boolean - true on success if start is true, load drivers and interfaces

82.2.14. WriteOnly

Only write configuration without starting any init scripts and SuSEconfig

Return value

  • boolean - true on success

82.3. Global Variables

82.3.1. AbortFunction

Abort function return boolean return true if abort

82.3.2. ISDNCDB

ISDN database based on CDB

map with two keys, of maps: Cards: map, keyed by integers, of maps: CardID: integer (the key) VendorRef: integer bus: string (ISA) class: string (ISDN Single/Multiple Basic Rate) device: integer driver: list of driver maps features: integer lines: integer longname: string name: string revision: integer subdevice: integer subvendor: integer vendor: integer Vendors: map, keyed by integers, of maps: VendorID: integer (the key) name: string refcnt: integer shortname: string

82.3.3. have_dsl

Flag for Fritz!card DSL configuration

82.3.4. hw_device

hold current device settings

handled items are line specific PROTOCOL D-channel protocol AREACODE international area code DIALPREFIX dialprefixfor PBX setups hw specific PARA_IO IO address for legacy ISA PARA_MEMBASE memory base address for legacy ISA PARA_IRQ IRQ number for legacy ISA PARA_TYPE card type PARA_SUBTYPE card sub type NAME full card name DRIVER driver module name STARTMODE "auto"|"manual"|"hotplug" DEBUG debuglevel UNIQUE unique hw id

82.3.5. interface

hold current interface settings

handled items are IPADDR local IP address REMOTE_ADDR remote IP address DEFAULTROUTE default route yes/no DYNAMICIP dynamic IP assignment yes/no PROTOCOL encapsulation "rawip" | "syncppp" MSN own phone number CHARGEHUP try to hangup on idle just before next charge CALLBACK callback mode CBDELAY callback delay STARTMODE auto | manual | hotplug USERCONTROL controllable bt user yes/no MULTILINK channel bundling yes/no PROVIDER default provider filename IPPPD_OPTIONS additional ipppd options

82.3.6. operation

Which operation is pending?

82.3.7. skip

If the interface or provider configuration is skipped

82.4. Module Requirements

82.4.1. Module Imports

  • NetworkDevices
  • NetworkService
  • Progress
  • Provider
  • SuSEFirewall4Network
  • Summary

82.4.2. Module Includes

  • network/complex.ycp
  • network/devices.ycp
  • network/hardware.ycp
  • network/isdn/config.ycp
  • network/isdn/routines.ycp
  • network/routines.ycp
  • network/runtime.ycp