cost-group-time-bands

This command configures the Time Band table, which lets you define Time Bands per Cost Group. A Time Band defines a day and time range (e.g., from Saturday 05:00 to Sunday 24:00) and a fixed call connection charge and call rate per minute for this interval. The table is a "child" of the Cost Groups table.

Syntax

(config-voip)# sip-definition least-cost-routing cost-group <Index>
(cost-group-<Index>)# cost-group-time-bands <Index>
(cost-group-time-bands-<Index>/<Index>)# 

Command

Description

Index

Defines the table row index.

connection-cost

Defines the call connection cost during the time band.

end-time

Defines the day and time of day until when this time band is applicable.

minute-cost

Defines the call cost per minute charge during the time band.

start-time

Defines the day and time of day from when this time band is applicable.

Command Mode

Privileged User

Example

This example configures an LCR time band between Saturday 1 am to Sunday midnight with connection cost of 1 and minute cost of 0.5:

(config-voip)# sip-definition least-cost-routing cost-group 0
(cost-group-0)# cost-group-time-bands 1
(cost-group-time-bands-0/1)# start-time SAT:01:00
(cost-group-time-bands-0/1)# end-time SUN:23:59
(cost-group-time-bands-0/1)# connection-cost 1
(cost-group-time-bands-0/1)# minute-cost 0.5
(cost-group-time-bands-0/1)# activate