BUG: FOP2 Dynamic Agents with Same Name
Hey,
Theres a bug in FOP2 for dynamic agents. If you have multiple dynamic agents with the same name(Display name/CID NAME) and one of them is added to a queue using ADDQUEUEMEMBER, all of them appear in that queue under FOP2. Only the one that was actually added is green but the others appear there shaded gray. The calls are routed fine, and asterisk knows who's actually logged into the queue, FOP2 is just displaying the information incorrectly.
Thanks,
Nate
Theres a bug in FOP2 for dynamic agents. If you have multiple dynamic agents with the same name(Display name/CID NAME) and one of them is added to a queue using ADDQUEUEMEMBER, all of them appear in that queue under FOP2. Only the one that was actually added is green but the others appear there shaded gray. The calls are routed fine, and asterisk knows who's actually logged into the queue, FOP2 is just displaying the information incorrectly.
Thanks,
Nate
Comments
Are you referring to the queue member display or to the extension filter when you click on the queue button? The extension filter is dumb as it does not check the real queue membership but just filters based on name, so same name buttons will not be filtered.... even more so, if you have a queue member named "A", any extension with an A in the label will be shown and not filtered. The distinct queue members are displayed on the queue button itself. best regards,
Why it was implemented that way? Because there are so many ways to define agents in asterisk, and they behave differently across asterisk versions, that it is next to impossible to have a 100% working filter on all possible scenarios, including the fop2 configuration alternatives you might have. What happens if you have filter groups, where there are buttons that are not shown on the extension list, but they *are* members of the queue? Some people will say the feature is bad implemented because it is still not showing a queue member? Probably. What happens if you use the membername for dynamic queue members, or when you use Agent channels?
In any case, just do not click on the queue button to filter the extension list if you think the feature is flawed or do not like it at all.
The feature is there for convenience, and it works surprisingly well for a lot of users. I am sorry that it is not useful for you.
You can have several type of queue members
Local/1234@from-queue/n
(where 1234 is the extension number)
Local/1234@whatever
(where 1234 is NOT the extension number but some agent number)
Local/1234@whatever with membername John Doe
(where the 1234 part could be an extension number OR NOT)
SIP/1234
(where 1234 is also the extension number)
SIP/1234
(where 1234 IS NOT the extension number)
SIP/1234 with member name Mary
Agent/1000
(where 1000 is not an extension number).
And I can keep going enumerating posibilities...Believe me, if it were a direct path or straight way to relate them, I would have implemented that. As there is NO WAY, I hacked a quick filter based on name, that is not perfect at all, but works for many many people.
Best regards,