[asterisk-users] Exiting the queue doesn't work

Alex Kauffmann akauffma at prodigy.net.mx
Mon Mar 4 07:55:31 CST 2013


On 3/4/2013 7:27 AM, Gertjan Baarda wrote:
> ok, resumé: When I use the n option in the queue command I can let the
> caller exit the queue and send the call to a IVR-ish context and ask if
> he wants to leave a message. I can timeout this an then place the call
> back in the queue. When I use this approach, what will the new position
> be of the caller? Not back in line I hope?
>
>
> On Mon, Mar 4, 2013 at 2:12 PM, Bharat Lalcheta
> <bharatlalcheta at gmail.com <mailto:bharatlalcheta at gmail.com>> wrote:
>
>     yes,
>
>     context parameter in queue.conf is more likely option for you. It will
>     work during MOH too.
>
>
>     On Mon, Mar 4, 2013 at 6:33 PM, Bharat Lalcheta
>     <bharatlalcheta at gmail.com <mailto:bharatlalcheta at gmail.com>> wrote:
>      > No its again place into queue so its start with new available
>     position.
>      >
>      > However, mostly all users remain in same position if he come again in
>      > queue using below scenario.
>      >
>      > Regards,
>      >
>      > Bharat Lalcheta
>      >
>      >
>      >
>      >
>      >
>      > On Mon, Mar 4, 2013 at 6:22 PM, Gertjan Baarda
>     <gertjan.baarda at gmail.com <mailto:gertjan.baarda at gmail.com>> wrote:
>      >> Ah.. thanks! That was the light I needed. When the caller is
>     placed back in
>      >> the queue, I presume the caller remain it's position in the queue?
>      >>
>      >>
>      >> On Mon, Mar 4, 2013 at 1:45 PM, Bharat Lalcheta
>     <bharatlalcheta at gmail.com <mailto:bharatlalcheta at gmail.com>>
>      >> wrote:
>      >>>
>      >>> Hii,
>      >>>
>      >>> Queue(testq,H) feature works once call connected with agent
>     i.e. not
>      >>> work during MOH.
>      >>>
>      >>> Also once you disconnect call using H (*) option, it will not
>     useful
>      >>> to leave voicemail.
>      >>>
>      >>> Instead you use, queue timeout option and ask caller to leave voice
>      >>> mail if he wants else put back him to queue again.
>      >>>
>      >>> Hope it helps you out.
>      >>>
>      >>> Regards,
>      >>>
>      >>> Bharat Lalcheta
>      >>>
>      >>> On Mon, Mar 4, 2013 at 5:57 PM, Gertjan Baarda
>     <gertjan.baarda at gmail.com <mailto:gertjan.baarda at gmail.com>>
>      >>> wrote:
>      >>> > Dear guru's
>      >>> >
>      >>> > Hopefully someone can shed some light in my issue. I have
>     created a
>      >>> > queue
>      >>> > with a ringall strategy and all works fine. I want a caller
>     to be able
>      >>> > to
>      >>> > exit the queue so they can leave a message. I've added the H
>     option in
>      >>> > queue
>      >>> > command so callers can press * to exit. So far all well, on
>     the cli
>      >>> > there is
>      >>> > a message the caller pressed * and the extensions stops
>     ringing. But
>      >>> > here's
>      >>> > the thing: the caller stays in the queue and after a few
>     seconds the
>      >>> > extensions starts to ring again. I want the call to leave the
>     queue and
>      >>> > continue in the dialplan.
>      >>> >
>      >>> > After extensively googling the issue, I've found everything
>     (also bug
>      >>> > related), accept my answer. What am I missing here?
>      >>> >
>      >>> > It's Asterisk 1.8 on a Debianbox.
>      >>> >
>      >>> > Thanks!
>      >>> > Gertjan
>      >>> >
>      >>> > --
>      >>> >
>     _____________________________________________________________________
>      >>> > -- Bandwidth and Colocation Provided by
>     http://www.api-digital.com --
>      >>> > New to Asterisk? Join us for a live introductory webinar
>     every Thurs:
>      >>> > http://www.asterisk.org/hello
>      >>> >
>      >>> > asterisk-users mailing list
>      >>> > To UNSUBSCRIBE or update options visit:
>      >>> > http://lists.digium.com/mailman/listinfo/asterisk-users
>      >>>
>      >>>
>      >>>
>      >>> --
>      >>> Bharat Lalcheta
>      >>>
>      >>> --
>      >>>
>     _____________________________________________________________________
>      >>> -- Bandwidth and Colocation Provided by
>     http://www.api-digital.com --
>      >>> New to Asterisk? Join us for a live introductory webinar every
>     Thurs:
>      >>> http://www.asterisk.org/hello
>      >>>
>      >>> asterisk-users mailing list
>      >>> To UNSUBSCRIBE or update options visit:
>      >>> http://lists.digium.com/mailman/listinfo/asterisk-users
>      >>
>      >>
>      >>
>      >> --
>      >>
>     _____________________________________________________________________
>      >> -- Bandwidth and Colocation Provided by
>     http://www.api-digital.com --
>      >> New to Asterisk? Join us for a live introductory webinar every
>     Thurs:
>      >> http://www.asterisk.org/hello
>      >>
>      >> asterisk-users mailing list
>      >> To UNSUBSCRIBE or update options visit:
>      >> http://lists.digium.com/mailman/listinfo/asterisk-users
>      >
>      >
>      >
>      > --
>      > Bharat Lalcheta
>
>
>
>     --
>     Bharat Lalcheta
>
Why not set context= <some context> and use periodic announcement to say 
"You may press * at any time to leave us a message".  You can also  play 
the message before entering the queue (only once and caller may forget 
what key to press).  This way the caller looses their position in the 
queue only if they choose to leave a message.

Alex






More information about the asterisk-users mailing list