Brick: How to list all incoming answering call applications

From OS4X
Jump to navigation Jump to search

Task

You don't know which application is listening for incoming calls.

Requirements

You need administrative access ("admin" user) to the Brick.

How to do?

Log into the Brick as "admin":

anonymous:tmp $ telnet brick-xm
Trying 192.168.178.2...
Connected to brick-xm.
Escape character is '^]'.



Welcome to BIANCA/BRICK-XM version V.5.2 Rev. 1 from 2000/09/01 00:00:00
systemname is brick, location Germany


Login: admin
Password:


brick:> 

After successful login, get the CAPI table displayed (the numbers are dynamic, this one here applies to a test environment only!):

brick:> g capi
GROUP capi (03):
106 capiApplTable            107 capiListenTable
108 capiPlciTable            109 capiNcciTable
110 capiInfoTable            111 capiConfigTable
112 capiMultiControllerTable 113 capiUserTable

Find out the number of the "capiListenTable" (which is on the left of the label, in this case it's 107).

brick:> 107

inx Application(*ro)  Controller(ro)    ServiceMask(ro)   EazMask(ro)
    InfoMask(ro)      CipMask(ro)       CipMask2(ro)

 00 3                 0x1               0x0               0x0
    0x0               0x4               0x0

In this case, there are two lines for each application (in this example, one application is registered to the Brick).

The values in the first line are:

  • Application: the internal application ID
  • Controller: the ISDN controller number index (starting at one "1")
  • ServiceMask: ???
  • EazMask: ???

The values of the second line are:

  • InfoMask: ???
  • CipMask: type of incoming call answering:
    • 4: answer all digital calls
    • 0: don't answer anything
  • CpiMask2: ???