TT#133301 Adding default AA slot for timeout cases

A feature request to have an opportunity to add a default action slot,
in case a caller hangs on the AA and doesn't pick anything.

Main change is related to sql structure of 'provisioning.voip_pbx_autoattendants' table,
which now has 'voip_pbx_autoattendants.choice' as VARCHAR(16) instead of TINYINT.

Also adding a label 'default' for the drop-down menu.

Change-Id: I6382a68c8258094a2bf2bf9c71407092860f5e4d
mr10.0
Donat Zenichev 5 years ago
parent 35f7cdef24
commit 6a17151b1d

@ -34,16 +34,17 @@ has_field 'slot.choice' => (
label => 'Key',
required => 1,
options => [
{ label => '0', value => 0 },
{ label => '1', value => 1 },
{ label => '2', value => 2 },
{ label => '3', value => 3 },
{ label => '4', value => 4 },
{ label => '5', value => 5 },
{ label => '6', value => 6 },
{ label => '7', value => 7 },
{ label => '8', value => 8 },
{ label => '9', value => 9 },
{ label => '0', value => '0' },
{ label => '1', value => '1' },
{ label => '2', value => '2' },
{ label => '3', value => '3' },
{ label => '4', value => '4' },
{ label => '5', value => '5' },
{ label => '6', value => '6' },
{ label => '7', value => '7' },
{ label => '8', value => '8' },
{ label => '9', value => '9' },
{ label => 'default', value => 'default' },
],
element_attr => {
rel => ['tooltip'],

@ -26,16 +26,17 @@ has_field 'slots.slot' => (
label => 'Key',
required => 1,
options => [
{ label => '0', value => 0 },
{ label => '1', value => 1 },
{ label => '2', value => 2 },
{ label => '3', value => 3 },
{ label => '4', value => 4 },
{ label => '5', value => 5 },
{ label => '6', value => 6 },
{ label => '7', value => 7 },
{ label => '8', value => 8 },
{ label => '9', value => 9 },
{ label => '0', value => '0' },
{ label => '1', value => '1' },
{ label => '2', value => '2' },
{ label => '3', value => '3' },
{ label => '4', value => '4' },
{ label => '5', value => '5' },
{ label => '6', value => '6' },
{ label => '7', value => '7' },
{ label => '8', value => '8' },
{ label => '9', value => '9' },
{ label => 'default', value => 'default' },
],
element_attr => {
rel => ['tooltip'],

Loading…
Cancel
Save