So I have my SIP phones set up in sip.conf like this:
[101] ;Reception
type=friend
secret=%password%
qualify=yes
nat=no
host=dynamic
canreinvite=no
context=internal
mailbox=101
callgroup=1
pickupgroup=1
limitonpeer=yes
call-limit=1
deny=0.0.0.0/0.0.0.0
permit=192.168.1.0/255.255.255.0
[102] ;Reception Mobile
type=friend
secret=%password%
qualify=yes
nat=no
callerid=Reception <101>
host=dynamic
canreinvite=no
context=internal
mailbox=101
callgroup=1
pickupgroup=1
limitonpeer=yes
call-limit=1
deny=0.0.0.0/0.0.0.0
permit=192.168.1.0/255.255.255.0
In queues.conf I have this entered:
[reception-queue]
musiconhold = moh-200804
strategy = ringall
timeout = 300
retry = 5
announce-frequency = 60
periodic-announce-frequency=60
announce-holdtime = yes
announce-round-seconds = 10
context=reception-queue-out
autopause = no
ringinuse = no
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”)
periodic-announce = queue-periodic-announce ; (“All reps busy / wait for next”)
member => SIP/101
member => SIP/102
In extensions.conf I have a date and time checking section set up (for public holidays and after hours menu switchover, along with weekend state and on-call technician call forwarding)
Following that, calls go to:
[bal-main]
exten => s,1,Answer
exten => s,2,Set(NUMTIMEOUTS=0)
exten => s,3,ExecIfTime(08:20-11:59,mon-fri,,?Background(newmenus/good-morning-and-welcome))
exten => s,4,ExecIfTime(12:00-17:15,mon-fri,,?Background(newmenus/good-afternoon-and-welcome))
exten => s,n,Background(newmenus/new-main-menu)
exten => s,n,Background(treva/silence-2sec)
exten => s,n,Background(treva/Press-Star-To-Repeat)
exten => s,n,WaitExten(10)
exten => 1,1,Goto(bal-sales,s,1) ; 1 - for sales, press 1
exten => 2,1,Goto(bal-service,s,1) ; 2 - for service & technical support, press 2
exten => 3,1,Goto(bal-blueprint,s,1) ; 3 - for blueprint imaging, press 3
exten => 4,1,Goto(bal-accounts,s,1) ; 4 - for account enquiries, press 4
exten => 5,1,Goto(bal-promotions,s,1) ; 5 - for promotions menu, press 5
exten => 6,1,Goto(bal-companyinfo,s,1) ; 6 - for company information, press 6
exten => 0,1,Goto(bal-reception,s,1) ; 0 - for all other enquiries, please press 0
[bal-reception]
exten => s,1,Playback(treva/treva-please-hold-while-we-transfer-you-to-reception)
exten => s,2,Wait(2)
exten => s,3,Set(CALLERID(name)=${IF(${DB_EXISTS(cidname/${CALLERID(num)})}?${DB(cidname/${CALLERID(num)})}:${CALLERID(name)})} ;LookupCIDName
exten => s,4,Set(CALLERID(name)=RCP>${CALLERID(name)})
exten => s,5,Queue(reception-queue,tT)
What would I need to change to get the queue accepting one live call at a time across two phones?