Queues.conf sequence

Hi. love the forum.

In i have my extension.conf to go to a queue and then on queues.coonf i have it to dial two phone numbers, one first and the other one second, however, what is happening is that the system remembers which number it dialed first so if it dialed
member => Sip/101 and
member => Sip/102

next time there is a cal it will dial 102 and then 101. what do i need to do for it to always dial 101 and then 102.

Here is the config:

[queue 1]
musiconhold = default
announce = queue-markq
strategy = ringall
servicelevel = 60
context = Local
timeout = 15
retry = 2
maxlen = 0
announce-frequency = 90
announce-holdtime = yes
queue-youarenext = queue-youarenext ; (“You are now first in line.”)
queue-thereare = queue-thereare ; (“There are”)
queue-callswaiting = queue-callswaiting ; (“calls waiting.”)
queue-holdtime = queue-holdtime ; (“The current est. holdtime is”)
queue-minutes = queue-minutes ; (“minutes.”)
queue-seconds = queue-seconds ; (“seconds.”)
queue-thankyou = queue-thankyou ; (“Thank you for your patience.”)
queue-lessthan = queue-less-than ; (“less than”)
queue-reporthold = queue-reporthold ; (“Hold time”)
monitor-format = wav
monitor-join = yes
joinempty = yes
leavewhenempty = yes
eventwhencalled = yes
eventmemberstatusoff = yes
reportholdtime = yes
memberdelay = 0
timeoutrestart = no
member => Sip/101
member => Sip/102


you’re using ringall as a strategy - it will ring ALL members of the queue simultaneously.

the easiest way to do this is as follows:

change strategy to roundrobin, and make your member entries like this:

member => Sip/101,1 member => Sip/102,2

this gives SIP/101 the highest priority (they’ll be rung first) and SIP/102 the second highest priority.

also, there is a patch on the bugtracker that allows for linear stategy (always call devices in the same order) that you might look at: bugs.digium.com/view.php?id=7279

Tied the comma, the problem is that it does not then go to the next one, i want it to go to the other one after 45 secs or so.

thanks for your help.

is this always going to be the same two members being called in order?

what might be easier is something like this:

exten => 101,1,Dial(SIP/101,45,m)
exten => 101,2,Dial(SIP/102,45,m)
exten => 101,2,Voicemail(u101)

that would ring each extension in order for 45 seconds, then dump to a VM box.

i guess it all depends on what you need this to do.