Search

Wednesday, April 14, 2010

Ringall in asterisk queue does not ring 'all' agent

The asterisk app_queue provides several distribution strategies with ringall as the default one.  This setting is supposed to ring all available agents until one answers.

 

If ringall does not behave as expected, we should check that autofill is enabled or not.

 

The autofill indicator is specified in queue.conf for static queue.  If realtime queue is adopted, there should be a field autofill in  asterisk.queue_table. 

desc queue_table;

+-----------------------------+--------------+------+-----+---------+-------+

| Field                       | Type         | Null | Key | Default | Extra |

+-----------------------------+--------------+------+-----+---------+-------+

| name                        | varchar(128) | NO   | PRI |         |       |

| musiconhold                 | varchar(128) | YES  |     | NULL    |       |

| announce                    | varchar(128) | YES  |     | NULL    |       |

| context                     | varchar(128) | YES  |     | NULL    |       |

| timeout                     | int(11)      | YES  |     | NULL    |       |

| monitor_join                | tinyint(1)   | YES  |     | NULL    |       |

| monitor_format              | varchar(128) | YES  |     | NULL    |       |

| queue_youarenext            | varchar(128) | YES  |     | NULL    |       |

| queue_thereare              | varchar(128) | YES  |     | NULL    |       |

| queue_callswaiting          | varchar(128) | YES  |     | NULL    |       |

| queue_holdtime              | varchar(128) | YES  |     | NULL    |       |

| queue_minutes               | varchar(128) | YES  |     | NULL    |       |

| queue_seconds               | varchar(128) | YES  |     | NULL    |       |

| queue_lessthan              | varchar(128) | YES  |     | NULL    |       |

| queue_thankyou              | varchar(128) | YES  |     | NULL    |       |

| queue_reporthold            | varchar(128) | YES  |     | NULL    |       |

| announce_frequency          | int(11)      | YES  |     | NULL    |       |

| announce_round_seconds      | int(11)      | YES  |     | NULL    |       |

| announce_holdtime           | varchar(128) | YES  |     | NULL    |       |

| retry                       | int(11)      | YES  |     | NULL    |       |

| wrapuptime                  | int(11)      | YES  |     | NULL    |       |

| maxlen                      | int(11)      | YES  |     | NULL    |       |

| servicelevel                | int(11)      | YES  |     | NULL    |       |

| strategy                    | varchar(128) | YES  |     | NULL    |       |

| joinempty                   | varchar(128) | YES  |     | NULL    |       |

| leavewhenempty              | varchar(128) | YES  |     | NULL    |       |

| eventmemberstatus           | tinyint(1)   | YES  |     | NULL    |       |

| eventwhencalled             | tinyint(1)   | YES  |     | NULL    |       |

| reportholdtime              | tinyint(1)   | YES  |     | NULL    |       |

| memberdelay                 | int(11)      | YES  |     | NULL    |       |

| weight                      | int(11)      | YES  |     | NULL    |       |

| timeoutrestart              | tinyint(1)   | YES  |     | NULL    |       |

| periodic_announce           | varchar(50)  | YES  |     | NULL    |       |

| periodic_announce_frequency | int(11)      | YES  |     | NULL    |       |

| ringinuse                   | tinyint(1)   | YES  |     | NULL    |       |

| setinterfacevar             | tinyint(1)   | YES  |     | NULL    |       |

| autofill                    | tinyint(1)   | YES  |     | NULL    |       |

+-----------------------------+--------------+------+-----+---------+-------+

 

When autofill is undefined or is 0, incoming calls are delivered in FIFO manner.  The log file : /var/log/asterisk/queue_log provides detailed information about the incoming call and ringing progress.  Look for event with 'RINGNOANSWER' to spot whether your incoming call is serialized or delivered to all available agents.

 

No comments:

Post a Comment