[Asterisk-Users] Asterisk: Agent logs into queue, and there are calls in the queue, but calls don't go to agent

Scott Hooten shooten at gmail.com
Mon Feb 13 19:02:12 MST 2006


Here are some of the config files....

here is queues.conf:

[CSR-queue]
music=default
strategy=ringall
timeout=15
retry=5
wrapuptime=5000
maxlen = 0
periodic-announce = Did-you-know-support
periodic-announce-frequency = 60
announce-frequency = 60
announce-holdtime = yes
member => Agent/204     ;Dangelo
member => Agent/207     ;Eugene
member => Agent/208     ;Alzina
member => Agent/209     ;Jerry
member => Agent/210     ;GeorgeU
member => Agent/211     ;Mauricio
member => Agent/212     ;Josh
member => Agent/213     ;Test
member => Agent/214     ;Tomas
member => Agent/218     ;Andy
member => Agent/219     ;AlexV
member => Agent/220     ;Max
member => Agent/221     ;MarcoB
member => Agent/224     ;Scott Test

here is extensions.conf:


[globals]
scott=Zap/1
outboundlocal=Zap/g1
outboundUS=Zap/g2

[pstn]
; incoming calls from the pstn FXO ports are directed
; to this context from zapata.conf
exten => s,1,Goto(mainmenu,s,1)

[dow]
; incoming calls from the dow FXO ports are directed
; to this context from zapata.conf
exten => s,1,Goto(mainmenu,s,1)


[mainmenu]
include => invalid
exten => s,1,Background(thank-you-for-calling-pok er-support)
        ;Welcome to DBPN
exten => s,n,Background(dbpn-main-menu)
        ;Announce menu of options for callers
exten => s,n,WaitExten
exten => 1,1,Goto(submenu-ext,s,1)
        ;Press one to dial an extension
exten => 2,1,Goto(submenu-support-main,s,1)
        ;Press two for support
exten => 3,1,Playback(SEC-queue-msg)
exten => 3,n,Queue(SEC-queue)
        ;Press three for security
exten => 4,1,Playback(ACC-queue-msg)
exten => 4,n,Queue(ACC-queue)
        ;Press four for accounting
exten => 8,1,Directory(default,pstn,f)
        ;Press eight for directory
exten => 0,1,Goto(submenu-support-main,s,1)
        ;If zero is pressed, goto support
exten => t,1,Goto(submenu-support-main,s,1)
        ;If timeout then goto support-main


[submenu-ext]
include => extensions
include => queues
exten => s,1,Wait,1
exten => s,n,Background(please-enter-extension)
        ;Please enter your partys ext
exten => t,1,Goto(mainmenu,s,1)

[submenu-support-main]
include => invalid
exten => s,1,Ringing
        ;Make them comfortable with 2 seconds of ringback
exten => s,n,Wait,2
exten => s,n,Background(support-main-menu)
        ;Announce support main menu of options for callers
exten => s,n,WaitExten
exten => 1,1,Playback(ACC-queue-msg)
exten => 1,n,Queue(ACC-queue)
        ;Press one for status of a check
exten => 2,1,Goto(submenu-support-depositing,s,1)
        ;Press two for help with depositing money
exten => 3,1,Goto(submenu-support-tech,s,1)
        ;Press three for technical issues
exten => 0,1,Goto(submenu-support-main,s,1)
        ;If zero is pressed, goto support
exten => t,1,Playback(CSR-queue-msg)
exten => t,n,queue(CSR-queue)
        ;If timeout then goto CSR-queue

[submenu-support-depositing]
include => invalid
exten => s,1,Ringing
        ;Make them comfortable with 2 seconds of ringback
exten => s,n,Wait,2
exten => s,n,Background(support-depositing-menu)
        ;Announce support depositing menu of options for callers
exten => s,n,WaitExten
exten => 1,1,Playback(SEC-queue-msg)
exten => 1,n,Queue(SEC-queue)
        ;Press one for help with depositing money with credit card
exten => 2,1,Playback(ACC-queue-msg)
exten => 2,n,Queue(ACC-queue)
        ;Press two for help with depositing money with epassporte
exten => 3,1,Playback(CSR-queue-msg)
exten => 3,n,queue(CSR-queue)
        ;Press three for help with depositing money with other
exten => 0,1,Goto(submenu-support-depositing,s,1)
        ;If zero is pressed, goto support depositing
