[Asterisk-Users] howto answer a call in a queue
Hecken, Guido
guido.hecken at gwsnettech.de
Fri Feb 4 04:08:01 MST 2005
Here you find a complete working pbxconfig for asterisk.
http://www.gwsnettech.de/work/astconfig.txt
This config is our production config and works quite well.
Perhaps there are some curious constructions in there, but they work for us
;-)
With the queue functions we have "only" these problems:
joinempty=no ; does not work
leavewhenempty = yes ; does not work
Incoming calls to the queue cannot be transfered with # transfer, even
though the queue command has the "tT" options...
Hope this helps
Guido
> -----Ursprüngliche Nachricht-----
> Von: Edgar de Leon [mailto:edeleon at hispafuentes.com]
> Gesendet: Donnerstag, 3. Februar 2005 15:34
> An: Asterisk Users Mailing List - Non-Commercial Discussion
> Betreff: RE: [Asterisk-Users] howto answer a call in a queue
>
> On the CLI everything seems to be ok, the call enters the queue plays the
> message, on the CLI, appear as a call entering the queue and then show a
> message saying wich agent is assigned to it! can you send me your config,
> maybe there is something im doing wrong,
>
> thnx for all your help!!
>
> Edgar
>
> >> I tried everything you said, but its the same thing, when a call enters
> >> plays the sound and then is directly connected to one operator, on the
> >> operator phone only a beep i heard, what other thing can i try??
> > What's happening on the cli?
> > You should try to start asterisk with asterisk -vvvvvvvvvdc. Now you
> > should
> > see, what's going on.
> > What kind of phone do you use, perhaps you could use a softclient.
SJPhone
> > runs very stable for me.
> > Once more, do it as easy as possible, save your /etc/asterisk/*.* and
use
> > only files, you really need.
> >
> > Guido
> >
> >
> >
> >
> >>
> >> TIA
> >>
> >> Edgar
> >>
> >> > My suggestions:
> >> > Try first the easy (working) configuration then your best solution
> >> step
> > by
> >> > step.
> >> >
> >> > comment out leavewhenempty=yes ;it did not work in my system...
> >> > strategy = ringall ; seems to work
> >> > don't use groups in the first step
> >> >
> >> > ;Play an announcement as the first priority
> >> > exten => 76522,1,Playback(some_announce) ;even when using an empty
> >> file
> >> > exten => 76522,2,Queue(esculapio|tT|||300)
> >> > exten => 76522,3,Playback(some_announce_after_leaving_queue) ; if
> >> nobody
> >> > answers the call
> >> > exten => 76522,4,Hangup
> >> >
> >> > I had similiar problem in working with queues.
> >> >
> >> > Hope this helps a bit more...
> >> >
> >> > Guido Hecken
> >> >
> >> > -----Ursprüngliche Nachricht-----
> >> > Von: Edgar de Leon [mailto:edeleon at hispafuentes.com]
> >> > Gesendet: Donnerstag, 3. Februar 2005 09:08
> >> > An: Asterisk Users Mailing List - Non-Commercial Discussion
> >> > Betreff: RE: [Asterisk-Users] howto answer a call in a queue
> >> >
> >> > Thanks for your help, here are my config for the queue,
> >> >
> >> > agents.conf
> >> >
> >> >
> >> > [agents]
> >> > musiconhold => random
> >> > autologoff=15
> >> > wrapuptime=5000
> >> > ackcall=yes
> >> > group=1
> >> > agent => 1001,3101,Edgar de Leon
> >> > agent => 1002,1111,Jorge Cabrera
> >> > agent => 1003,1111,Nati del Pozo
> >> > agent => 1004,1111,Emilio Perez
> >> > agent => 1005,1111,Diego Torres
> >> > agent => 1006,1111,Antonio Lopez
> >> > agent => 1007,1111,Luis Carlos
> >> > agent => 1008,1111,Luis Bonifacio
> >> > agent => 1009,1111,Javier Gonzalez
> >> >
> >> > queues.conf
> >> > [esculapio]
> >> > leavewhenempty = yes
> >> > music = random
> >> > strategy = fewestcalls
> >> > member => Agent/@1
> >> >
> >> > extensions.conf
> >> >
> >> > [ext-acd]
> >> > exten => 90,1,Answer
> >> > exten => 90,2,SetMusicOnHold(none)
> >> > exten => 90,3,Wait,1
> >> > exten => 90,4,AgentLogin
> >> >
> >> > ;Queue configuration
> >> > exten => 76522,1,Answer
> >> > exten => 76522,2,Wait,1
> >> > exten => 76522,3,Queue(esculapio|tT|||300)
> >> > exten => 76522,5,Hangup
> >> >
> >> > is my configuration correct?? im using the
> >> >
> >> > leavewhenempty = yes
> >> >
> >> > option, but when there are no agents the call still enters the queue,
> >> > thanks for your help
> >> >
> >> > TIA
> >> >
> >> > Edgar
> >> >
> >> >> Sometime ago, I wrote an example of a functional queue scenario.
> >> >> Perhaps you give it a try.
> >> >> http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%20Queue
> >> >>
> >> >> Btw, how is the queue command invoked in your extensions.conf?
> >> >> Post your relevant sections of queues.conf, agents.conf and
> >> >> extensions.conf.
> >> >>
> >> >> Guido Hecken
> >> >>
> >> >> -----Ursprüngliche Nachricht-----
> >> >> Von: Edgar de Leon [mailto:edeleon at hispafuentes.com]
> >> >> Gesendet: Mittwoch, 2. Februar 2005 18:23
> >> >> An: Asterisk Users Mailing List - Non-Commercial Discussion
> >> >> Betreff: RE: [Asterisk-Users] howto answer a call in a queue
> >> >>
> >> >> Thanks for your answer, i got ackcall=yes but the call when enters
> >> only
> >> >> ring once in the agent phone and connect directly,
> >> >>
> >> >> agents.conf
> >> >>
> >> >> [agents]
> >> >>
> >> >>
> >> >> autologoff=15
> >> >> wrapuptime=5000
> >> >> ackcall=yes
> >> >>
> >> >> group=1
> >> >> agent => 1001,3101,Edgar de Leon
> >> >> agent => 1002,1111,Jorge Cabrera
> >> >> agent => 1003,1111,Nati del Pozo
> >> >> agent => 1004,1111,Emilio Perez
> >> >> agent => 1005,1111,Diego Torres
> >> >> agent => 1006,1111,Antonio Lopez
> >> >> agent => 1007,1111,Luis Carlos
> >> >> agent => 1008,1111,Luis Bonifacio
> >> >> agent => 1009,1111,Javier Gonzalez
> >> >>
> >> >>
> >> >> what do you think am i doing wrong??
> >> >>
> >> >> TIA
> >> >>
> >> >> Edgar
> >> >>> I think, ackcall=yes should do the job.
> >> >>>
> >> >>> Guido Hecken
> >> >>>
> >> >>> -----Ursprüngliche Nachricht-----
> >> >>> Von: Edgar de Leon [mailto:edeleon at hispafuentes.com]
> >> >>> Gesendet: Mittwoch, 2. Februar 2005 15:56
> >> >>> An: asterisk-users at lists.digium.com
> >> >>> Betreff: [Asterisk-Users] howto answer a call in a queue
> >> >>>
> >> >>> hello i need to know how to enable the feature in the agents.conf
to
> >> >>> make
> >> >>> the users got to press # to answer the call when is in the queue
and
> >> >>> the
> >> >>> agent is logged in.
> >> >>>
> >> >>> at this time the call enters the queue and the agents who is logged
> >> in
> >> >>> only beeps once and then the call enters automatically.
> >> >>>
> >> >>> can anybody help me??
> >> >>>
> >> >>> TIA
> >> >>>
> >> >>> Edgar
> >> >>> _______________________________________________
> >> >>> Asterisk-Users mailing list
> >> >>> Asterisk-Users at lists.digium.com
> >> >>> http://lists.digium.com/mailman/listinfo/asterisk-users
> >> >>> To UNSUBSCRIBE or update options visit:
> >> >>> http://lists.digium.com/mailman/listinfo/asterisk-users
> >> >>> _______________________________________________
> >> >>> Asterisk-Users mailing list
> >> >>> Asterisk-Users at lists.digium.com
> >> >>> http://lists.digium.com/mailman/listinfo/asterisk-users
> >> >>> To UNSUBSCRIBE or update options visit:
> >> >>> http://lists.digium.com/mailman/listinfo/asterisk-users
> >> >>>
> >> >>
> >> >> _______________________________________________
> >> >> Asterisk-Users mailing list
> >> >> Asterisk-Users at lists.digium.com
> >> >> http://lists.digium.com/mailman/listinfo/asterisk-users
> >> >> To UNSUBSCRIBE or update options visit:
> >> >> http://lists.digium.com/mailman/listinfo/asterisk-users
> >> >> _______________________________________________
> >> >> Asterisk-Users mailing list
> >> >> Asterisk-Users at lists.digium.com
> >> >> http://lists.digium.com/mailman/listinfo/asterisk-users
> >> >> To UNSUBSCRIBE or update options visit:
> >> >> http://lists.digium.com/mailman/listinfo/asterisk-users
> >> >>
> >> >
> >> > _______________________________________________
> >> > Asterisk-Users mailing list
> >> > Asterisk-Users at lists.digium.com
> >> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >> > To UNSUBSCRIBE or update options visit:
> >> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >> > _______________________________________________
> >> > Asterisk-Users mailing list
> >> > Asterisk-Users at lists.digium.com
> >> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >> > To UNSUBSCRIBE or update options visit:
> >> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >> >
> >>
> >> _______________________________________________
> >> Asterisk-Users mailing list
> >> Asterisk-Users at lists.digium.com
> >> http://lists.digium.com/mailman/listinfo/asterisk-users
> >> To UNSUBSCRIBE or update options visit:
> >> http://lists.digium.com/mailman/listinfo/asterisk-users
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list