MT#7679 Add circular hunting policy.

gjungwirth/voicemail_number
Andreas Granig 12 years ago
parent 5805d848d3
commit 20578fe485

@ -20,6 +20,7 @@ has_field 'pbx_hunt_policy' => (
{ label => 'Serial Ringing', value => 'serial' },
{ label => 'Parallel Ringing', value => 'parallel' },
{ label => 'Random Ringing', value => 'random' },
{ label => 'Circular Ringing', value => 'circular' },
],
default => 'serial',
);
@ -27,7 +28,7 @@ has_field 'pbx_hunt_policy' => (
has_field 'pbx_hunt_timeout' => (
type => '+NGCP::Panel::Field::PosInteger',
required => 1,
label => 'Serial Hunting Timeout',
label => 'Hunting Timeout',
default => 10,
);

@ -100,10 +100,11 @@ has_field 'pbx_hunt_policy' => (
{ value => 'serial', label => 'serial'},
{ value => 'parallel', label => 'parallel'},
{ value => 'random', label => 'random'},
{ value => 'circular', label => 'circular'},
],
element_attr => {
rel => ['tooltip'],
title => ["On of serial, parallel, random."],
title => ["Hunting policy, one of serial, parallel, random, circular."],
},
);
@ -111,7 +112,7 @@ has_field 'pbx_hunt_timeout' => (
type => '+NGCP::Panel::Field::PosInteger',
element_attr => {
rel => ['tooltip'],
title => ['Serial Hunting Timeout'],
title => ['Hunting Timeout'],
},
);

Loading…
Cancel
Save