# STATE

## Qualifiers:

<unit>

<unit> <shelf>

<unit> <shelf> <slot>

<unit> <shelf> <slot> <circuit or hybrid>

<unit> <shelf> <slot> <circuit or hybrid> <channel>

EXTENSION <extension number>

MLS <unit> <shelf> <slot> <circuit or hybrid>

TRUNK GROUP <group number>

TRUNK GROUP <group number> TRAFFIC

TRUNK GROUP <group number> VIRTUAL

TRUNK GROUP <group number> ALL

XNET ICP <ICP number>

XNET ALL

XNET ALL IP

XNET ALL ISDN

XNET TRUNK <trunk number>

XNET LINK <link number>

## Purpose:

Provides information on the current call-processing or maintenance state of the specified device or group of devices.

## Details:

The STATE command cannot be invoked on PRC cards.

If the <circuit> qualifier is omitted, the display for the specified card will be given.

If the card qualifier is omitted, the display for the specified shelf will be given.

The <channel> qualifier allows the state of a specific channel on a Dual T1 card to be displayed.

The EXTENSION qualifier displays the state of an extension number. If the extension is a Hot Desk user's DN, the command will result in one of the following messages: "Hot Desk: <Hot Desk user's DN> Currently Not Logged in" or "Hot Desk: Login active at <registration DN>" or "Login active externally at <external number>". If the Hot Desk user's DN is logged in, the command may be reissued using the registration DN. If the extension is the prime member of a Personal Ring Group, Multi-device User Group, Suite, or Multi-device Suite, the system response includes an explanatory message and details regarding the group or suite members.

The TRAFFIC qualifier specifies traffic circuits. The ALL qualifier provides information on traffic and virtual circuits. When the ALL qualifier is not accompanied by any other qualifiers, a STATE report for the whole system is provided.

The VIRTUAL qualifier is used to specify MSDN/DPNSS virtual channels. Virtual channels do not exist in ISDN; however, the switch sees ISDN links as DPNSS links and reports the presence of virtual channels.

The MLS qualifier displays the states of the line appearances on multiline sets.

The XNET qualifier is used to request the status of XNET trunks and trunks programmed in an ARS Direct IP Route.

You can use the XNET qualifier to find resilient calls across IP trunks. A healthy controller with calls that are in a survival state is indicated by a link handle of zero.

## Examples:

### Entry: STATE XNET ICP 44

### System Response:

Signalling | Link | Dest | XNET | State | Owner | ID |Status |
Dvc Location | Handle| Switch| Trunk Id | | | |

-------------------------------------------------------------------------

1 1 11 | 0 | 44 | |Idle | | |

-------------------------------------------------------------------------

### Entry: STATE EXTENSION 34779

### System Response:

Hot Desk : 34779 Login active externally at 77439400439500

Location | Device | State | Owner | ID |Status

----------------------------------------------------------------------------

1 3 1 30 1| 5020 IP | Idle | | |

1 3 1 30 2| Unassigned | Not applicable | | |

1 3 1 30 2| Alternate Codec | Out of Service | | |

----------------------------------------------------------------------------

### Entry: STATE EXTENSION 2060

### System Response on the primary controller:

The number refers to a Multi-device User Group.
Pilot Number: 2060
Members: 2060,2061,2062
Call Token - current owner:
Call Token - previous owner:
Location | Device | State | Owner | ID |Status
----------------------------------------------------------------------------
1 3 1 74 1| 6920 IP |Idle | | |
1 3 1 74 2| Unassigned |Not applicable | | |
1 3 1 74 2| Unassigned |Idle | | |
----------------------------------------------------------------------------
1 3 1 75 1| 6930 IP |Idle | | |
1 3 1 79 1| 6940 IP |Idle | | |

### System Response on the secondary controller:

The number refers to a Multi-device User Group.
Pilot Number: 2060
Members: 2060
Call Token - current owner:
Call Token - previous owner:
Location | Device | State | Owner | ID |Status
----------------------------------------------------------------------------
1 3 2 17 1| 6920 IP |Out of Service | | |
1 3 2 17 2| Unassigned |Not applicable | | |
1 3 2 17 2| Unassigned |Out of Service | | |
----------------------------------------------------------------------------

### Entry: STATE EXTENSION 23301

### System Response:

