Telephony widgets – Out of Hours to a Specific Set of Called Digits

Definition

The Out of Hours widget outputs calls going to a specific extension either outside 8 – 18:00 weekdays or all-day Saturday and Sunday. The example is set at Called Digits of ‘2405’.

Output list

  • Weekday
  • Hour Bin
  • Leg Start
  • Call Direction
  • Calling Digits
  • Calling Label
  • Called Digits
  • Group Name
  • Called Label
  • Talk Time
  • Ring Time
  • Call Outcome
  • Transfer To Digits
  • Termination Reason

Sample output

Prism analytics widget

Widget text

{"ViewGuid":"86c3d71b-0b81-45ad-8eef-2ce931e9e32e","Definition":{"ColumnAggregates":[{"Alias":"WeekdayName_608618671081ddd9","Label":"Weekday","ColumnId":"WeekdayName","AggregateType":"Value","IsAggregate":false,"IsExpanded":false,"Type":-3},{"ColumnId":"HourBin","IsNew":true,"Type":-2,"Alias":"HourBin_3e5ad56f992744d8","Label":"Hour Bin"},{"Alias":"LegStart_41107aa8f56d0dfa","Label":"Leg Start","ColumnId":"LegStart","AggregateType":"Value","IsAggregate":false,"IsExpanded":false,"Type":-2},{"Alias":"CallDirectionName_c529883cd7ca092e","Label":"Call Direction","ColumnId":"CallDirectionName","AggregateType":"Value","IsAggregate":false,"IsExpanded":false,"Type":-3},{"Alias":"CallingDigits_45a742ba880c8020","Label":"Calling Digits","ColumnId":"CallingDigits","AggregateType":"Value","IsAggregate":false,"IsExpanded":false,"Type":-2},{"Alias":"CallingLabel_962afb827992cc3f","Label":"Calling Label","ColumnId":"CallingLabel","AggregateType":"Value","IsAggregate":false,"IsExpanded":false,"Type":-2},{"Alias":"CalledDigits_23e35311e93b17cd","Label":"Called Digits","ColumnId":"CalledDigits","AggregateType":"Value","IsAggregate":false,"IsExpanded":false,"Type":-2},{"ColumnId":"GroupName","IsNew":true,"Type":-2,"Alias":"GroupName_9783f4ad96eb47d9","Label":"Group Name"},{"Alias":"CalledLabel_7f52b9c37c0ba3fa","Label":"Called Label","ColumnId":"CalledLabel","AggregateType":"Value","IsAggregate":false,"IsExpanded":false,"Type":-2},{"Alias":"TalkTime_80668a376beeadfe","Label":"Talk Time","ColumnId":"TalkTime","AggregateType":"Value","IsAggregate":false,"IsExpanded":false,"Type":-1},{"Alias":"RingTime_37158a4737e102d3","Label":"Ring Time","ColumnId":"RingTime","AggregateType":"Value","IsAggregate":false,"IsExpanded":false,"Type":-1},{"Alias":"CallOutcomeName_cb9f355c04a29cc8","Label":"Call Outcome","ColumnId":"CallOutcomeName","AggregateType":"Value","IsAggregate":false,"IsExpanded":false,"Type":-3},{"ColumnId":"TransferToDigits","IsNew":true,"Type":-2,"Alias":"TransferToDigits_57f97109ac580a97","Label":"Transfer To Digits"},{"ColumnId":"TerminationReasonName","IsNew":true,"Type":-3,"IsExpanded":false,"Alias":"TerminationReasonName_52970c3c12c73865","Label":"Termination Reason"}],"PreFilters":[{"Symbol":"("},{"Symbol":"("},{"ColumnId":"Hour","FilterColumnAlias":null,"IsNew":true,"Operator":"IsNotBetween","Value":8,"Type":2,"Alias":"Hour_41ab5aa78c9f622f","Label":"Hour","Value2":18},{"Symbol":"&"},{"ColumnId":"WeekdayName","FilterColumnAlias":"WeekdayNo","IsNew":true,"Values":["1","2","3","4","5"],"Names":["Monday","Tuesday","Wednesday","Thursday","Friday"],"Type":3,"Alias":"WeekdayNo_6ef26a731bfdd930","Label":"Weekday","IncludeAll":false},{"Symbol":")"},{"Symbol":"|"},{"ColumnId":"IsWeekend","FilterColumnAlias":null,"IsNew":true,"Value":true,"Type":6,"Alias":"IsWeekend_72a2ca8ab74ccd7d","Label":"Is Weekend"},{"Symbol":")"},{"Symbol":"&"},{"Symbol":"("},{"ColumnId":"CalledDigits","FilterColumnAlias":"calledEndPoint_EndPointName","IsNew":true,"WildCards":[{"Value":"%__%","IsIncluded":true}],"Type":11,"Alias":"EndPointName_a90dde8b023f2290","Label":"Called Digits"},{"Symbol":"|"},{"ColumnId":"GroupName","FilterColumnAlias":null,"IsNew":true,"Operator":"Contains","Value":"1","Type":0,"Alias":"GroupName_faad711e90d7a5d5","Label":"Group Name"},{"Symbol":")"}],"PreGroupFilters":[],"Parameters":{"SelectedTreeId":"1","DateSelectionMethod":"UseQuickDates","QuickDate":{"Type":"5","FromLocal":"01/09/2026 00:00:00","ToLocal":"30/09/2026 23:59:59"}},"GridSettings":"{\"columns\":[{\"index\":0,\"field\":\"Id\",\"width\":46.2578,\"hidden\":false},{\"index\":1,\"field\":\"WeekdayName_608618671081ddd9\",\"width\":110.0078,\"hidden\":false},{\"index\":2,\"field\":\"HourBin_3e5ad56f992744d8\",\"width\":148.992,\"hidden\":false},{\"index\":3,\"field\":\"LegStart_41107aa8f56d0dfa\",\"width\":157.996,\"hidden\":false},{\"index\":4,\"field\":\"CallDirectionName_c529883cd7ca092e\",\"width\":117.9961,\"hidden\":false},{\"index\":5,\"field\":\"CallingDigits_45a742ba880c8020\",\"width\":123.992,\"hidden\":false},{\"index\":6,\"field\":\"CallingLabel_962afb827992cc3f\",\"width\":117.9961,\"hidden\":false},{\"index\":7,\"field\":\"CalledDigits_23e35311e93b17cd\",\"width\":143.99200000000002,\"hidden\":false},{\"index\":8,\"field\":\"GroupName_9783f4ad96eb47d9\",\"width\":115.0078,\"hidden\":false},{\"index\":9,\"field\":\"CalledLabel_7f52b9c37c0ba3fa\",\"width\":183.992,\"hidden\":false},{\"index\":10,\"field\":\"TalkTime_80668a376beeadfe\",\"width\":92.9961,\"hidden\":false},{\"index\":11,\"field\":\"RingTime_37158a4737e102d3\",\"width\":95.0078,\"hidden\":false},{\"index\":12,\"field\":\"CallOutcomeName_cb9f355c04a29cc8\",\"width\":121.004,\"hidden\":false},{\"index\":13,\"field\":\"TransferToDigits_57f97109ac580a97\",\"width\":141.00400000000002,\"hidden\":false},{\"index\":14,\"field\":\"TerminationReasonName_52970c3c12c73865\",\"width\":159.109,\"hidden\":false}],\"sortField\":null,\"sortDir\":null,\"pageSize\":50}"},"DefinitionVersion":1}

Modifications

Once you have imported the widget template, you will be able to edit any of the boxes in the filter area to be more applicable to your requirement, for example:-

Change the Hours by clicking on the Hour box in the Filters area and change the hours of business.

Prism analytics widget screenshot

Change the Called Digits by clicking on the Called Digits box in the Filters.  You can add more than one set of called digits.  You can also set digits to be excluded – see example below.

  • % – Matches any string of zero or more characters. For example, %787% finds all texts containing 787.
  • _ – Matches any single character. For example, 1_3 finds 123, 193, 1A3…
  • [] – Matches any single character within the specified range ([a-f]) or set ([abcdef]). For example, 0[1-4]% finds all entries beginning with 01, 02, 03 and 04.
  • [^] – Matches any single character not within the specified range ([^a-f]) or set ([^abcdef]). For example, 0[^1-4]% finds all entries not beginning with 01, 02, 03 and 04.
Prism analytics widget screenshot

Alternatively, the Group Name filter can be used to specify the Hunt Group for which you want to view all incoming calls. If required, either the Group Name or Called Digits filters can be removed to broaden the search criteria and return a wider set of results.

You might also like…