Call Duration Counters

The Oracle® Enterprise Session Border Controller maintains aggregate call duration in seconds for the current period, lifetime total and the lifetime-period-maximum. These counters are maintained for each session agent, realm, SIP Interface, and globally across the system. The call duration counter can count up to a 32 bit value, after which time it rolls over.

The call duration counters are displayed in the following show commands:
  • show sipd agents
  • show sipd realms
  • show sipd interface
  • show sipd status

Call Duration Calculation

Call duration is calculated as the time between (t1) when the E-SBC receives the 200OK for the INVITE from terminating endpoint, and (t2) the time when E-SBC receives the final 200OK for the BYE message from terminating endpoint, regardless of whether media is released. If the set-disconnect-time-on-bye parameter is enabled in the sip-config, then the call termination time (t2') is when the E-SBC receives the BYE message originally from the endpoint ending the call.

Figure 4-1 Call Duration Calculation Example - Ladder Diagram

Example ladder diagram showing times used for calculating call durations. Refer to previous paragraph for description of call flow, refer to next table for calculating call durations from various system perscpectives on the SBC.

Table 4-1 Call Duration Calculation Example - Results

Element Inbound Duration (sec) Outbound Duration (sec)
Session Agent: SA-1 t2 - t1 0
Session Agent: SA-2 0 t2 - t1
Realm: InRealm t2 - t1 0
Ream: OutRealm 0 t2 - t1
Interface: 1.1.1.1 t2 - t1 0
Interface: 2.2.2.2 0 t2 - t1

The global system call duration for the previous example is t2' - t1 seconds if the set-disconnect-time-on-bye parameter is enabled.