From: levinse Date: Tue, 18 Jan 2011 03:32:42 +0000 (+0000) Subject: move telephony-related config items into their own section X-Git-Tag: freeside_2_3_0~743 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=5bc29cd57b5dafce49f23f318fa8bb6945a54068 move telephony-related config items into their own section --- diff --git a/FS/FS/Conf.pm b/FS/FS/Conf.pm index 663add39d..c7c576637 100644 --- a/FS/FS/Conf.pm +++ b/FS/FS/Conf.pm @@ -2818,28 +2818,28 @@ and customer address. Include units.', { 'key' => 'voip-cust_cdr_spools', - 'section' => '', + 'section' => 'telephony', 'description' => 'Enable the per-customer option for individual CDR spools.', 'type' => 'checkbox', }, { 'key' => 'voip-cust_cdr_squelch', - 'section' => '', + 'section' => 'telephony', 'description' => 'Enable the per-customer option for not printing CDR on invoices.', 'type' => 'checkbox', }, { 'key' => 'voip-cdr_email', - 'section' => '', + 'section' => 'telephony', 'description' => 'Include the call details on emailed invoices (and HTML invoices viewed in the backend), even if the customer is configured for not printing them on the invoices.', 'type' => 'checkbox', }, { 'key' => 'voip-cust_email_csv_cdr', - 'section' => '', + 'section' => 'telephony', 'description' => 'Enable the per-customer option for including CDR information as a CSV attachment on emailed invoices.', 'type' => 'checkbox', }, @@ -3794,35 +3794,35 @@ and customer address. Include units.', { 'key' => 'svc_phone-radius-default_password', - 'section' => '', + 'section' => 'telephony', 'description' => 'Default password when exporting svc_phone records to RADIUS', 'type' => 'text', }, { 'key' => 'svc_phone-allow_alpha_phonenum', - 'section' => '', + 'section' => 'telephony', 'description' => 'Allow letters in phone numbers.', 'type' => 'checkbox', }, { 'key' => 'svc_phone-domain', - 'section' => '', + 'section' => 'telephony', 'description' => 'Track an optional domain association with each phone service.', 'type' => 'checkbox', }, { 'key' => 'svc_phone-phone_name-max_length', - 'section' => '', + 'section' => 'telephony', 'description' => 'Maximum length of the phone service "Name" field (svc_phone.phone_name). Sometimes useful to limit this (to 15?) when exporting as Caller ID data.', 'type' => 'text', }, { 'key' => 'svc_phone-lnp', - 'section' => '', + 'section' => 'telephony', 'description' => 'Enables Number Portability features for svc_phone', 'type' => 'checkbox', }, @@ -3836,7 +3836,7 @@ and customer address. Include units.', { 'key' => 'cdr-charged_party-field', - 'section' => '', + 'section' => 'telephony', 'description' => 'Set the charged_party field of CDRs to this field.', 'type' => 'select-sub', 'options_sub' => sub { my $fields = FS::cdr->table_info->{'fields'}; @@ -3852,14 +3852,14 @@ and customer address. Include units.', #probably deprecate in favor of cdr-charged_party-field above { 'key' => 'cdr-charged_party-accountcode', - 'section' => '', + 'section' => 'telephony', 'description' => 'Set the charged_party field of CDRs to the accountcode.', 'type' => 'checkbox', }, { 'key' => 'cdr-charged_party-accountcode-trim_leading_0s', - 'section' => '', + 'section' => 'telephony', 'description' => 'When setting the charged_party field of CDRs to the accountcode, trim any leading zeros.', 'type' => 'checkbox', }, @@ -3880,7 +3880,7 @@ and customer address. Include units.', { 'key' => 'cdr-charged_party_rewrite', - 'section' => '', + 'section' => 'telephony', 'description' => 'Do charged party rewriting in the freeside-cdrrewrited daemon; useful if CDRs are being dropped off directly in the database and require special charged_party processing such as cdr-charged_party-accountcode or cdr-charged_party-truncate*.', 'type' => 'checkbox', }, @@ -3901,7 +3901,7 @@ and customer address. Include units.', { 'key' => 'cdr-asterisk_forward_rewrite', - 'section' => '', + 'section' => 'telephony', 'description' => 'Enable special processing for CDRs representing forwarded calls: For CDRs that have a dcontext that starts with "Local/" but does not match dst, set charged_party to dst, parse a new dst from dstchannel, and set amaflags to "2" ("BILL"/"BILLING").', 'type' => 'checkbox', }, @@ -4226,7 +4226,7 @@ and customer address. Include units.', { 'key' => 'opensips_gwlist', - 'section' => 'opensips', + 'section' => 'telephony', 'description' => 'For svc_phone OpenSIPS dr_rules export, gwlist column value, per-agent', 'type' => 'text', 'per_agent' => 1, @@ -4235,7 +4235,7 @@ and customer address. Include units.', { 'key' => 'opensips_description', - 'section' => 'opensips', + 'section' => 'telephony', 'description' => 'For svc_phone OpenSIPS dr_rules export, description column value, per-agent', 'type' => 'text', 'per_agent' => 1, @@ -4244,7 +4244,7 @@ and customer address. Include units.', { 'key' => 'opensips_route', - 'section' => 'opensips', + 'section' => 'telephony', 'description' => 'For svc_phone OpenSIPS dr_rules export, routeid column value, per-agent', 'type' => 'text', 'per_agent' => 1, diff --git a/httemplate/config/config-view.cgi b/httemplate/config/config-view.cgi index a939b19e0..7516dabab 100644 --- a/httemplate/config/config-view.cgi +++ b/httemplate/config/config-view.cgi @@ -349,7 +349,7 @@ my @config_items = grep { $page_agent ? $_->per_agent : 1 } my @deleteable = qw( invoice_latexreturnaddress invoice_htmlreturnaddress ); my %deleteable = map { $_ => 1 } @deleteable; -my @sections = qw(required billing invoicing notification UI self-service username password session shell BIND opensips ); +my @sections = qw(required billing invoicing notification UI self-service username password session shell BIND telephony ); push @sections, '', 'deprecated'; my %section_items = ();