The number refers to a Suite.

Pilot Number: 23301

Members: 23360,23304

Member State:

| | | | | Token Owner

Member DN | State | CP Owner | ID| Status| Current | Previous

----------------------------------------------------------------------------

23360 | Busy | pid | | wait | | |

23304 | Idle | | | | | |

23305 | Idle | | | | | |

NOTE: The above example is for a standard suite. According, the Token Owner fields are blank as this kind of suite does not use a Multi-device Suites license with tokens. Also, the Device State section is not printed because the pilot number of the suite does not have an associated device.

State Command Printout Headings
Heading | Description
Member DN | Directory number of PRG, Multi-device UG, Suite, or Multi-device suite member.
Location | Physical location (cabinet, shelf, slot etc.) at which the device is located.
Device | Device type associated with the specified location. If the device type is a card, and no card is installed, "no card present" is displayed.
State | Current state of the specified device. See Circuit States table for a list of states.
Owner | The process which is using (or 'owns') the circuit at the time the STATE command is entered. See Owner Types table for a list of owner processes. This field will be blank if the specified circuit is not being used by a process.
ID | Internal ID allocated upon Call Process creation. It is not maintenance related and differs between active and inactive planes. This field will be blank if the specified circuit is not being used by a process.
Status | Status of the process that currently owns the specified circuit, one of: WAIT: Process is waiting for an event such as a time delay or a message. READY: Process is ready for execution. UNPR: Cannot be ed since the process owns the CPU. IDLE NOT ST: Not started, the process has just been created. This is a rare event. STOP: The process is dying. This is a rare event. DEAD: The process is dead. The device can be reused at any time. RUN: Process is currently active. BLANK: This field will be blank if the specified circuit is not being used by a process.
Token Owner | Current and previous owners of the Multi-device Users License for this Multi-device User Group or Multi-device Suites License for this Multi-device Suite.

Circuit States
State | Definition
Busy | Busy due to Call Process, Maintenance or other application.
Callwait | This can only occur on a line waiting for the Attendant console to answer (same as 'waiting for answer', but party is specifically waiting for the Attendant to answer.
Hard Hold | Party is on hold via a 'call hold dial' feature.
Idle | Device is in a seizable state.
Locked Out | Off-hook (but not involved in Call Process) or a Hot Desk user's DN (regardless of status).
Manbusy | "Busied-out" by BUSY command.
MCD | Maintenance Courtesy Down indicates that the circuit is scheduled to be put into the MANBUSY state when current application is completed.
Mtce Busy | Circuit has background or directed diagnostics being run on it.
Mtce Only | Circuit has background or directed diagnostics being run on it, and was in one of SUSPECT, OUT OF SERVICE or MANBUSY states immediately beforehand.
Not Seize | Device not available for use by call processing.
Out of Service | Taken out of service.
Releasing | In the process of going from busy to idle.
Reserved | Specified line is reserved for use as a dataline.
Resiliency Call Waiting | Indicates that the console is in the process of failing back from its secondary controller to its primary controller. While in this state, if there is no other console with the same LDNs available on the primary, new calls queue to the secondary. Once the console has become idle on the primary, the state on the secondary is changed from Resilient Call Waiting to Out of Service, and any queued calls are routed to the primary. The text displayed in the state command output is: "Res Call Wtg"
Ringing | Ringing signal is being applied to device.
Seizing | In the process of going from idle to busy.
Soft Hold | Party is on hold via a 'flash hook'.
Suspect | Failed diagnostic, taken out of service.
Unassigned | The circuit has not been assigned.

NOTE: The appearance of "No Entry in DAM" in the "State" field indicates that the specified card (or circuit) is neither Call Processing nor Maintenance related

Owner Types
Abbreviation | Explanation
Call Proc | call process
Cust Data | customer data entry
Extension | extension
File Sys | file system
Maint | maintenance system
MDMS | message debug and monitoring system
Msg Integ | message integrity
Msg Sys | message system
MSS | mass storage subsystem
Mtce Term | maintenance terminal
Oper Sys | operating system
Sys Audit | system audit
Sys Util | system utilities
Transport | transport system

NOTE: The appearance of "No Entry in DAM" in the "Owner" field indicates that the specified card (or circuit) is neither Call Processing nor Maintenance related.