Test your configuration

Testing your configuration involves these steps:

  1. Run PPX service
  2. Run isdncta
  3. Run trunkmon and ctatest

Run PPX service

Run the ppxserv service with this command:

> ppxserv -l

If the process starts properly, no output appears on your monitor.

Run isdncta

If you are using ISDN, you need to run the isdncta process. The isdncta process is the daemon program that activates the D channel on ISDN. Skip this section if you’re using CAS.

The NMS audio provider supports the ISDN protocol with AT&T 5ESS, AT&T 4ESS, Northern Telecom DMS100, and National ISDN 2 (NI2). Other ISDN variants may work but were not tested.

To run the isdncta process from the command line, enter:

> isdncta -aaccessID -b|Bnumber -ooperator

The options are explained in this table:

-bnumber
or
-Bnumber

CG board number (Terminal Equipment side)

CG board number (Network Terminator side)

-aaccessID

Network Access Identifier

-ooperator

Network operator variant

 
 

Northern Telecom DMS100

8

 

AT&T 5ESS10

23

 

AT&T 4ESS

24

 

National ISDN 2

20

Note: You must run one isdncta process per T1 line. For example, if you have an CG 6060 4T1 ISDN NI2 Terminal Equipment side, you would run 4 isdncta processes:

isdncta -a0 -b0 -o20
isdncta -a1 -b0 -o20
isdncta -a2 -b0 -o20
isdncta -a3 -b0 -o20

Run trunkmon and ctatest

These tests determine if your board is properly working and connected.

trunkmon

The NMS trunkmon utility displays the status of digital trunks. To test the board using the NMS trunkmon utility:

Open a command prompt window and run the trunkmon utility on the board identified in the oamsys.cfg configuration file (see .Configure your NMS board). Enter:

> trunkmon -bX

where X is the board number, typically 0. For example, to run the trunkmon utility on board 0, enter:

> trunkmon -b0

In the output, check the Alarm field to confirm that the board is connected properly, and says NONE.

ctatest

Now test your configuration using the ctatest utility. This utility lets you test call control and audio input/output functions of the NMS board.

  1. Open a command prompt window and run:

> ctatest -bnumber -stimeslot -pprotocol

The options are explained in the table:

-bnumber

numberindicates your board number; default is 0

-stimeslot

timeslotindicates your port (DSP) address; default is 0

-pprotocol

protocolindicates the protocol used; default is isd0 (ISDN protocol)

For example, enter:

> ctatest -b0 -s0 -pisd0 
Initializing and creating the queue...
ok
  1. Type op to initialize ctatest. An output similar to the following is displayed:
> op
ok
ctahd 0x80000001 Event: CTAEVN_OPENSERVICES_DONE, Finished
  1. To start the protocol, type sp and enter the protocol you are going to use. The output is similar to the following:
> sp
Enter protocol name ['isd0']
ok
ctahd 0x80000001 Event: NCCEVN_START_PROTOCOL_DONE, CTA_REASON_FINISHED
  1. You can either place a call with pc or dial to ctatest and answer the call with ac. For example:
> pc
Enter digits to dial ['123']: 4708
ok
ctahd 0x80000001 Event: NCCEVN_PLACING_CALL
	Callhd = 0x20020000
ctahd 0x80000001 Event: NCCEVN_CALL_PROCEEDING
ctahd 0x80000001 Event: NCCEVN_CALL_CONNECTED, NCC_CON_SIGNAL
  1. Once the call is connected, you can record a .wav file by entering rf. Accept all the default values for the file type and the encoding:
> rf
Enter file name ['test.vox']:
File type (0)auto (1)NMS(vox) (2)wave (3)wave (3)flat: [0]: 
Encoding (1)16kbps (2)24kbs (3)32kbps (4)64kbps 
(14)OKI6khz (15)OKI8khz (see ADIDEF.H for others): [2}:
ok
ctahd 0x80000001	Event: VCEEVN_RECORD_DONE, Voice End ,msec=5380
  1. Speak into the phone.

Note: If the recording attempt fails, try a different encoding, for example, mulaw.

  1. Now try to playback this file by entering pf. Again, accept the default values for the encoding and the file type:
> pf
Enter file name ['test.vox']:
File type (0)auto (1)NMS(vox) (2)wave (3)wave (3)flat: [0]: 
Encoding (1)16kbps (2)24kbs (3)32kbps (4)64kbps 
(14)OKI6khz (15)OKI8khz (see ADIDEF.H for others): [2}:
ok
ctahd 0x80000001 Event: VCEEVN_PLAY_DONE, Finished , msec=5380
  1. To disconnect the call, first enter dc to disconnect the call, then enter rc to release the call. The output is similar to the following:
> dc
ok
ctahd 0x80000001 Event: NCCEVN_CALL_DISCONNECTED
> rc
    Enter number of callhd to release[0x20020000]:
ok
ctahd 0x80000001 Event: NCCEVN_CALL_RELEASED
  1. Quit the application:
> q
Destroying the queue...