diff --git a/lib/NGCP/Panel/Form/Subscriber/SubscriberSubAdminAPI.pm b/lib/NGCP/Panel/Form/Subscriber/SubscriberSubAdminAPI.pm index 612a70d0af..1fd608146a 100644 --- a/lib/NGCP/Panel/Form/Subscriber/SubscriberSubAdminAPI.pm +++ b/lib/NGCP/Panel/Form/Subscriber/SubscriberSubAdminAPI.pm @@ -209,6 +209,28 @@ has_field 'pbx_groupmember_ids' => ( }, ); +has_field 'pbx_hunt_policy' => ( + type => 'Select', + options => [ + { value => 'serial', label => 'serial'}, + { value => 'parallel', label => 'parallel'}, + { value => 'random', label => 'random'}, + { value => 'circular', label => 'circular'}, + ], + element_attr => { + rel => ['tooltip'], + title => ["Hunting policy, one of serial, parallel, random, circular."], + }, +); + +has_field 'pbx_hunt_timeout' => ( + type => '+NGCP::Panel::Field::PosInteger', + element_attr => { + rel => ['tooltip'], + title => ['Hunting Timeout'], + }, +); + has_field 'cloud_pbx_hunt_policy' => ( type => 'Select', options => [