I'm trying to add agents to queues in realtime, by adding them to the queue_members table, the old syntax for adding them is using Agent/1001 but the chan_agents along with the Agent channel have been removed from the recent versions, and the current presented syntax is this
member => Local/1001@agents,0,May Flowers,Agent:1001
member => Local/1002@agents,0,John Doe,Agent:1002
which translate to
queue_name : agents_queue
interface : Local/1001@agents
state_interface : Agent:1001
but both of them gives me this error
NOTICE[18541][C-0000000a]: core_local.c:701 local_call: No such extension/context 1001@agents while calling Local channel
EDIT: agent was already added in agents.conf
[1001]
fullname=Will Meadows
EDIT 2: using an agents context
[agents]
exten=> _*,n,AgentRequest(first_agent)
there is no error using a context but the agent is still shown as Invalid
May Flowers (Local/first_agent@myagents from Agent:first_agent) (ringinuse enabled) (Invalid) has taken no calls yet
my goal is to give the agents the ability to login using AgentLogin and routing calls to them through a queue.
[Agents]?chan_localis trying to find "extension 1001 in context agents" , and the error is claiming it can't. - MichelV69queue_membersin realtime - Tarik