[Asterisk-Users] queue always hangs up/skip the next agent after ringing a agent -- help!!!

Isaac Xiao isaac.x at kvbkunlun.com
Thu Jun 15 23:29:06 MST 2006


Hi,

I have 1.2.9.1 installed. It always rings first available agents for 15
seconds, then rings and hangs up the next agents straight away, then
ring the next agents for 15 seconds. It goes as a loop. Any one has the
following same problem? Thanks.

Agents.conf
[general]
persistentagents=yes

[agents]
autologoff=60
wrapuptime=15000
ackcall=no

group=1
agent => 7130,7130,agent1
agent => 7131,7131,agent2
agent => 7132,7132,agent3

queue.conf
[7143]
wrapuptime=15
timeout=15
strategy=rrmemory
retry=5
queue-youarenext=queue-youarenext
queue-thereare=queue-thereare
queue-thankyou=queue-thankyou
queue-callswaiting=queue-callswaiting
periodic-announce-frequency=90
periodic-announce=queue-periodic-announce
music=default
monitor-join=yes
monitor-format=
member=Agent/7130
member=Agent/7131
member=Agent/7132
maxlen=0
leavewhenempty=no
joinempty=yes
context=
announce-holdtime=yes
announce-frequency=60

Hereunder is some log:
---------------
Executing Dial("Local/7190 at from-internal-a48e,2", "SIP/7190|15|trWwT")
in new stack
Jun 16 15:48:05 DEBUG[29697] chan_sip.c: Setting NAT on RTP to 0
Jun 16 15:48:05 DEBUG[29697] chan_sip.c: Setting NAT on VRTP to 0
Jun 16 15:48:05 DEBUG[29697] chan_sip.c: Outgoing Call for 7190
Jun 16 15:48:05 VERBOSE[29697] logger.c: -- Called 7190
Jun 16 15:48:05 VERBOSE[29691] logger.c: -- Agent/7132 is ringing
Jun 16 15:48:20 VERBOSE[29697] logger.c: -- Nobody picked up in 15000 ms
Jun 16 15:48:20 DEBUG[29691] app_queue.c: Dunno what to do with control
type -1
Jun 16 15:48:20 DEBUG[29697] chan_sip.c: update_call_counter(7190) -
decrement call limit counter
Jun 16 15:48:20 DEBUG[29697] chan_sip.c: Acked pending invite 102
un 16 15:48:20 DEBUG[29697] app_dial.c: Exiting with
DIALSTATUS=NOANSWER.
Jun 16 15:48:20 DEBUG[29697] pbx.c: Expression result is '1'
Jun 16 15:48:20 VERBOSE[29691] logger.c: -- Agent/7132 is circuit-busy
Jun 16 15:48:20 DEBUG[29691] chan_agent.c: Hangup called for state Down
Here rings 15 seconds, no problem -----> Jun 16 15:48:20 DEBUG[29691]
chan_agent.c: Hungup, howlong is 15, autologoff is 60
Jun 16 15:48:20 VERBOSE[29691] logger.c: -- outgoing agentcall, to agent
'7131', on 'Local/7175 at from-internal-5c88,1'
Jun 16 15:48:20 VERBOSE[29691] logger.c: -- Called Agent/7131
Jun 16 15:48:20 DEBUG[29705] pbx.c: Expression result is '0'
Jun 16 15:48:20 DEBUG[29705] pbx.c: Not taking any branch
Jun 16 15:48:20 DEBUG[29705] pbx.c: Function result is '0'
Jun 16 15:48:20 VERBOSE[29691] logger.c: -- Nobody picked up in 15000 ms
Jun 16 15:48:20 DEBUG[29691] chan_agent.c: Hangup called for state Down
Problem is here, not ring at all -----> Jun 16 15:48:20 DEBUG[29691]
chan_agent.c: Hungup, howlong is 0, autologoff is 60
Jun 16 15:48:20 DEBUG[29705] res_agi.c: Local/7175 at from-internal-5c88,2
hungup
Jun 16 15:48:32 VERBOSE[29691] logger.c: -- outgoing agentcall, to agent
'7130', on 'Local/7176 at from-internal-31cd,1'
Jun 16 15:48:32 VERBOSE[29691] logger.c: -- Called Agent/7130
Jun 16 15:48:32 VERBOSE[29717] logger.c: -- Called 7176
Jun 16 15:48:32 VERBOSE[29691] logger.c: -- Agent/7130 is ringing
un 16 15:48:32 VERBOSE[29717] logger.c: -- SIP/7176-bfec is ringing
Jun 16 15:48:47 VERBOSE[29717] logger.c: -- Nobody picked up in 15000 ms
Jun 16 15:48:47 DEBUG[29691] app_queue.c: Dunno what to do with control
type -1
Jun 16 15:48:47 DEBUG[29717] chan_sip.c: update_call_counter(7176) -
decrement call limit counter
Jun 16 15:48:47 DEBUG[29717] chan_sip.c: Acked pending invite 102
Jun 16 15:48:47 DEBUG[29691] chan_agent.c: Hangup called for state Down
Here rings 15 seconds, no problem -----> Jun 16 15:48:47 DEBUG[29691]
chan_agent.c: Hungup, howlong is 15, autologoff is 60

Isaac Xiao



More information about the asterisk-users mailing list