I gave you a little respite after the important information and help I received last week. In the meantime, I have tried, weather permitting, to continue understanding the Asterisk ecosystem.
This time I have some difficulties. I must say that in some sections, the available documentation is not clear enough.
Coming to the point, I set out to approach queues and create agents that could log on to a queue from any phone device. If I have not misunderstood, the steps to be taken are as follows:
1. In agents.conf [xxxx-agent](!) autologoff=15 ackcall=yes acceptdtmf=## [xxxx-agent-test](xxxx-agent) fullname=Jhon Doe agent => 8888,2708,xxxx-mob-lv 2. pjsip_wizard.conf [xxx-mob-lv](xxxx-template) hint_exten=1001 inbound_auth/username=xxxx-mob-lv inbound_auth/password=X ? cUmy2? HvG&dnxq*! V endpoint/rtp_symmetric=yes endpoint/rewrite_contact=yes endpoint/force_rport=yes 3. queues.conf [xxxx-test] strategy=ringall member=>Agent/8888
Here is my extension.conf where the extension is configured to login:
exten=> 1099,1,AgentLogin(8888) exten=> 1100,1,Queue(xxxx-test)
Dialing 1099 AgentLogin should ask for the password and authenticate the operator on the device from which it is requesting authentication. Calling 1100 should be added to the queue xxxx-test-
Unfortunately I get the following authentication error:
Executing [1099@dialxxxx:1] AgentLogin (“PJSIP/xxxx-desk-lv-val-00000061”, “Agent/8888”) in new stack
> 0x7f2e6c041c10 – Strict RTP learning after remote address set to: 93.XXX.XXX.XXX:12240
> 0x7f2e6c041c10 – Strict RTP switching to RTP target address 93.XXX.XXX.XXX:12240 as source
– Agent ‘Agent/8888’ does not exist.
I’m trying to authenticate myself from the phone xxx-desk.lv-val.
I also tried to insert AgentLogin(8888) (without Agent/), but I got a similar error.
Where and what am I doing wrong?
Moreover, I am not really clear on the meaning of AgentLogin, which wants agentId as a mandatory parameter. I do not know in advance which agent id, composing the extension 1099, would like to authenticate.
I would like a queue to have agents who can authenticate themselves inside a queue by entering agentId and password and hang up the phone until an incoming call in that queue rings the phone the agent has authenticated to. Last question, how do I make a label appear on the phone display that informs which queue the call comes from? How is it possible to log out? Is it possible that after a certain number of unanswered calls from the agent and/or unused, the agent is automatically removed from the queue?
Thank you very much.