Cisco Voice GW Commands

Scrap book of commands

Tracing a call flow

sh isdn active !overview of calls going through the ISDN
sh isdn service !overview of channels used within ISDN interface
sh isdn status

sh voice call status !gives called, codec and dial-peer info
sh dial-peer voice summ !ports, coded, call setup state

sh call leg active summary !codec, call type, dial-peer, ip address

sh call active voice brief !overview of call leg numbers and details of each call leg Note:
sh call active voice brief called-number 9082363XXXX
sh call active voice brief calling-number 9082363XXXX
sh call active voice brief transcoded

sh call active voice compact !table: codec, direction, type, peer, ip
sh call active voice calling-number 9082363XXXX

sh call active media compact !overview of call leg numbers and details of each call leg
sh call active media brief !table: codec, direction, type, peer, ip

show dialplan number 823631XXX
debug voice dialpeer inout

Filter debug outputs to only calls made from +4415064XXXXX to any going to PSTN
call filter match-list 1 voice
outgoing calling-number .4415064XXXXX !the '.' at the start is to support +

debug condition match-list 1 exact-match

debug voip ccapi inout

show debug
show call filter match-list

Ref:http://docwiki.cisco.com/wiki/Cisco_IOS_Voice_Troubleshooting_and_Monitoring_–_Voice_Call_Debug_Filtering_on_Cisco_Voice_Gateways

About Alexis Katsavras

Working as Freelance Cisco Unified Communications Consultant in the UK. www.NetPacket.co.uk