Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

ответил 2014-05-28 11:15:47 +0400

foxm Gravatar foxm

У меня так сделано:

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

Если все операторы заняты, то звонки просто висят в очереди, до тех пор, пока кто-то не освободится.

У меня так сделано:

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.