| 259 | 259 | INSERT INTO cc_config (config_title, config_key, config_value, config_description, config_valuetype, config_group_id, config_listvalues) VALUES ('AGI Log File', 'agi', '/tmp/a2billing_agi.log', 'File to log.', 0, 10, NULL); |
|---|
| 260 | 260 | INSERT INTO cc_config (config_title, config_key, config_value, config_description, config_valuetype, config_group_id, config_listvalues) VALUES ('Debug', 'debug', '1', 'The debug level 0=none, 1=low, 2=normal, 3=all.', 0, 11, NULL); |
|---|
| 261 | | INSERT INTO cc_config (config_title, config_key, config_value, config_description, config_valuetype, config_group_id, config_listvalues) VALUES ('Asterisk Version', 'asterisk_version', '1_2', 'Asterisk Version Information, 1_1,1_2,1_4 By Default it will take 1_2 or higher .', 0, 11, NULL); |
|---|
| | 261 | INSERT INTO cc_config (config_title, config_key, config_value, config_description, config_valuetype, config_group_id, config_listvalues) VALUES ('Asterisk Version', 'asterisk_version', '1_4', 'Asterisk Version Information, 1_1,1_2,1_4 By Default it will take 1_2 or higher .', 0, 11, NULL); |
|---|
| 262 | 262 | INSERT INTO cc_config (config_title, config_key, config_value, config_description, config_valuetype, config_group_id, config_listvalues) VALUES ('Answer Call', 'answer_call', 1, 'Manage the answer on the call. Disabling this for callback trigger numbers makes it ring not hang up.', 1, 11, 'yes,no'); |
|---|
| 263 | 263 | INSERT INTO cc_config (config_title, config_key, config_value, config_description, config_valuetype, config_group_id, config_listvalues) VALUES ('Play Audio', 'play_audio', 1, 'Play audio - this will disable all stream file but not the Get Data , for wholesale ensure that the authentication works and than number_try = 1.', 1, 11, 'yes,no'); |
|---|
| 835 | | INSERT INTO cc_config ( config_title, config_key, config_value, config_description, config_valuetype, `config_group_id`, `config_listvalues`) |
|---|
| 836 | | VALUES ( 'Support Modules', 'support', '1', 'Enable or Disable the module of support', 1, 3, 'yes,no'); |
|---|
| | 835 | INSERT INTO cc_config ( config_title, config_key, config_value, config_description, config_valuetype, `config_group_id`, `config_listvalues`) VALUES ( 'Support Modules', 'support', '1', 'Enable or Disable the module of support', 1, 3, 'yes,no'); |
|---|
| | 1016 | |
|---|
| | 1017 | -- ALTER TABLE `cc_config` CHANGE `config_description` `config_description` TEXT CHARACTER SET utf8 COLLATE utf8_bin NOT NULL; |
|---|
| | 1018 | -- ALTER TABLE `cc_config` CHANGE `config_description` `config_description` VARCHAR( 500 ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL |
|---|
| | 1019 | |
|---|
| | 1020 | -- Deck threshold switch for callplan |
|---|
| | 1021 | -- delete from cc_config where config_key='callplan_deck_minute_threshold'; |
|---|
| | 1022 | |
|---|
| | 1023 | INSERT INTO cc_config (config_title, config_key, config_value, config_description, config_valuetype, config_group_id, config_listvalues) |
|---|
| | 1024 | VALUES ('CallPlan threshold Deck switch', 'callplan_deck_minute_threshold', '', 'CallPlan threshold Deck switch. <br/>This option will switch the user callplan from one call plan ID to and other Callplan ID |
|---|
| | 1025 | The parameters are as follow : <br/> |
|---|
| | 1026 | -- ID of the first callplan : called minutes needed to switch to the next CallplanID <br/> |
|---|
| | 1027 | -- ID of the second callplan : called minutes needed to switch to the next CallplanID <br/> |
|---|
| | 1028 | -- if not needed minutes are defined it will automatically switch to the next one <br/> |
|---|
| | 1029 | -- if defined we will sum the previous needed minutes and check if the caller had done at least the amount of calls necessary to go to the next step and have the amount of minutes needed<br/> |
|---|
| | 1030 | value example for callplan_deck_minute_threshold = 1:5, 2:1, 3', |
|---|
| | 1031 | '0', '11', NULL); |
|---|
| | 1032 | |
|---|
| | 1033 | |
|---|
| | 1034 | |
|---|
| | 1035 | -- TODO Test insert of config and not show value |
|---|
| | 1036 | -- INSERT INTO `cc_config` ( `config_title`, `config_key`, `config_value`, `config_description`, `config_valuetype`, `config_group_id`, `config_listvalues`) VALUES('Extra charge DIDs', 'extracharge_did', '1800,1900', 'Add extra per-minute charges to this comma-separated list of DNIDs; needs "extracharge_fee" and "extracharge_buyfee"', 0, 11, NULL); |
|---|