[Asterisk-Users] AgentCallbackLogin
Jim Friedeck
asterisk at carhil.com
Wed Aug 6 13:12:50 MST 2003
I am having trouble with the AgenCallBackLogin app. I can't seem to
define a context for the queue.
Here is the relevant configs:
queues.conf:
[general]
[default]
[q_lo_1]
music = default
strategy = ringall
context = c_in_1
timeout = 15
retry = 2
maxlen = 0
member => Agent/@3
agents.conf:
[agents]
autologoff=10
wrapuptime=15000
group=1
agent => 1001,1234,Agent1
agent => 1002,1234,Agent2
agent => 1010,1234,Agent3
group=2
agent => 1020,1234,Agent4
group=3
agent => 1021,1234,Agent5
agent => 1022,1234,Agent6
agent => 1023,1234,Agent7
agent => 1024,1234,Agent8
agent => 1025,1234,Agent9
extensions.conf:
[c_in_1]; internal lines (up to 48 agents and admins)
exten => 400,1,AgentCallbackLogin(|c_in_1)
exten => 100,1,Queue(q_ld_1)
exten => 101,1,Queue(q_ld_2)
exten => 102,1,Queue(q_ld_3)
exten => 103,1,Queue(q_lo_1)
exten => t,1,Playback(invalid)
exten => t,2,Hangup
ignorepat => 8
exten => _8NXXXXXX,1,Dial(Zap/97/${EXTEN:1})
exten => _8NXXXXXX,2,Congestion
ignorepat => 8
exten => _9NXXXXXX,1,Dial(Zap/97/${EXTEN:1})
exten => _9NXXXXXX,2,Congestion
exten => 201,1,Dial(Zap/73)
exten => 202,1,Dial(Zap/74)
exten => 203,1,Dial(Zap/75)
exten => 204,1,Dial(Zap/76)
exten => 205,1,Dial(Zap/77)
exten => 206,1,Dial(Zap/78)
exten => 207,1,Dial(Zap/79)
exten => 208,1,Dial(Zap/80)
exten => 209,1,Dial(Zap/81)
exten => 210,1,Dial(Zap/82)
exten => 211,1,Dial(Zap/83)
exten => 212,1,Dial(Zap/84)
exten => 213,1,Dial(Zap/85)
exten => 214,1,Dial(Zap/86)
exten => 215,1,Dial(Zap/87)
exten => 216,1,Dial(Zap/88)
exten => 217,1,Dial(Zap/89)
exten => 218,1,Dial(Zap/90)
exten => 219,1,Dial(Zap/91)
exten => 220,1,Dial(Zap/92)
exten => 221,1,Dial(Zap/93)
exten => 222,1,Dial(Zap/94)
exten => 223,1,Dial(Zap/95)
exten => 224,1,Dial(Zap/96)
When I dial 400 I can log an agent on extension 201 in but when I dial
103 to enter the q_lo_1 queue the CLI interface says:
-- Executing Queue("Zap/74-1", "q_lo_1") in new stack
queue: q_lo_1, options: (null), url: (null), announce: (null)
-- Started music on hold, class 'default', on Zap/74-1
NOTICE[540691]: File chan_local.c, Line 310 (local_alloc): No such
extension/context default at 201 creating local channel
NOTICE[540691]: File app_queue.c, Line 468 (wait_for_answer): No one is
answered queue q_lo_1
I don't understand where the default context comes from in the message
'No such extension/context default at 201'. Where do I tell the queue app
the proper context? Any ideas?
Jim Friedeck
More information about the asterisk-users
mailing list