Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 26, 2024 3:10 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Regarding sec_wait_before_callback
PostPosted: Sun Oct 19, 2008 2:42 pm 
Offline

Joined: Tue Sep 16, 2008 9:50 am
Posts: 17
Location: Manchester, UK
Hi everyone,
I'm just curious, by any chance I can have different property of sec_wait_before_callback for different incoming extension?

The reason is because for my callback project, I discovered that Telecom A must have a value of not less than 20 for sec_wait_before_callback, while Telecom B can have anything as low as 10 or even lower. The reason is because if I use a low value for Telecom A, callback will be channeled to the user's voice mail.

As such, I am wondering whether there is a possibility for me to setup another extension in sec_wait_before_callback for Telecom A, thus Telecom A's extension will have a high sec_wait while Telecom B will use a lower value?

Thanks a lot!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 30, 2008 4:26 pm 
Offline

Joined: Fri Jan 18, 2008 9:54 pm
Posts: 135
Hi,

The option of your concern is under the [callback] section...

Try copying it under [agi-conf1] and experiment wirth it value and see the effect, if it worked and overwritten the [callback] section value, then :

hola..!!
you can define [agi-conf3], [agi-conf2] ..etc.. and everytime you call A2B, pass a different agi-conf set..


Plz comment with feedback even if it did not work, i still have another trick..

Regards,


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 30, 2008 4:46 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Voice Broadcast System


All times are UTC


Who is online

Users browsing this forum: No registered users and 31 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group