(Page 1 of 1 in this chapter) Version


Chapter 10

Demonstration Program


10.1 Introduction
10.2 Demonstration Program
10.3 Call Transfer: nccxfer

10.1 Introduction

This chapter describes the functionality and structure of the demonstration program supplied with your NCC service software.

This demonstration is shipped with source code, and as an executable program.

Before you start the demonstration program, ensure that:

Refer to the appropriate installation manual for your operating system for details on installation.

10.2 Demonstration Program

The following demonstration program is provided with the NCC service:
Program

Description

nccxfer

Demonstrates transferring an incoming call.

10.3 Call Transfer: nccxfer

Name

nccxfer

Purpose

Demonstrates rerouting an incoming call.

Usage

nccxfer [options]

...where options are:
Option

Description

-A adi_mgr

Specifies the CTA manager to use for the ADI service. Default: ADI

-b n

Specifies the AG board number n. Default is 0.

-s n:m

Specifies the MVIP stream and timeslot for the first channel. Default is 0:0.

-p protocol

Specifies the protocol to run. Default is lps0.

-i n

Specifies the number of call iterations (0=infinite).

-m n

Specifies the method of transfer. Value values for n:

Value Description

1 Transfer on PROCEEDING (after dial) (default)
2 Transfer on ALERTING (ringing)
3 Transfer on CONNECTED (first voice or signal)
4 Manual (call screening -- see below)

Featured Functions

nccAutomaticTransfer, nccTransferCall

Description

Party A calls party B (which is the demonstration program) and requests a transfer to party C. nccxfer (party B) then calls party C. It reports success or failure at one of several stages, depending on the selected transfer method. (If -m 4 is specified on the command line, nccxfer asks party C whether it should complete the transfer, or report failure.)

Procedure

Begin with three telephone lines: two (A and C) with two 2500-type telephone sets, and one (B) connected to the AG board. Lines B and C must be connected to a common PBX.

To run nccxfer:

  1. Make sure that you specify the proper AG board and MVIP stream, and start agmon.

    
    
  2. Start nccxfer by entering the following at the prompt:

    
    nccxfer [ -b n -s n:m -p protocol -i n -m n ]
    Make sure you specify one of the transfer methods.
  3. From line A, call line B.

    
    The demonstration should answer.
  4. When it requests an extension to try, dial the extension of line C.

    
    The demonstration calls line C.
  5. Answer line C.

With transfer method 4, the demonstration offers you a chance to refuse the call. The other transfer modes report success or failure at earlier stages, sometimes before the transfer is actually completed.



(Page 1 of 1 in this chapter) Version


tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.