cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7389
Views
17
Helpful
0
Comments
Vaijanath Sonvane
VIP Alumni
VIP Alumni

This article explains Cisco CUBE commands to check number of active calls, call details and call count.

Effective from Cisco IOS XE Amsterdam 17.2.1r, CUBE status display is enabled without configuring mode border-element license capacity sessions command. Licensed-Capacity and blocked call information is excluded from output.

From Cisco IOS XE Amsterdam 17.2.1r onwards, the output is displayed as follows:

 

lgw-cube-rtr> show cube status
CUBE-Version : 12.7.0
SW-Version : 16.12.20191014.105214, Platform CSR1000V
HA-Type : hot-standby-chassis-to-chassis

 

Below call flow diagram is used for testing and verification:

LGW.jpgCUBE Call Commands:

Note: The following commands were tested on Local GW / CUBE router shown in the diagram.

The show cube calls command has three options as shown below:

 

lgw-cube-rtr#show cube calls ?
  all        Show all cube call information
  media      Show cube call media information
  signaling  Show cube call signaling information

 

 

The show cube calls all command displays various details about calls in process.

In the following example, the details are for a single outbound call from Calling Number +15716063663 to Called PSTN Number +18005532447. This command output also shows total number of active calls under "Number of Calls".

 

lgw-cube-rtr#show cube calls all

SIP call leg info:
=============================================================
Total SIP call legs:2, User Agent Client:1, User Agent Server:1
SIP UAC CALL INFO
No.  CallId    Calling#       Called#        RmtSignalIP                                  RmtMediaIP
     dstCallId SIPState       SIPSubState
========================================================================================================================================
1    3239593   +15716063663   +18005532447   172.16.10.235                                172.16.10.235
     3239592   STATE_ACTIVE   SUBSTATE_NONE
   Number of SIP User Agent Client(UAC) calls: 1

SIP UAS CALL INFO
No.  CallId    Calling#       Called#        RmtSignalIP                                  RmtMediaIP
     dstCallId SIPState       SIPSubState
========================================================================================================================================
1    3239592   +15716063663   +18005532447   139.177.65.12                                192.168.207.126
     3239593   STATE_ACTIVE   SUBSTATE_NONE
   Number of SIP User Agent Server(UAS) calls: 1


show call active voice: a total of 2 audio call-legs
=============================================================

Telephony call-legs: 0
SIP call-legs: 2
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 0
STCAPP call-legs: 0
Multicast call-legs: 0
Total call-legs: 2

show voip rtp connection:
=============================================================

VoIP RTP Port Usage Information:
Max Ports Available: 19999, Ports Reserved: 101, Ports in Use: 2
Port range not configured
                                        Min   Max   Ports     Ports     Ports
Media-Address Range                     Port  Port  Available Reserved  In-use
------------------------------------------------------------------------------
Global Media Pool                       8000  48198 19999     101       2
------------------------------------------------------------------------------
VoIP RTP active connections :
No. CallId     dstCallId  LocalRTP RmtRTP   LocalIP                                     RemoteIP                                  MPSS  VRF
1     3239592    3239593    11728    19648    172.16.10.253                           192.168.207.126                           NO    NA
2     3239593    3239592    11730    30932    172.16.10.253                           172.16.10.235                             NO    NA
Found 2 active RTP connections

Number of Calls : 1
---------- ---------- ---------- ----------- --------------- ---------------
    confID correlator    AcallID     BcallID           state           event
---------- ---------- ---------- ----------- --------------- ---------------
       646        646    3239592    3239593       ALLOCATED   GET_STATS_RSP

lgw-cube-rtr#

 

The IP Address 139.177.65.12 is Webex Calling Signaling IP Address.

The show cube calls signaling command displays SIP call leg information of calls in process. This output is also shown as output of show cube calls all:

 

lgw-cube-rtr#show cube calls signaling

SIP call leg info:
=============================================================
Total SIP call legs:2, User Agent Client:1, User Agent Server:1
SIP UAC CALL INFO
No.  CallId    Calling#       Called#        RmtSignalIP                                  RmtMediaIP
     dstCallId SIPState       SIPSubState
========================================================================================================================================
1    3239593   +15716063663   +18005532447   172.16.10.235                              172.16.10.235
     3239592   STATE_ACTIVE   SUBSTATE_NONE
   Number of SIP User Agent Client(UAC) calls: 1

SIP UAS CALL INFO
No.  CallId    Calling#       Called#        RmtSignalIP                                  RmtMediaIP
     dstCallId SIPState       SIPSubState
========================================================================================================================================
1    3239592   +15716063663   +18005532447   139.177.65.12                                192.168.207.126
     3239593   STATE_ACTIVE   SUBSTATE_NONE
   Number of SIP User Agent Server(UAS) calls: 1


show call active voice: a total of 2 audio call-legs
=============================================================

Telephony call-legs: 0
SIP call-legs: 2
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 0
STCAPP call-legs: 0
Multicast call-legs: 0
Total call-legs: 2

lgw-cube-rtr#
lgw-cube-rtr#

 

The show cube calls media command displays RTP information of calls in process. This output is also shown as output of show cube calls all:

 

lgw-cube-rtr#show cube calls media
 show voip rtp connection:
 =============================================================

VoIP RTP Port Usage Information:
Max Ports Available: 19999, Ports Reserved: 101, Ports in Use: 2
Port range not configured
                                        Min   Max   Ports     Ports     Ports
Media-Address Range                     Port  Port  Available Reserved  In-use
------------------------------------------------------------------------------
Global Media Pool                       8000  48198 19999     101       2
------------------------------------------------------------------------------
VoIP RTP active connections :
No. CallId     dstCallId  LocalRTP RmtRTP   LocalIP                                     RemoteIP                                  MPSS  VRF
1     3239592    3239593    11728    19648    172.16.10.253                           192.168.207.126                           NO    NA
2     3239593    3239592    11730    30932    172.16.10.253                           172.16.10.235                             NO    NA
Found 2 active RTP connections
Number of Calls : 1
---------- ---------- ---------- ----------- --------------- ---------------
    confID correlator    AcallID     BcallID           state           event
---------- ---------- ---------- ----------- --------------- ---------------
       646        646    3239592    3239593       ALLOCATED   GET_STATS_RSP

lgw-cube-rtr#

 

And lastly, if you just want to see current active call count on CUBE router the you can use below command:

 

lgw-cube-rtr#show cube calls all | in Number of Calls
Number of Calls : 1
lgw-cube-rtr#

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: