This will not work. Cause placing the settings in certain sections is one thing. Reading the settings from the right sections is another thing.
If you look inside Class.A2Billing.php, you will see several lines similar to the following:
Code:
Conf for the Callback
if(!isset($this->config['callback']['context_callback'])) $this->config['callback']['context_callback'] = 'a2billing-callback';
if(!isset($this->config['callback']['ani_callback_delay'])) $this->config['callback']['ani_callback_delay'] = '10';
if(!isset($this->config['callback']['extension'])) $this->config['callback']['extension'] = '1000';
if(!isset($this->config['callback']['sec_avoid_repeate'])) $this->config['callback']['sec_avoid_repeate'] = '30';
if(!isset($this->config['callback']['timeout'])) $this->config['callback']['timeout'] = '20';
if(!isset($this->config['callback']['answer_call'])) $this->config['callback']['answer_call'] = '1';
if(!isset($this->config['callback']['nb_predictive_call'])) $this->config['callback']['nb_predictive_call'] = '10';
if(!isset($this->config['callback']['nb_day_wait_before_retry'])) $this->config['callback']['nb_day_wait_before_retry'] = '1';
if(!isset($this->config['callback']['context_preditctivedialer'])) $this->config['callback']['context_preditctivedialer'] = 'a2billing-predictivedialer';
if(!isset($this->config['callback']['predictivedialer_maxtime_tocall'])) $this->config['callback']['predictivedialer_maxtime_tocall'] = '5400';
if(!isset($this->config['callback']['sec_wait_before_callback'])) $this->config['callback']['sec_wait_before_callback'] = '10';
These lines are in fact grabbing the configuration settings from a2billing.conf or initializing the missing options.
If you want to allow some settings in agi-confx to be able to override some global settings, you will need to create a code that will loop those certain configuration options and replace the global equivalents specifically.
It can be done only by doing some PHP work.
Cheers
Abdoulaye Siby