Changeset 891

Show
Ignore:
Timestamp:
07/23/08 10:20:31 (3 months ago)
Author:
areski
Message:

update asterisk default version to 1_4

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/DataBase/mysql-5.x/UPDATE-a2billing-v1.3.0-to-v1.4.0-mysql.sql

    r883 r891  
    259259INSERT 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); 
    260260INSERT 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); 
     261INSERT 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); 
    262262INSERT 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'); 
    263263INSERT 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'); 
     
    720720 
    721721 
    722 ALTER TABLE `cc_card_archive` ADD INDEX ( `creationdate` ); 
    723 ALTER TABLE `cc_card_archive` ADD INDEX ( `username` ); 
     722ALTER TABLE cc_card_archive ADD INDEX ( creationdate ); 
     723ALTER TABLE cc_card_archive ADD INDEX ( username ); 
    724724ALTER TABLE cc_ratecard ADD COLUMN is_merged INT DEFAULT 0; 
    725725 
     
    833833 
    834834 
    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'); 
     835INSERT 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'); 
    837836 
    838837 
     
    10151014ALTER TABLE cc_logrefill ADD description MEDIUMTEXT CHARACTER SET utf8 COLLATE utf8_bin NULL ; 
    10161015 
     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 
     1023INSERT INTO cc_config (config_title, config_key, config_value, config_description, config_valuetype, config_group_id, config_listvalues)  
     1024VALUES ('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 
     1025The 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/> 
     1030value 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); 
  • trunk/DataBase/psql/UPDATE-a2billing-v1.3.0-to-v1.4.0-pgsql.sql

    r883 r891  
    264264INSERT 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); 
    265265INSERT 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); 
    266 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); 
     266INSERT 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); 
    267267INSERT 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'); 
    268268INSERT 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'); 
     
    979979        description     text , 
    980980        CONSTRAINT cc_package_group_pkey PRIMARY KEY (id) 
    981 )
     981)
    982982 
    983983CREATE TABLE cc_packgroup_package ( 
     
    10111011 
    10121012 
    1013  
     1013-- Deck threshold switch for callplan  
     1014INSERT INTO cc_config (config_title, config_key, config_value, config_description, config_valuetype, config_group_id, config_listvalues)  
     1015VALUES ('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 
     1016The parameters are as follow : <br/> 
     1017-- ID of the first callplan : called minutes needed to switch to the next CallplanID <br/> 
     1018-- ID of the second callplan : called minutes needed to switch to the next CallplanID <br/> 
     1019-- if not needed minutes are defined it will automatically switch to the next one <br/> 
     1020-- 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/> 
     1021value example for callplan_deck_minute_threshold = 1:5, 2:1, 3',  
     1022'0', '11', NULL); 
     1023 
     1024 
     1025 
     1026 


Google