libmfcr2 - a library for MFC/R2 signaling on E1 lines

This library is designed to support MFC/R2 signalling in the ZapTel environment,
but should be easily adaptable to other dumb E1 cards that allow channelised
CAS signaled operation.

It is intended that the library eventually support most national variants of the
MFC/R2 protocol. The application specifies the national variant when opening a
channel.

It can make and receive calls successfully when connected to a Dialogic E1
card running their GlobalCall package, in China and Argentina modes. 

Steve Underwood <steveu@coppice.org>
Sep 2004


Some China specific signals
---------------------------

Calling party category group I (KA) signals

      Step by step switch           Crossbar or electronic switch
      -------------------           -----------------------------
 1  - regular, fixed delay          voice/fax/data, fixed delay
 2  - regular, immediate, meter     voice/fax/data, immediate, meter
 3  - regular, business             voice/fax/data, business
 4  - priority #1                   voice/fax/data, priority #1
 5  - free                          free
 6  - small PBX                     small PBX
 7  - priority #1, fixed delay      voice/fax/data, priority #1, fixed delay
 8  - priority #2, fixed delay      voice/fax/data, priority #2, fixed delay
 9  - privileged local              voice/fax/data, priority #1, business
 10 - non-privileged local          free
 11 - spare                         spare
 12 - spare                         spare
 13 - test                          test
 14 - spare                         spare
 15 - spare                         spare

Calling party category group II (KD) signals (typical values)

 1  - Long distance operator, semi-automatic
 2  - Long distance, automatic switching
 3  - Local call, voice
 4  - Local call, fax and data
 5  - Semi-automatic, verify calling party's number
 6  - Test call

