Using NetCAPI

- What is NetCAPI ?

The Prestige 202H Plus supports the ISDN Device Control Protocol (ISDN-DCP) from RVS-COM. The ISDN-DCP allows a workstation on the LAN to run some CAPI applications. These applications include FAX, Voice, File transfer. Using ISDN-DCP, the Prestige 202H Plus behaves as a DCP server which listens for DCP messages on TCP port number 2578 on its LAN port and we call this feature as NetCAPI.

When the Prestige receives a DCP message from a DCP client (running RVS-COM software), the Prestige sends the confirmation message to the client and sends ISDN packets through the BRI port.

When the Prestige receives packets on its BRI port destined for one of the DCP clients, the router formats the packet as a DCP message and sends it to the corresponding client.

- Supported applications

1. G3/G4 FAX transmission
2. Euro File Transfer (EFT)
3. File transfer
4. Autoanswer host mode
5. Telephony

- Supported D-Channel Protocol

NetCAPI is available only for the European ISDN switch type DSS1.

- RVS-COM Setup

To use the NetCAPI function of the Prestige 202H Plus for FAX transmission, file transfer and voice, you must install RVS-COM Lite 1.63 or above first.

- Prestige Setup

All NetCAPI related settings are configured in menu 2.1 as shown below.

1. Edit the NetCAPI settings by setting the '`Edit NetCAPI Setup'` to '`Yes'`.

`Menu 2 - ISDN Setup Switch Type: DSS-1 B Channel Usage= Switch/Switch Incoming Phone Numbers: ISDN Data = 10000 Subaddress= A/B Adapter 1 = Subaddress= A/B Adapter 2 = Subaddress= Incoming Phone Number Matching= Multiple Subscriber Number (MSN) Analog Call Routing= N/A Global Analog Call= N/A Edit Advanced Setup = No Edit NetCAPI Setup = Yes Press ENTER to Confirm or ESC to Cancel:`

2. Edit NetCAPI related settings in menu 2.1

`Menu 2.2 - NetCAPI Setup Active= Yes Max Number of Registered Users= 5 Incoming Data Call Number Matching= NetCAPI Access List: Start IP End IP Operation 192.168.1.33 192.168.1.36 Both 0.0.0.0 0.0.0.0 None 0.0.0.0 0.0.0.0 None 0.0.0.0 0.0.0.0 None 0.0.0.0 0.0.0.0 None 0.0.0.0 0.0.0.0 None 0.0.0.0 0.0.0.0 None 0.0.0.0 0.0.0.0 None default None Press ENTER to Confirm or ESC to Cancel:`

Key Settings:

1. Active: Set to 'Yes' to enable the NetCAPI.
2. Max. Number of Registered Users: Enter the number of RVS-COM clients for registering in the Prestige. The maximum number is 5.
3. Incoming Data Call Matching: This setting helps the Prestige to forward the incoming call correctly by checking the MSN or subaddress that the remote party calls.
   - MSN: When this option is selected, the Prestige checks the MSN called by the remote party. If the MSN matches the one configured in menu 2, ISDN Data Number, the Prestige will answer the call as a data call. If the MSN does not match any MSN in menu 2, the Prestige will answer the call as a CAPI call and forward it to the CAPI client.
   - Subaddress: When this option is selected, the Prestige checks the subaddress called by the remote party. If the subaddress matches the one configured in menu 2, ISDN Data Number, the Prestige will answer the call as a data call. If the subaddress does not match any subaddress in menu 2, the Prestige will answer the call as a CAPI call and forward it to the CAPI client.
   - NetCAPI: When this option is selected, the Prestige always answers the call as a CAPI call and forward it to the CAPI client.
4. Access List: Enter the IP range of the valid NetCAPI clients with desired operation direction.
   - Operation=Incoming: this permits the clients in this IP range to only answer calls.
   - Operation=Outgoing: this permits the clients in this IP range to only place calls.
   - Operation=Both: this permits the clients in this IP range to both place and answer calls.
   - Operation=None: this means no calls for the clients in this IP range are allowed.
5. Start IP: Refers to the first IP address of a group of NetCAPI clients. Each group contains contigunous IP addresses.
6. End IP: Refers to the last IP address in a NetCAPI client group.
7. Operation: Call control settings for the NetCAPI users
   - Incoming: When this option is selected, the NetCAPI users have permission to only accecpt incoming calls.
   - Outgoing: When this option is selected, the NetCAPI users have permission to only place outgoing calls.
   - Both: When this option is selected, the NetCAPI users have permission for both answering and placing calls.
   - None: When this option is selected, no calls are allowed for the NetCAPI users.

- CAPI CI commands

> dcp fsm sw [on|off]
> To enable/disable the NetCAPI state machine, use the dcp fsm sw [on|off] command.

> dcp fsm disp
> To display the NetCAPI state machine log, use the dcp fsm disp command.
> The following example shows the output of the dcp fsm disp command:

> `ISDN_DCP FSM Log, Entries = 6
> Format
> # TimeStamp Protocol ObjectID State Event Event Handling Function
> 0:00:03.190 DCP: 0 S:IDLE(01) E:CapREQ (00) Func:DCPIgnore
> 1:00:03.215 SC : 0 S:IDLE(01) E:STARTREQ (01) Func:DCPSCStartReq
> 2:00:04.375 SC : 1 S:ACTI(02) E:ENDREQ (02) Func:DCPSCEndReq
> 3:00:06.545 DCP: 0 S:IDLE(01) E:CapREQ (00) Func:DCPIgnore
> 4:00:06.555 SC : 0 S:IDLE(01) E:STARTREQ (01) Func:DCPSCStartReq
> 5:00:07.245 CC : 1 S:IDLE(01) E:LISTENREQ(05) Func:DCPListenReq
> `
> dcp fsm clear
> To clear the NetCAPI state machine log, use the dcp fsm clear command.

> dcp trcp sw on [on|off]
> To enable/disable the NetCAPI packet log, use the dcp trcp sw on [on|off] command.
> dcp trcp disp
> To display the NetCAPI packet log, use the dcp trcp disp command.
> The following example shows the output of the dcp trcp disp command:
> `ISDN_DCP Message Log, Entries = 12
> Format 1
> Time Stamp Object ID MessageNum Parameter Length Message ID
> TIME:23043.188 Obj:00000000 MNum:0x0 Len=0000 DCP_CAPABILITY_REQ(0000)`

> `Format2
> Time Stamp Object ID MessageNum Parameter Length Message ID
> TIME:23043.188 Obj:00000000 MNum:0x0 Len=0025 DCP_CAPABILITY_CONF(0001)`

> `Parameter Part
> 00 01 03 01 02 03 01 00 00 00 00 01 05 5a 79 58
> 45 4c 01 00 0e 50 72 65 73 74 69 67 65 20 32 30`

> dcp trcp clear
> To clear the NetCAPI packet log, use the dcp trcp clear command.
> dcp status disp
> To display the NetCAPI status, use the dcp status disp command.
> dcp object [object_id]
> To display the NetCAPI objects, use the dcp object [object_id] commands.

All contents copyright © 1999 ZyXEL Communications Corporation.