Dialogic 05-0867-005 Table Top Game User Manual


 
cc_SetDChanCfg( ) sets the configuration of the Digital Subscriber Loop
224
Name:
int cc_SetDChanCfg(boarddev, dchan_cfgptr)
Inputs:
LINEDEV boarddev
line device handle of the D
channel board
DCHAN_CFG dchan_cfgptr
pointer to DCHAN_CFG
structure
Returns:
0 on success
< 0 on failure
Includes:
isdncmd.h
isdnlib.h
Category:
System tools
Mode:
synchronous
Technology:
BRI/2; BRI/SC; PRI (all protocols)
!
! !
!
Description
The cc_SetDChanCfg( ) function sets the configuration of the Digital Subscriber
Loop (DSL) for the D channel and causes the activation of links if the switch type
specified is valid. This function specifies the DSL-specific and logical Data Link-
specific parameters. These parameters include switch type, switch side (Network
or User) and terminal assignment (fixed Terminal Endpoint Identifier or auto-
initializing Terminal Endpoint Identifier). Each station interface is configured
separately, which allows different protocols to be run on different stations
simultaneously.
When the switch is operating as the User side in North American protocols, the
cc_SetDChanCfg( ) function is used to program the Service Profile Identifier
(SPID). The SPID must be transmitted and acknowledged by the switch (see the
cc_TermRegisterResponse( ) function for more information).
The cc_SetDChanCfg( ) function is also used to define Layer 3 timer values,
specify Layer 2 Access and set firmware features such as firmware-applied call
progress tones. For a complete listing of the values that can be specified using the
cc_SetDChanCfg( ) function, see Section 6.3. DCHAN_CFG.
NOTE:
Although this function is supported for BRI/2 and PRI protocols, it can
be used only to define Layer 3 timer values. All of the other values in the
DCHAN_CFG structure are applicable only to BRI/SC.