1 | изначальная версия редактировать | |
У меня так сделано:
sip.conf
[101]
type = friend
regexten = 101
secret = secret
callerid = "oper101" <101>
host = dynamic
call-limit = 2
nat = no
qualify = no
context = operatorscanreinvite=no
disallow = all
allow = ulaw
allow = alaw
allow = gsm
queues.conf
autofill = yes
[taxi-operators]
timeoutpriority = conf
; How long call to member
; NEW
timeout = 5
; Time switching to another menber
; NEW
retry = 2
;How often spek periodic message
periodic-announce-frequency=60
;Path to periodic message
periodic-announce = ru/queue-periodic-announce
;Music class
musicclass = mymoh
; generate events
eventwhencalled = yes
;Strategy of calls
strategy = rrmemory
; Recording
monitor-format = wav
monitor-type = MixMonitor
; Don`t send calls to busy operators
ringinuse = no
defaultrule=rule057
;announce-holdtime = yes
;announce-position = yes
; Pause, after member became free and redy to receive new call
wrapuptime=2
timeoutrestart = yes
;Queue members
member => SIP/100,1
member => SIP/101,1
Если все операторы заняты, то звонки просто висят в очереди, до тех пор, пока кто-то не освободится.
2 | No.2 Revision редактировать |
У меня так сделано:
sip.conf
[101]
type = friend
regexten = 101
secret = secret
callerid = "oper101" <101>
host = dynamic
call-limit = 2
nat = no
qualify = no
context = operatorscanreinvite=no
operators
canreinvite=no
disallow = all
allow = ulaw
allow = alaw
allow = gsm
queues.conf
autofill = yes
[taxi-operators]
timeoutpriority = conf
; How long call to member
; NEW
timeout = 5
; Time switching to another menber
; NEW
retry = 2
;How often spek periodic message
periodic-announce-frequency=60
;Path to periodic message
periodic-announce = ru/queue-periodic-announce
;Music class
musicclass = mymoh
; generate events
eventwhencalled = yes
;Strategy of calls
strategy = rrmemory
; Recording
monitor-format = wav
monitor-type = MixMonitor
; Don`t send calls to busy operators
ringinuse = no
defaultrule=rule057
;announce-holdtime = yes
;announce-position = yes
; Pause, after member became free and redy to receive new call
wrapuptime=2
timeoutrestart = yes
;Queue members
member => SIP/100,1
member => SIP/101,1
Если все операторы заняты, то звонки просто висят в очереди, до тех пор, пока кто-то не освободится.
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.