Skip to Content
Asterisk: The Future of Telephony, 2nd Edition
book

Asterisk: The Future of Telephony, 2nd Edition

by Jim Van Meggelen, Jared Smith, Leif Madsen
August 2007
Intermediate to advanced
608 pages
20h 33m
English
O'Reilly Media, Inc.
Content preview from Asterisk: The Future of Telephony, 2nd Edition

Name

Queue() — Places the current call in to the specified call queue

Synopsis

Queue(queuename[,options[,URL[,announceoverride[,timeout[,AGI]]]]])

Places an incoming call in to the call queue specified by queuename, as defined in queues.conf.

The options argument may contain zero or more of the following characters:

d

Specifies a data-quality (modem) call (minimum delay).

h

Allows callee to hang up by hitting *.

H

Allows caller to hang up by hitting *.

i

Ignores call forward requests from queue members and does nothing when they are requested.

n

Disallows retries on the timeout; exits this application and goes to the next step.

r

Rings instead of playing music on hold.

t

Allows the called user to transfer the call.

T

Allows the calling user to transfer the call.

w

Allows the called user to write the conversation to disk.

W

Allows the calling user to write the conversation to disk.

In addition to being transferred, a call may be parked and then picked up by another user.

The announceoverride argument overrides the standard announcement played to queue agents before they answer the specified call.

The optional URL will be sent to the called party if the channel supports it.

The timeout will cause the queue to fail out after a specified number of seconds, checked between each queues.conf timeout and retry cycle. The call will continue on with the next priority in the dialplan.

This application sets a channel variable named QUEUESTATUS upon completion. It will take one of the following values:

TIMEOUT

The call was ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Asterisk: The Future of Telephony

Asterisk: The Future of Telephony

Jim Van Meggelen, Jared Smith, Leif Madsen
Switching to VoIP

Switching to VoIP

Theodore Wallingford

Publisher Resources

ISBN: 9780596510480Errata Page