Creating agents dynamically


Im trying to find a way to create agents dynamically. At this point, all the agents are defined in the agents.conf.

Is there a way to create agents on the fly? Maybe Asterisk can get the agents from a external database?

I’m using Asterisk version 13.1.0

You can forget about agents.conf and user Queue functions to add queue members in the fly .


1 Like

I can already add queue members on the fly. But isn’t it that they still need to exists in the agents.conf before you can add the member to a specific queue (so they need to exists in the agents.conf first) ?

no . you dont need .

You could set up realtime queue members and use a queue_member_table in a database. Just add and delete records from the database.