To check the status of outbound POTS dial peers during call setup and to disallow, for that call, any dial peer whose status
is down, use the
dial-peer
outbound
status-check
pots command in privileged EXEC mode. To disable status checking, use the
no form of this command.
dial-peer outbound status-check pots
no dial-peer outbound status-check pots
Syntax Description
This command has no arguments or keywords.
Command Default
No default behavior or values.
Command Modes
Privileged EXEC (#)
Command History
Release
|
Modification
|
12.3
|
This command was introduced.
|
Usage Guidelines
Use this command to disallow, during call setup, outbound POTS dial peers (except those for e-phones) whose endpoints (voice
ports or trunk groups) are down.
When the
dial-peer
outbound
status-check
pots command is configured, if the voice-port configured under an outbound POTS dial-peer is down, that dial-peer is excluded while
matching the corresponding destination-pattern. Therefore, if there are no other matching outbound POTS dial-peers for the
specified destination-pattern, the gateway will disconnect the call with a cause code of 1 (Unallocated/unassigned number),
which is mapped to the "404 Not Found" SIP response by default. When the
no form of this command is configured, the outbound POTS dial-peer is matched even if the voice-port configured under is down
and the gateway disconnects the call with a cause code of 34 (No circuit/channel available), which is mapped to the "503 Service
Unavailable" SIP response by default.
Note
|
"503 Service Unavailable" was the default behavior before the
dial-peer
outbound
status-check
pots command was introduced. Users who need the original behavior should configure the
no form of this command.
|
The table below shows conditions under which an outbound POTS dial peer may be up or down.
Table 5. Conditions Under Which an Outbound POTS Dial Peer Is Up or Down
If a Dial Peer’s...
|
And If...
|
Then the Dial Peer Is...
|
Operational state is up
|
Its voice port is up
|
Up
|
Its trunk groups and any associated trunks are up
|
Operational state is down
|
--
|
Down
|
Voice port is down
|
Trunk groups are down
|
All associated trunks are down
|
To show or verify the status (up or down) of all or selected dial peers, use the
show
dial-peer
voice
command.
Examples
The following examples of output for the related
show
dial-peer
voice
command show the status of all or selected dial peers. You can use the
dial-peer
outbound
status-check
pots command to disallow the outbound POTS dial peers that are down.
The following example shows a short summary status for all dial peers. Outbound status is displayed in the OUT STAT field.
POTS dial peers 31 and 42 are shown as down.
Router# show dial-peer voice summary
dial-peer hunt 0
AD PRE PASS OUT
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STAT PORT
444 voip up up 0
22 voip up up 0 syst
12 pots up up 5550123 0 up 4/0:15
311 voip up up 0 syst
31 pots up up 5550111 0 down 4/1:15
421 voip up up 5550199 0 syst ipv4:1.8.56.2
42 pots up up 0 down
The following example shows the status for dial peer 12. Outbound status is displayed in the Outbound state field. The dial
peer is shown as up.
Router# show dial-peer voice 12
VoiceEncapPeer12
peer type = voice, information type = voice,
description = `',
tag = 12, destination-pattern = `5550123',
answer-address = `', preference=0,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 12, Admin state is up, Operation state is up,
Outbound state is up, <------- display status
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
.
.
.
The following example shows the status for dial peer 31. Outbound status is displayed in the Outbound state field. The dial
peer is listed as down.
Router# show dial-peer voice 31
VoiceEncapPeer31
peer type = voice, information type = voice,
description = `',
tag = 31, destination-pattern = `5550111',
answer-address = `', preference=0,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 31, Admin state is up, Operation state is up,
Outbound state is down, <--------- display status
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
.
.
.
For descriptions of other significant fields shown in these outputs, see the
show
dial-peer
voice command.