sl_query_sigproc subroutine

Purpose

Find out which signaling process is configured for a specified channel and pack.

Library

The signaling interface library (libsl.a).

C syntax

#include <slsigpr.h>
...
SL_PROC_TYPE 	        sl_query_sigproc (
    int 	             iVpackNo,
    int 	             iChannelNo
);

Description

This subroutine is used to find out which signaling process is configured for a specified channel and trunk. It can be used by signaling processes, channel processes, custom servers, and the system manager. The subroutine returns one of the values listed in SL_PROC_TYPE (signaling process type).

Parameters

iVpackNo
The required pack, in the range SL_MIN_TRUNK_ID to SL_MAX_TRUNK_ID (see Pack and channel numbers).
iChannelNo
The required channel in the range SL_MIN_CHANNEL_ID to SL_MAX_CHANNEL_ID (see Pack and channel numbers).

Return values

SL_PROC_NONE
No signaling process is configured for the specified channel, or iVpackNo is not in the range SL_MIN_TRUNK_ID to SL_MAX_TRUNK_ID, or iChannelNo is not in the range SL_MIN_CHANNEL_ID to SL_MAX_CHANNEL_ID.
other values
The signaling process type as defined by the SL_PROC_TYPE enumeration.

Related information