Synopsis:
num_ports=CCnports()
Description: This function returned the number of logical E1/T1 ports that have been opened (either by reading the ACUCFG.CFG file or by opening all the boards returned from the acu_get_system_snapshot() function.
Returns: This function returns the number of logical ports in the system.