CCsetxparm
Previous Topic  Next Topic 

Synopsis:

CCsetxparm(port, channel, parmId, Value[,connectionless_flag])


Arguments:

       port The logical E1/T1 port number.

channel The channel number.

parmID The Id of the parameter to set

Value -  The value to set the parameter to..

[connectionless_flag] If this flag is set then the parameter will be set in the port specific FEATURE_DETAIL_XPARMS structure  rather then the channel specific FEATURE_DETAIL_XPARMS  structure.    If the connectionless_flag is set then the channel is ignored.


Description:   This function allows for a channel specific FEATURE_DETAIL_XPARMS structure to be set (or port specific structure if connectionless_flag is set).           After setting any of the channel specific parameters in the FEATURE_DETAIL_XPARMS using the ccsetxparm() function, then any future calls to CCmkxcall() or CCsendfeat() will use the channel specific FEATURE_DETAIL_XPARMS structure. 


If the connectionless_flag is set then the port specific copy of the FEATURE_DETAIL_XPARMS structure will be used in any subsequent calls to CCsndcnctless() function calls.


To clear any values set in the channel or port specific FEATURE_DETAIL_XPARMS structure then use the CCclrxparms().


The full list of parameters that can be set using the CCsetxparms()  function is described in the CCgetxparm() function description.


Returns: This function returns 0 upon success or a negative error code.