Asterisk RealtTime Queue Duplicate Member Enteries

Hi,

We have 5 Asterisks running and they’re all using the RealTime Queue application. Every few hrs a PHP script checks the schedule of the Agents and if needed inserts them into queue_member_table. Now the whole mechanism works perfectly fine, but depending on the Asterisk not all the Agents will be appropriately logged in, while others will be logged in more than once.

The contents of the queue_member_table:

uniqueid membername queue_name interface penalty paused
1 Teodora M. Q1664 SIP/FonliderPBX/XXXXXXXXX 0 0
2 Aleksandra G. ASTRO SIP/FonliderPBX/XXXXXXXXX 0 0
3 Slavica S. Q1664 SIP/FonliderPBX/XXXXXXXXX 0 0
4 Tanja J. ASTRO SIP/FonliderPBX/XXXXXXXXX 0 0
5 Dragana K. ASTRO SIP/FonliderPBX/XXXXXXXXX 0 0
6 Ana K. ASTRO SIP/FonliderPBX/XXXXXXXXX 0 0
7 Dragan G. ASTRO SIP/FonliderPBX/XXXXXXXXX 0 0

  • note that all the interfaces are actually different and that this is just an example :smile:

Now one of the Asterisks returns this for queue show ASTRO:

Members:
Ana K. (SIP/FonliderPBX/***) (realtime) (Unknown) has taken no calls yet
Dragan G. (SIP/FonliderPBX/***) (realtime) (Unknown) has taken no calls yet
Tanja J. (SIP/FonliderPBX/***) (realtime) (Unknown) has taken no calls yet
Ana K. (SIP/FonliderPBX/***) (realtime) (Unknown) has taken no calls yet
Dragan G. (SIP/FonliderPBX/***) (realtime) (Unknown) has taken no calls yet

You can clearly see that there are 2 duplicate entries while some are missing…

The other Asterisk which is using the same queue_member_table returns this:
Members
Ana K.(SIP/FonliderPBX/***) (realtime) (Unknown) has taken no calls yet
Dragan G. (SIP/FonliderPBX/***) (realtime) (Unknown) has taken no calls yet
Tanja J. (SIP/FonliderPBX/***) (realtime) (Unknown) has taken no calls yet
Aleksandra G. (SIP/FonliderPBX/***) (realtime) (Unknown) has taken no calls yet
Dragana K. (SIP/FonliderPBX/***) (realtime) (Unknown) has taken no calls yet

Which is what I was originally expecting. Note that whenever I do a core restart now, all the Asterisks will have the right queue data, but the thing is I don’t want to have to restart each time the queue members change. Also all of the asterisks are configured in exactly the same way :smile:

Has anyone had a similar problem?

Thanks~
Nem

I have the same problem. My Asterisk version is 1.8.7.0

bump, just to track subject… :smile: