All pastes #558730 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-11 14:04 UTC
rendered paste body
Agents.conf
agent => 1001,0000,Lefranc
agent => 1002,0000,Sagnier
agent => 1003,0000,Magasin
agent => 1004,0000,Atelier
agent => 1005,0000,Usine

Queues.conf

[support]
monitor-join = yes
joinempty = no
member => Agent/1002
member =>Agent/1001
queue-youarenext = queue-youarenext
periodic-announce-frequency=30
queue-minutes = queue-minutes	
queue-thankyou = queue-thankyou
announce-frequency = 35 
announce-holdtime = yes
[magasin]
queue-youarenext = queue-youarenext
periodic-announce-frequency=30
queue-minutes = queue-minutes	
queue-thankyou = queue-thankyou
announce-frequency = 35 
announce-holdtime = yes
joinempty = no
member => Agent/1003
[atelier]
queue-youarenext = queue-youarenext
periodic-announce-frequency=30
queue-minutes = queue-minutes	
queue-thankyou = queue-thankyou
announce-frequency = 35 
announce-holdtime = yes
joinempty = no
member => Agent/1004
[usine]
queue-youarenext = queue-youarenext
queue-minutes = queue-minutes	
queue-thankyou = queue-thankyou
announce-frequency = 35 
announce-holdtime = yes
joinempty = no
member => Agent/1005

Extensions.conf
;Log in people
exten => 704,1,AgentCallBackLogin(||@phonesystems)

exten => 706,1,Queue(support|tw|||180)
exten => 706,2,Goto(phonesystems,35,1)

exten => 707,1,Queue(usine|tw|||180)
exten => 707,2,Goto(phonesystems,30,1)

exten => 708,1,Queue(magasin|tw|||180)
exten => 708,2,Goto(phonesystems,30,1)

exten => 709,1,Queue(atelier|tw|||180)
exten => 709,2,Goto(phonesystems,30,1)



When i call the queue directly and noone is logged in, Cli output
-- Executing [708@phonesystems:1] Queue("Zap/29-1", "magasin|tw|||180") in new stack
    -- Started music on hold, class 'default', on Zap/29-1
 Extension Changed 33 new state InUse for Notify User 30
[Jun  9 19:09:26] WARNING[16556]: interface.c:215 decodeMP3: Junk at the beginning of frame 49443303
    -- Stopped music on hold on Zap/29-1
    -- <Zap/29-1> Playing 'queue-youarenext' (language 'en')
    -- Told Zap/29-1 in magasin their queue position (which was 1)
    -- <Zap/29-1> Playing 'queue-thankyou' (language 'en')
    -- Started music on hold, class 'default', on Zap/29-1
[Jun  9 19:09:39] WARNING[16556]: interface.c:215 decodeMP3: Junk at the beginning of frame 49443303
    -- Stopped music on hold on Zap/29-1
    -- User disconnected from queue magasin when they almost made it
  == Spawn extension (phonesystems, 708, 1) exited non-zero on 'Zap/29-1'
    -- Hungup 'Zap/29-1'
 Extension Changed 33 new state Idle for Notify User 30




usine        has 0 calls (max unlimited) in 'ringall' strategy (1s holdtime), W:0, C:1, A:0, SL:0.0% within 0s
   Members:
      Agent/1005 (Not in use) has taken 1 calls (last was 819 secs ago)
   No Callers

atelier      has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s
   Members:
      Agent/1004 (Not in use) has taken no calls yet
   No Callers

magasin      has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), W:0, C:0, A:2, SL:0.0% within 0s
   Members:
      Agent/1003 (Not in use) has taken no calls yet
   No Callers

support      has 0 calls (max unlimited) in 'ringall' strategy (1s holdtime), W:0, C:2, A:1, SL:0.0% within 0s
   Members:
      Agent/1002 (Not in use) has taken 2 calls (last was 659 secs ago)
      Agent/1001 (Unavailable) has taken no calls yet
   No Callers




the call to agent/1002


- Executing [60@phonesystems:2] Goto("Local/60@phonesystems-848f,2", "phonesystems|35|1") in new stack
    -- Goto (phonesystems,35,1)
    -- Executing [35@phonesystems:1] Dial("Local/60@phonesystems-848f,2", "Sip/35|20|wt") in new stack
    -- Called 35
    -- SIP/35-08265108 is ringing
    -- Agent/1002 is ringing
    -- SIP/35-08265108 is ringing
    -- SIP/35-08265108 is ringing
    -- SIP/35-08265108 is ringing