|
|
The Common Application Programming Interface (CAPI) is an application programming interface standard used to access ISDN equipment connected to Basic Rate Interfaces (BRIs) and Primary Rate Interfaces (PRIs). Remote Common Application Programming Interface (RCAPI) is the CAPI feature configured remotely from a PC client. CAPI provides the following features:
Figure 5-1 shows how CAPI connects applications, drivers, and controllers.

The framing protocols supported by CAPI include High-Level Data Link Control (HDLC), HDLC inverted, bit transparent (speech), and V.110 synchronous/asynchronous. CAPI integrates the following data link and network layer protocols:
CAPI supports the following features:
Figure 5-2 shows the components of the RCAPI implementation.

The router supports the ISDN Device Control Protocol (ISDN-DCP) from RVS-COM. ISDN-DCP allows a workstation on the LAN or router to use legacy dial computer telephony integration (CTI) applications. These applications include placing and receiving telephone calls and transmitting and receiving faxes.
Using ISDN-DCP, the router acts as a DCP server. By default, the router listens for DCP messages on TCP port number 2578 (the Internet-assigned number for RVS-COM DCP) on its LAN port.
When the router receives a DCP message from a DCP client (connected to the LAN port of the router), the router processes the message and acts on it. The router can send confirmations to the DCP clients and ISDN packets through the BRI port of the router.
When the router receives packets destined for one of the DCP clients on its BRI port, the router formats the packet as a DCP message and sends it to the corresponding client. The router supports all of the DCP messages in the ISDN-DCP specifications defined by RVS-COM.
The router provides two 64-kbps B channels to CAPI clients. Each B channel can be configured separately to work in either HDLC mode or bit transparent mode. For CAPI support, layers B2 through B7 protocols are transparent to the applications using these B channels.
The ISDN core engine of RVS-COM supports the following B-channel protocols:
CAPI support is available only for the ISDN switch type Net3.
ISDN-DCP supports CAPI and non-CAPI applications. Applications are supported that use one or two B channels for data transfer, different HDLC-based protocols, Euro file transfer, or G4 fax; also supported are applications that send bit-transparent data such as A/Mu law audio, group 3 faxes, analog modem, or analog telephones.
Before you can enable the RCAPI feature on the Cisco 800 series router, the following requirements must be met:
The following procedure provides step-by-step instructions for configuring RCAPI on the 800 series router:
router# configure terminal router(config)#
Step 2 Set the switch type. In the following example, the switch type is set to European Telecommunication Standards Institute (ETSI).
router(config)# isdn switch-type basic-net3
Step 3 Enter the RCAPI directory number assigned by the ISDN provider for the device. For example:
router(config)# rcapi number 12345
Step 4 Optional. Perform this step only if you wish to specify a port number for RCAPI functions. Otherwise, the default port 2578 is used. Configure the same number on both the router and client PC. For example:
router(config)# rcapi server port 2000
Step 5 Exit from global configuration mode to interface configuration mode.
router(config)# int bri0
Step 6 Set the switch type for the BRI0 interface. In the following example, the switch type is set to ETSI.
router(config-if)# isdn switch-type basic-net3
Step 7 Set the modem as the default handler for incoming voice calls.
router(config-if)# isdn incoming-voice modem
Step 8 Change to privileged EXEC mode either by pressing Ctrl-Z or by entering exit twice, once at the interface mode prompt and again at the global configuration mode prompt.
router(config-if)# exit router(config)# exit router#
Step 9 Optional. Enter the following if you wish to display RCAPI status.
router# show rcapi status
Step 10 Optional. In privileged EXEC mode, start the debug program to run in the background.
router# debug rcapi events
Step 11 If required, at each remote device console, change to global configuration mode. Repeat Step 2 through Step 10 to configure that device.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed May 24 16:37:08 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.