diff --git a/lib/NGCP/Panel/Form/CFSourceSetAPI.pm b/lib/NGCP/Panel/Form/CFSourceSetAPI.pm index e983ea5fc8..5b352fdfe1 100644 --- a/lib/NGCP/Panel/Form/CFSourceSetAPI.pm +++ b/lib/NGCP/Panel/Form/CFSourceSetAPI.pm @@ -33,8 +33,11 @@ has_field 'sources' => ( rel => ['tooltip'], title => ['An array of sources, each containing the key "source" ' . 'which will be matched against the call\'s anumber to determine ' . - 'whether to apply the callforward or not.', - ] + 'whether to apply the callforward or not. ' . + '"source" is the calling party number in E164 format to match. ' . + 'Shell patterns like 431* or 49123[1-5]67 are possible. ' . + 'Use "anonymous" to match suppressed numbers.', + ], }, ); diff --git a/lib/NGCP/Panel/Form/CallforwardSourceSet.pm b/lib/NGCP/Panel/Form/CallforwardSourceSet.pm index b393042040..5c0f3c6a6f 100644 --- a/lib/NGCP/Panel/Form/CallforwardSourceSet.pm +++ b/lib/NGCP/Panel/Form/CallforwardSourceSet.pm @@ -15,6 +15,10 @@ has_field 'name' => ( label => 'Name', wrapper_class => [qw/hfh-rep-field/], required => 1, + element_attr => { + rel => ['tooltip'], + title => ['The unique name of the source set. Arbitrary text'], + }, ); has_field 'source' => ( @@ -39,6 +43,11 @@ has_field 'source.source' => ( required => 1, do_label => 1, wrapper_class => [qw/hfh-rep-field/], + element_attr => { + rel => ['tooltip'], + title => ['The calling party number in E164 format to match. Shell patterns like 431* or 49123~~~[1-5~~~]67 are possible. ' . + 'Use "anonymous" to match suppressed numbers.'], + }, ); has_field 'source.rm' => (