[asterisk-users] Asterisk 13.22.0 - No channel type registered for 'Agent' when queue rings
Stefan Viljoen
viljoens at verishare.co.za
Thu Aug 2 03:54:40 CDT 2018
Hi All
With the below config, I just keep gettings this in the Asterisk 13.22.0
CLI:
WARNING[15872][C-00000051]: channel.c:6343 ast_request: No channel type
registered for 'Agent'
whenever a caller gets sent to that agent queue with logged in agents
waiting for calls on Asterisk 13.
3997 and 3998 are my two agents. They can call each other and receive calls
from other extensions. They can phone out of my PBX, no problems.
My agents.conf:
---
[agents](!)
autologoff=15
wrapuptime=5000
custom_beep=beep
[3997](agents)
fullname=>AGENT 1
[3998](agents)
fullname=>AGENT 2
---
My queues.conf:
---
[testq]
musicclass = default
strategy = leastrecent
timeout = 10
retry = 5
autofill = yes
member => Agent/3997,0,3997,hint:3997 at default,no
member => Agent/3998,0,3998,hint:3998 at default,no
---
Also, setting ringinuse on (change member line above to have "yes" at the
end) has no effect except to make the error "No channel type..." appear
twice in the 13.22.0 CLI per external ring heard by caller, instead of once
per external ring if ringinuse is set to "no" in the two lines above.
Logging in an agent in extensions.conf:
---
exten=>1007,1,NoOp(Login agent from ${CALLERID(num)})
same=>n,Set(MONITOR_OPTIONS=b)
same=>n,UnpauseQueueMember(,Agent/${CALLERID(num)})
same=>n,AgentLogin(${CALLERID(num)},s)
---
Queue show with agents logged in:
---
localhost*CLI> queue show
testq has 0 calls (max unlimited) in 'leastrecent' strategy (0s holdtime, 0s
talktime), W:0, C:0, A:16, SL:0.0% within 0s
Members:
3997 (Agent/3997 from hint:3997 at default) (ringinuse disabled) (In use)
has taken no calls yet
3998 (Agent/3998 from hint:3998 at default) (ringinuse disabled) (In use)
has taken no calls yet
No Callers
---
Then, if the queue is called from outside:
---
localhost*CLI> queue show
testq has 1 calls (max unlimited) in 'leastrecent' strategy (0s holdtime, 0s
talktime), W:0, C:0, A:16, SL:0.0% within 0s
Members:
3997 (Agent/3997 from hint:3997 at default) (ringinuse disabled) (In use)
has taken no calls yet
3998 (Agent/3998 from hint:3998 at default) (ringinuse disabled) (In use)
has taken no calls yet
Callers:
1. SIP/3916-00000055 (wait: 0:08, prio: 0)
---
3916 is never answered, and neither 3997 or 3998 receive the call, both
continuing with MOH indefinitely.
Constantly on the CLI this comes up, timed with each ring of 3916 (the
"outside" phone):
---
localhost*CLI> queue show
testq has 1 calls (max unlimited) in 'leastrecent' strategy (0s holdtime, 0s
talktime), W:0, C:0, A:16, SL:0.0% within 0s
Members:
3997 (Agent/3997 from hint:3997 at default) (ringinuse disabled) (In use)
has taken no calls yet
3998 (Agent/3998 from hint:3998 at default) (ringinuse disabled) (In use)
has taken no calls yet
Callers:
1. SIP/3916-00000055 (wait: 0:08, prio: 0)
localhost*CLI>
[Aug 2 10:37:39] WARNING[16925][C-00000056]: channel.c:6343 ast_request: No
channel type registered for 'Agent'
[Aug 2 10:37:44] WARNING[16925][C-00000056]: channel.c:6343 ast_request: No
channel type registered for 'Agent'
[Aug 2 10:37:49] WARNING[16925][C-00000056]: channel.c:6343 ast_request: No
channel type registered for 'Agent'
----
What am I doing wrong?
The expectation is that either 3997 or 3998 will receive the incoming call
placed by SIP/3916. As of now, 3916 rings forever, and 3997 and 3998 just
play MOH forever, with the above error emitted with each ring heard on 3916
which is calling into the queue looking for someone to pick up.
Thanks!
More information about the asterisk-users
mailing list