[asterisk-dev] Idea: make app_agent_pool dynamic

Matt Fredrickson creslin at digium.com
Tue Dec 4 16:37:19 CST 2018


On Sun, Dec 2, 2018 at 11:34 AM Igor Goncharovsky <
igor.goncharovsky at gmail.com> wrote:

> Hello All!
>
> We are using currently app_agent_pool to make agents login into queues and
> get queue calls connected to agents without delay. It is how this module
> designed.
>
> But this module is used together with external software, that used to
> define agents, its id. This is the reason we do not know initially number
> of agents and its id's. As workaround we generate currently agents
> configurations for every potential possible user id, that cause asterisk
> configured for 10.000 agents.
>
> It works, but I want to get it implemented in smarter way and I see two
> ways:
> 1) Implement realtime configuration for app_agent_pool via
> 2) Dynamically create agent on AgentLogin() called (like ConfBridge do it
> for bridges)
>
> What do you think about best way for implementing this feature? Both ways
> should work for us, but I want to get this feature accepted to trunk.
>

Hey Igor, long time no see!

I'm guessing from the lack of feedback here that whatever approach you take
will probably not get too much kickback.

I don't use app_agent_pool and its suite of dialplan applications, but if I
understand what you're asking correctly, I would say that one consequence
of doing anything in realtime is you have to maintain alembic scripts for
the tables in question.  So if you don't want to deal with alembic, the
dynamic approach might be more interesting.

Best wishes!

-- 
Matthew Fredrickson
Digium - A Sangoma Company | Asterisk Project Lead
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20181204/6b63bf59/attachment.html>


More information about the asterisk-dev mailing list