[Asterisk-Users] What kind of extension numbers can be used in the exit context of a queue?

Chuck Bunn chuck.bunn at networkdoc.com
Fri Dec 2 14:20:14 MST 2005


Hi,

In Asterisk 1.2 according to the wiki and I quote:

"It is now possible to use multi-digit extensions in the exit context 
for a queue (although you should not have overlapping extensions, as 
there is no digit timeout). This means that the EXITWITHKEY event in 
queue_log can now contain a key field with more than a single character 
in it."

What is considered a legal extension number in the exit context? In 
other words can I use a '0' or a '*' as an extension in the exit context 
for a Queue??

Example exit context given in wiki:

****************
extensions.conf:

[queue]
exten => 129,1,Playback(some_announce) ; Important, see notes
exten => 129,2,Queue(example_queue|tT|||300) ;dont set n option until 
really needed
exten => 129,3,Playback(some_announce_after_leaving_queue)
exten => 129,4,Voicemail(s1234)

*********************
queues.conf:

[example_queue]
music = default
strategy = ringall
context = queue-out ; Here we go when the caller presses a single digit, 
while in the queue
timeout = 15
wrapuptime=10
announce-frequency = 30
announce-holdtime = yes
joinempty = yes
member => Agent/1234
member => Agent/1235

********************
agents.conf:

[agents]
ackcall=no ; Agent don't has to press # to answer the call
musiconhold => default
agent => 1234,0000,Agent1_Name
agent => 1235,0000, Agent2_Name

Thanks



More information about the asterisk-users mailing list