exten => t,1,Goto(submenu-support-depositing,s,1)
        ;If timeout then repeat menu

[submenu-support-tech]
include => invalid
exten => s,1,Ringing
        ;Make them comfortable with 2 seconds of ringback
exten => s,n,Wait,2
exten => s,n,Background(support-tech-menu)
        ;Announce support depositing menu of options for callers
exten => s,n,WaitExten
exten => 1,1,Playback(CSR-queue-msg)
exten => 1,n,queue(CSR-queue)
        ;Press one for difficulties dl poker software
exten => 2,1,Playback(TECH-queue-msg)
exten => 2,n,queue(TECH-queue)
        ;Press two for difficulties connecting to poker server
exten => 3,1,Playback(TECH-queue-msg)
exten => 3,n,queue(TECH-queue)
        ;Press three for all other questions
exten => 0,1,Playback(TECH-queue-msg)
exten => 0,n,queue(TECH-queue)
        ;If zero is pressed, goto tech queue
exten => t,1,Playback(TECH-queue-msg)
exten => t,n,queue(TECH-queue)
        ;If timeout then goto TECH-queue

[invalid]
exten => i,1,Playback(pbx-invalid)
exten => i,n,Goto(s,1)

[prompts]
exten => _[0]X,1,Answer()
exten => _[0]X,2,Record(prompt${EXTEN:1}:gsm)
exten => _[0]X,3,Playback(prompt${EXTEN:1})
exten => _[0]X,4,Hangup()

[queues]
exten => 200,1,Playback(CSR-queue-msg)
exten => 200,n,queue(CSR-queue)
exten => 300,1,Playback(TECH-queue-msg)
exten => 300,n,queue(TECH-queue)
exten => 400,1,Playback(ACC-queue-msg)
exten => 400,n,queue(ACC-queue)
exten => 600,1,Playback(SEC-queue-msg)
exten => 600,n,queue(SEC-queue)

[conference-room]
exten => 800,1,MeetMe(800,i,12345)
exten => 801,1,Playback(conf-thereare)
exten => 801,n,MeetMeCount(800)
exten => 801,n,Playback(conf-peopleinconf)

[outbound-local]
exten => _9NXXXXXX,1,Dial(${outboundlocal}/${EXTEN:1})
exten => _9NXXXXXX,2,Congestion()
exten => _9NXXXXXX,102,Congestion()
;exten => 911,1,Dial(${outboundlocal}/911)

[outbound-US]
exten => _91NXXNXXXXXX,1,Dial(${outboundUS}/${EXTEN:1})
exten => _91NXXNXXXXXX,2,Congestion()
exten => _91NXXNXXXXXX,102,Congestion()

[outbound-intl]
exten => _900.,1,Dial(${outboundlocal}/${EXTEN:1})
exten => _900.,2,Congestion()
exten => _900.,102,Congestion()

[macro-voicemail]
exten => s,1,Dial(${ARG1},10,r)
exten => s,2,VoiceMail(u${MACRO_EXTEN}@default)
exten => s,102,VoiceMail(b${MACRO_EXTEN}@default)

[agent-logon]
exten => #1,1,AgentCallbackLogin(||${CALLERIDNUM}@extensions)
exten => #2,1,AgentCallbackLogin(||1)
exten => #3,1,AgentLogin()
exten => #4,1,AgentCallbackLogin(224|${CALLERIDNUM}@default)

[extensions]
exten => 100,1,Dial(Zap/1,20,r)
exten => 302,1,Macro(voicemail,${scott})
exten => 7778,1,Answer()
exten => 7778,2,SetMusicOnHold(default)
exten => 7778,3,WaitMusicOnHold(20)
exten => 7778,4,Hangup
exten => 002,1,Playback(tt-monkeys)
exten => 003,1,Playback(tt-monkeysintro)

[extensions-orig]
exten => 302,1,Macro(voicemail,${scott})
exten => 7778,1,MusicOnHold(default)


[internal]
include => outbound-local
;include => outbound-US
include => conference-room
include => prompts
include => queues
include => agent-logon
include => extensions
include => voicemail
exten => 000,1,Goto(mainmenu,s,1)
exten => 001,1,Playback(prompt1)
exten => 001,2,Goto(mainmenu,s,1)

[voicemail]
exten => ##,1,VoiceMailMain()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060213/c2789177/attachment.htm


More information about the asterisk-users mailing list