Re: Как сделать суфлирование?
Добавлено: 04 окт 2012, 08:29
ExtenSpy(exten@context,options)
Код: Выделить всё
[general]
static=yes
writeprotect=no
clearglobalvars=no
[local-calls]
exten => _44XX,1,Answer()
exten => _44XX,n,Set(CHANNEL(language)=ru)
exten => _44XX,n,Dial(SIP/${EXTEN})
exten => _44XX,n,Hangup()
[external-calls]
exten => _8XXXXXXXXXX,1,Answer()
exten => _8XXXXXXXXXX,n,Set(CHANNEL(language)=ru)
exten => _8XXXXXXXXXX,n,Dial(IAX2/PBX-major/${EXTEN})
exten => _8XXXXXXXXXX,n,Hangup()
[spy-local]
exten => _044XX,1,Answer()
exten => _044XX,n,Set(CHANNEL(language)=ru)
exten => _044XX,n,ExtenSpy(${EXTEN:1},sd)
exten => _044XX,n,Hangup
[from-internal]
include => local-calls
include => external-calls
include => spy-local
Код: Выделить всё
[general]
bandwidth=low
disallow=lpc10
jitterbuffer=no
forcejitterbuffer=no
encryption = yes
register => 4499:P@s$w0rd@192.168.1.1
autokill=yes
[PBX-major]
disallow=all
host=192.168.1.1
username=4499
secret=P@s$w0rd
type=friend
qualify=yes
insecure=very
fromdomain=192.168.1.1
dtmfmode=rfc2833
context=incoming
allow=g729
allow=gsm
allow=ulaw
allow=alaw
trustrpid=no
sendrpid=no
canreinvite=nonat
[4400]
deny=0.0.0.0/0.0.0.0
secret=P@s$w0rd
transfer=no
context=from-internal
host=dynamic
type=friend
port=4569
qualify=yes
dial=IAX2/4400
mailbox=4400@device
permit=192.168.0.0/255.255.0.0
Код: Выделить всё
[4401]
deny=0.0.0.0/0.0.0.0
secret=P@s$w0rd
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=never
port=5060
qualify=yes
callgroup=1
pickupgroup=1
dial=SIP/4401
mailbox=4401@device
permit=192.168.0.0/255.255.0.0
callerid=device <4401>
callcounter=yes
faxdetect=no
[4402]
deny=0.0.0.0/0.0.0.0
secret=P@s$w0rd
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=never
port=5060
qualify=yes
callgroup=1
pickupgroup=1
dial=SIP/4402
mailbox=4402@device
permit=192.168.0.0/255.255.0.0
callerid=device <4402>
callcounter=yes
faxdetect=no
[4403]
deny=0.0.0.0/0.0.0.0
secret=P@s$w0rd
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=never
port=5060
qualify=yes
callgroup=1
pickupgroup=1
dial=SIP/4403
mailbox=4403@device
permit=192.168.0.0/255.255.0.0
callerid=device <4403>
callcounter=yes
faxdetect=no