CAPÍTULO II DESARROLLO LABORAL
2.3 Resultados alcanzados
Use the following commands to debug any errors that you may encounter when you configure the Support for Negotiation of an Audio Codec from a List of Codecs on Each Leg of a SIP-to-SIP Call on the Cisco Unified Border Element feature:
• debug ccsip all
• debug voip ccapi inout
• debug sccp messages
• debug voip rtp session
Verifying Support for Negotiation of an Audio Codec from a List of Codecs on Each Leg of a
SIP-to-SIP Call on the Cisco Unified Border Element
Perform this task to display information to verify Support for Negotiation of an Audio Codec from a List of Codecs on Each Leg of a SIP-to-SIP Call on the Cisco Unified Border Element configuration. These show commands need not be entered in any specific order.
SUMMARY STEPS
Command or Action Purpose
Step 1 enable
Example:
Router> enable
Enables privileged EXEC mode.
• Enter your password if prompted.
Step 2 configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3 dial-peer voice tag voip
Example:
Router(config)# dial-peer voice 10 voip
Enters dial peer voice configuration mode.
Step 4 voice-class codec tag [offer-all]
Example:
Router(config-dial-peer)# voice-class codec 10 offer-all
Adds all the configured voice class codec to the outgoing offer from the Cisco UBE.
Step 5 end
Example:
Router(config-dial-peer)# end
2. show call active voice brief
3. show voip rtp connections
4. show sccp connections
5. show dspfarm dsp active DETAILED STEPS
Step 1 enable
Enables privileged EXEC mode.
Step 2 show call active voice brief
Displays a truncated version of call information for voice calls in progress.
Router# show call active voice brief
<ID>: <CallID> <start>ms.<index> +<connect> pid:<peer_id> <dir> <addr> <state> dur hh:mm:ss tx:<packets>/<bytes> rx:<packets>/<bytes>
IP <ip>:<udp> rtt:<time>ms pl:<play>/<gap>ms lost:<lost>/<early>/<late> delay:<last>/<min>/<max>ms <codec>
media inactive detected:<y/n> media cntrl rcvd:<y/n> timestamp:<time>
long duration call detected:<y/n> long duration call duration :<sec> timestamp:<time> MODEMPASS <method> buf:<fills>/<drains> loss <overall%> <multipkt>/<corrected> last <buf event time>s dur:<Min>/<Max>s
FR <protocol> [int dlci cid] vad:<y/n> dtmf:<y/n> seq:<y/n> <codec> (payload size)
ATM <protocol> [int vpi/vci cid] vad:<y/n> dtmf:<y/n> seq:<y/n> <codec> (payload size)
Tele <int> (callID) [channel_id] tx:<tot>/<v>/<fax>ms <codec> noise:<l> acom:<l> i/o:<l>/<l> dBm
MODEMRELAY info:<rcvd>/<sent>/<resent> xid:<rcvd>/<sent> total:<rcvd>/<sent>/<drops> speeds(bps): local <rx>/<tx> remote <rx>/<tx>
Proxy <ip>:<audio udp>,<video udp>,<tcp0>,<tcp1>,<tcp2>,<tcp3> endpt: <type>/<manf> bw: <req>/<act> codec: <audio>/<video>
tx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes> rx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes>
Telephony call-legs: 0 SIP call-legs: 2 H323 call-legs: 0
Call agent controlled call-legs: 0 SCCP call-legs: 2
Multicast call-legs: 0 Total call-legs: 4
1243 : 11 971490ms.1 +-1 pid:1 Answer 1230000 connecting dur 00:00:00 tx:415/66400 rx:17/2561
IP 192.0.2.1:19304 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g711ulaw TextRelay: off
media inactive detected:n media contrl rcvd:n/a timestamp:n/a
long duration call detected:n long duration call duration:n/a timestamp:n/a 1243 : 12 971500ms.1 +-1 pid:2 Originate 3210000 connected
dur 00:00:00 tx:5/10 rx:4/8
IP 9.44.26.4:16512 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729br8 TextRelay: off
media inactive detected:n media contrl rcvd:n/a timestamp:n/a
0 : 13 971560ms.1 +0 pid:0 Originate connecting dur 00:00:08 tx:415/66400 rx:17/2561
IP 192.0.2.2:2000 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g711ulaw TextRelay: off
media inactive detected:n media contrl rcvd:n/a timestamp:n/a
long duration call detected:n long duration call duration:n/a timestamp:n/a 0 : 15 971570ms.1 +0 pid:0 Originate connecting
dur 00:00:08 tx:5/10 rx:3/6
IP 192.0.2.3:2000 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729br8 TextRelay: off
media inactive detected:n media contrl rcvd:n/a timestamp:n/a
long duration call detected:n long duration call duration:n/a timestamp:n/a
Telephony call-legs: 0 SIP call-legs: 2 H323 call-legs: 0
Call agent controlled call-legs: 0 SCCP call-legs: 2
Multicast call-legs: 0 Total call-legs: 4 Step 3 show voip rtp connections
Displays Real-Time Transport Protocol (RTP) connections.
Router# show voip rtp connections VoIP RTP active connections :
No. CallId dstCallId LocalRTP RmtRTP LocalIP RemoteIP 1 11 12 16662 19304 192.0.2.1 192.0.2.2 2 12 11 17404 16512 192.0.2.2 192.0.2.3 3 13 14 18422 2000 192.0.2.4 9.44.26.3 4 15 14 16576 2000 192.0.2.6 192.0.2.5
Found 4 active RTP connections Step 4 show sccp connections
Displays information about the connections controlled by the Skinny Client Control Protocol (SCCP) transcoding and conferencing applications.
Router# show sccp connections
sess_id conn_id stype mode codec sport rport ripaddr 5 5 xcode sendrecv g729b 16576 2000 192.0.2.3 5 6 xcode sendrecv g711u 18422 2000 192.0.2.4 Total number of active session(s) 1, and connection(s) 2
Step 5 show dspfarm dsp active
Displays active DSP information about the DSP farm service.
Router# show dspfarm dsp active
0 1 27.0.201 UP 1 USED xcode 1 0x9 5 8 0 1 27.0.201 UP 1 USED xcode 1 0x8 2558 17 Total number of DSPFARM DSP channel(s) 1