Typical signaling processes can support several of the capabilities specified above. The signaling process should use SL_CAPABILITY_MASK to set the individual capabilities in the capability set.
unsigned long slCapabilitySet; slCapabilitySet = SL_CAPABILITY_MASK( SL_SIGPROC_CAPABILITY_ANI_DNIS ) | SL_CAPABILITY_MASK( SL_SIGPROC_CAPABILITY_FE_HUP ) ;
To determine if a signaling process supports a given capability, use:
if ( slCapabilitySet
& SL_CAPABILITY_MASK( SL_SIGPROC_CAPABILITY_CALL_CONTROL )
)
{
/* signaling process supports full call control */
}