<div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Sun, Dec 2, 2018 at 11:34 AM Igor Goncharovsky <<a href="mailto:igor.goncharovsky@gmail.com">igor.goncharovsky@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><img width="0" height="0" class="gmail-m_8546600348658326422mailtrack-img" alt="" style="display: flex;"><div></div><div></div><div></div>Hello All!<div><br></div><div>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.</div><div><br></div><div>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. </div><div><br></div><div>It works, but I want to get it implemented in smarter way and I see two ways:</div><div>1) Implement realtime configuration for app_agent_pool via </div><div>2) Dynamically create agent on AgentLogin() called (like ConfBridge do it for bridges)<br></div><div><br></div><div>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.<br></div></div></blockquote><div><br></div><div>Hey Igor, long time no see!  </div><div><br></div><div>I'm guessing from the lack of feedback here that whatever approach you take will probably not get too much kickback. </div><div><br></div><div>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.</div></div><br clear="all"><div>Best wishes!</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Matthew Fredrickson<br>Digium - A Sangoma Company | Asterisk Project Lead<br>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div></div></div>