issue with queues

zaritronic

Joined
Apr 29, 2009
Messages
54
Likes
0
Points
0
#1
I don't really know whether this is an Elastix, FreePBX or Asterisk issue. The fact is that is related to queues.

The configuration
-----------------
An ANY DID/CID inmbound route feeds a cascade of four queues, each with max user=1, in order for one operator
(the queue's agent) to be able to answer and dispatch calls one at a time.

The agent's telephone(s), whether SIP or FXS lines, have default language =French (the proper sound package is installed).

If a call don't get served within the timeout of one queue it goes to the following queue.
When all four queues are exasted without being served, the call get served by the voicemail in French.

Queues: 421, 422, 423, 424
Ring group: 621
Agents: 517

The symptoms
------------
From time to time when a second or third call arrive while the agent is either busy handling one call or not answering,
the newly arrived call instead of going into the queue, eventually moving to the next if that one has already a call
waiting, it goes straight to VM in English.

Log file
--------
I found many occurrences of the error message: "DBdel: Error deleting key from database." specifically associated to the incriminated behaviour in /var/log/full.

Can you pls advise on a way to debug this issue?

Thanks,

Aron

-----------------------
asterisk -r log
---------------
-- Executing [s@macro-exten-vm:15] NoOp("Local/517@from-internal-7376,2", "Voicemail is 517") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("Local/517@from-internal-7376,2", "0?s-BUSY|1") in new stack
-- Executing [s@macro-exten-vm:17] NoOp("Local/517@from-internal-7376,2", "Sending to Voicemail box 517") in new stack
-- Executing [s@macro-exten-vm:18] Macro("Local/517@from-internal-7376,2", "vm|517|BUSY|") in new stack
-- Executing [s@macro-vm:1] Macro("Local/517@from-internal-7376,2", "user-callerid|SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/517@from-internal-7376,2", "AMPUSER=<MyPhoneNumber>") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/517@from-internal-7376,2", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("Local/517@from-internal-7376,2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("Local/517@from-internal-7376,2", "Using CallerID "<MyPhoneNumber>" <<MyPhoneNumber>>") in new stack
-- Executing [s@macro-vm:2] Set("Local/517@from-internal-7376,2", "VMGAIN=""") in new stack
-- Executing [s@macro-vm:3] GotoIf("Local/517@from-internal-7376,2", "1?vmx|1") in new stack
-- Goto (macro-vm,vmx,1)
-- Executing [vmx@macro-vm:1] GotoIf("Local/517@from-internal-7376,2", "0?s-BUSY|1") in new stack
-- Executing [vmx@macro-vm:2] Set("Local/517@from-internal-7376,2", "MODE=busy") in new stack
-- Executing [vmx@macro-vm:3] GotoIf("Local/517@from-internal-7376,2", "1?notdirect") in new stack
-- Goto (macro-vm,vmx,5)
-- Executing [vmx@macro-vm:5] NoOp("Local/517@from-internal-7376,2", "Checking if ext 517 is enabled: ") in new stack
-- Executing [vmx@macro-vm:6] GotoIf("Local/517@from-internal-7376,2", "1?s-BUSY|1") in new stack
-- Goto (macro-vm,s-BUSY,1)
-- Executing [s-BUSY@macro-vm:1] NoOp("Local/517@from-internal-7376,2", "BUSY voicemail") in new stack
-- Executing [s-BUSY@macro-vm:2] Macro("Local/517@from-internal-7376,2", "get-vmcontext|517") in new stack
-- Executing [s@macro-get-vmcontext:1] Set("Local/517@from-internal-7376,2", "VMCONTEXT=default") in new stack
-- Executing [s@macro-get-vmcontext:2] GotoIf("Local/517@from-internal-7376,2", "0?200:300") in new stack
-- Goto (macro-get-vmcontext,s,300)
-- Executing [s@macro-get-vmcontext:300] NoOp("Local/517@from-internal-7376,2", "") in new stack
-- Executing [s-BUSY@macro-vm:3] VoiceMail("Local/517@from-internal-7376,2", "517@default|b") in new stack
-- <Local/517@from-internal-7376,2> Playing 'vm-theperson' (language 'en')
-- Local/517@from-internal-7376,1 answered DAHDI/2-1
-- Stopped music on hold on DAHDI/2-1
== Manager 'admin' logged off from 127.0.0.1
-- <Local/517@from-internal-7376,2> Playing 'digits/5' (language 'en')
-- <Local/517@from-internal-7376,2> Playing 'digits/1' (language 'en')
-- <Local/517@from-internal-7376,2> Playing 'digits/7' (language 'en')
-- <Local/517@from-internal-7376,2> Playing 'vm-isonphone' (language 'en')
-- DAHDI/29-1 is ringing
-- <Local/517@from-internal-7376,2> Playing 'vm-intro' (language 'en')
-- Nobody picked up in 15000 ms
-- Hungup 'DAHDI/29-1'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/517@from-internal-625b,2' in macro 'dial'
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'Local/517@from-internal-625b,2' in macro 'exten-vm'
== Spawn extension (from-internal, 517, 1) exited non-zero on 'Local/517@from-internal-625b,2'
-- Executing [h@macro-dial:1] Macro("Local/517@from-internal-625b,2", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/517@from-internal-625b,2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("Local/517@from-internal-625b,2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("Local/517@from-internal-625b,2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("Local/517@from-internal-625b,2", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/517@from-internal-625b,2' in macro 'hangupcall'
== Spawn extension (macro-dial, h, 1) exited non-zero on 'Local/517@from-internal-625b,2'
-- Channel 0/2, span 1 got hangup request, cause 16
== Spawn extension (ext-queues, 422, 8) exited non-zero on 'DAHDI/2-1'
-- Hungup 'DAHDI/2-1'
== Spawn extension (macro-vm, s-BUSY, 3) exited non-zero on 'Local/517@from-internal-7376,2' in macro 'vm'
== Spawn extension (macro-exten-vm, s, 18) exited non-zero on 'Local/517@from-internal-7376,2' in macro 'exten-vm'
== Spawn extension (from-internal, 517, 1) exited non-zero on 'Local/517@from-internal-7376,2'
-- Executing [h@from-internal:1] Macro("Local/517@from-internal-7376,2", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/517@from-internal-7376,2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("Local/517@from-internal-7376,2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("Local/517@from-internal-7376,2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("Local/517@from-internal-7376,2", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/517@from-internal-7376,2' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'Local/517@from-internal-7376,2'
-- Executing [h@macro-dial:1] Macro("DAHDI/4-1", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/4-1", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("DAHDI/4-1", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("DAHDI/4-1", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("DAHDI/4-1", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'DAHDI/4-1' in macro 'hangupcall'
== Spawn h extension (macro-dial, h, 1) exited non-zero on 'DAHDI/4-1'
-- Hungup 'DAHDI/27-1'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/4-1' in macro 'dial'
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'DAHDI/4-1' in macro 'exten-vm'
== Spawn extension (from-did-direct, 515, 1) exited non-zero on 'DAHDI/4-1'
-- Hungup 'DAHDI/4-1'
-- Executing [517@from-internal:1] Macro("Local/517@from-internal-cf23,2", "exten-vm|517|517") in new stack
-- Executing [s@macro-exten-vm:1] Macro("Local/517@from-internal-cf23,2", "user-callerid") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/517@from-internal-cf23,2", "AMPUSER=486573041") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/517@from-internal-cf23,2", "1?report") in new stack
-- Goto (macro-user-callerid,s,10)
-- Executing [s@macro-user-callerid:10] GotoIf("Local/517@from-internal-cf23,2", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("Local/517@from-internal-cf23,2", "__TTL=62") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("Local/517@from-internal-cf23,2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("Local/517@from-internal-cf23,2", "Using CallerID "486573041" <486573041>") in new stack
-- Executing [s@macro-exten-vm:2] Set("Local/517@from-internal-cf23,2", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("Local/517@from-internal-cf23,2", "VMBOX=517") in new stack
-- Executing [s@macro-exten-vm:4] Set("Local/517@from-internal-cf23,2", "EXTTOCALL=517") in new stack
-- Executing [s@macro-exten-vm:5] Set("Local/517@from-internal-cf23,2", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("Local/517@from-internal-cf23,2", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("Local/517@from-internal-cf23,2", "RT=20") in new stack
-- Executing [s@macro-exten-vm:8] Macro("Local/517@from-internal-cf23,2", "record-enable|517|IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("Local/517@from-internal-cf23,2", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("Local/517@from-internal-cf23,2", "recordingcheck|20091021-123343|1256121223.79") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20091021-123343|1256121223.79: Inbound recording not enabled
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] MacroExit("Local/517@from-internal-cf23,2", "") in new stack
-- Executing [s@macro-exten-vm:9] Macro("Local/517@from-internal-cf23,2", "dial|20|TtrM(auto-blkvm)|517") in new stack
-- Executing [s@macro-dial:1] GotoIf("Local/517@from-internal-cf23,2", "0?dial") in new stack
-- Executing [s@macro-dial:2] SetMusicOnHold("Local/517@from-internal-cf23,2", "default") in new stack
-- Executing [s@macro-dial:3] AGI("Local/517@from-internal-cf23,2", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Parsing '/etc/asterisk/manager_additional.conf': Found
== Parsing '/etc/asterisk/manager_custom.conf': Found
== Manager 'admin' logged on from 127.0.0.1
dialparties.agi: Caller ID name is '486573041' number is '486573041'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 517 to extension map
-- dialparties.agi: Extension 517 cf is disabled
-- dialparties.agi: Extension 517 do not disturb is disabled
dialparties.agi: ExtensionState: 0
dialparties.agi: Extension 517 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 517
-- dialparties.agi: dbset CALLTRACE/517 to 486573041
-- dialparties.agi: Filtered ARG3: 517
== Manager 'admin' logged off from 127.0.0.1
-- AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("Local/517@from-internal-cf23,2", "DAHDI/29|20|TtrM(auto-blkvm)") in new stack
-- Called 29
-- Local/517@from-internal-cf23,1 is ringing
-- DAHDI/29-1 is ringing
-- DAHDI/29-1 is ringing
-- DAHDI/29-1 answered Local/517@from-internal-cf23,2
-- Executing [s@macro-auto-blkvm:1] Set("DAHDI/29-1", "__MACRO_RESULT=") in new stack
-- Executing [s@macro-auto-blkvm:2] DBdel("DAHDI/29-1", "BLKVM/421/DAHDI/5-1") in new stack
-- DBdel: family=BLKVM, key=421/DAHDI/5-1
-- DBdel: Error deleting key from database.
-- Local/517@from-internal-cf23,1 answered DAHDI/5-1
-- Stopped music on hold on DAHDI/5-1
-- Channel 0/2, span 2 got hangup request, cause 16
== Spawn extension (ext-queues, 421, 10) exited non-zero on 'DAHDI/5-1'
-- Hungup 'DAHDI/5-1'
-- Executing [h@macro-dial:1] Macro("Local/517@from-internal-cf23,2", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("Local/517@from-internal-cf23,2", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,4)
-- Executing [s@macro-hangupcall:4] GotoIf("Local/517@from-internal-cf23,2", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("Local/517@from-internal-cf23,2", "1?theend") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] Hangup("Local/517@from-internal-cf23,2", "") in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/517@from-internal-cf23,2' in macro 'hangupcall'
== Spawn h extension (macro-dial, h, 1) exited non-zero on 'Local/517@from-internal-cf23,2'
-- Hungup 'DAHDI/29-1'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'Local/517@from-internal-cf23,2' in macro 'dial'
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'Local/517@from-internal-cf23,2' in macro 'exten-vm'
== Spawn extension (from-internal, 517, 1) exited non-zero on 'Local/517@from-internal-cf23,2'
-- Remote UNIX connection
-- Remote UNIX connection disconnected
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,563
Latest member
dineshr
Top