[Asterisk-Users] Getting invalid extension during agent login.
Chuck Bunn
chuck.bunn at networkdoc.com
Fri Nov 18 12:51:33 MST 2005
Hi,
I try to log in as an agent using the 'AgentCallBackLogin' in extensions
and I am prompted for my agent Id and password, the system takes those
and then asks for the extension I am at and I enter a valid extension
and it tells me its an invalid extension. Here is my files:
************
agents.conf
[agents]
ackcall=yes
wrapuptime=0
musiconhold => default
updatecdr=yes
;Operator - Home
group=1
agent => 300,300,name1
agent => 301,301,name2
agent => 310,310,name3
agent => 311,311,name4
agent => 312,312,name5
agent => 313,313,name6
agent => 314,314,name7
;Operator - Spa
agent => 500,500,name8
agent => 510,510,name9
agent => 511,511,name10
agent => 512,512,name11
;Operator - Rest
group=2
agent => 600,600,name12
**********
queue.conf
[general]
;Operator Home
[Q100]
music=default
strategy=ringall
maxlen=0
context=extensions-home
member => Agent/@1
;Operator Restuarant
[Q110]
music=default
strategy=ringall
maxlen=0
context=extensions-rest
member => Agent/@2
****************
extension.conf
[general]
#include macros.incl
[incoming-home]
exten => s,1,Goto(extensions-home,100,1)
exten => t,1,Goto(extensions-home,100,1)
exten => i,1,Goto(extensions-home,100,1)
[extensions-home]
include => parkedcalls
;Operator queue, Operator Console, and Receptionist Phone
exten => 100,1,Answer()
exten => 100,2,Queue(Q100|trn|||120)
;Office Personnel
exten => _30[0-1],1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => _31[0-4],1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => _399,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => _40[0-1],1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => _499,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
;Spa Personnel
exten => _500,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => _51[0-2],1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
exten => 590,1,Dial(ZAP/3,20)
;Voicemail Main
exten => 800,1,Answer
exten => 800,2,VoicemailMain
;Agent Login
exten => 801,1,AgentCallbackLogin
;Voice Conferencing
exten => _85X,1,Answer
exten => _85X,2,MeetMe(${EXTEN})
exten => i,1,Voicemail(s300)
exten => t,1,Voicemail(s300)
exten => fax,1,Dial(ZAP/4,20)
exten => fax,2,Congestion
exten => fax,102,Congestion
[internal-longdistance]
include => local
include => longdistance
include => extensions-home
[internal-local]
include => local
include => extensions-home
[local]
ignorepat => 9
exten => _9NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
exten => _9NXXXXXX,2,Congestion(5)
exten => _9NXXXXXX,102,congestion(5)
exten => 911,1,Dial(${OUTBOUNDTRUNK}/911)
exten => 9911,1,Dial(${OUTBOUNDTRUNK}/911
[longdistance]
ignorpat => 9
exten => _91NXXNXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
exten => _91NXXNXXXXXX,2,Congestion(5)
exten => _91NXXNXXXXXX,102,congestion(5)
[globals]
OUTBOUNDTRUNK=Zap/G1
*************************
Thanks
More information about the asterisk-users
mailing list