需求:
四个FXO口,四个进线四个号码。
出局:老板独占一个固定号码出局,员工在三个号码中随机出局。
入局:拨打老板号码直接到老板号码8006,拨打其他三个号码依次转到8001,8002,8003。
下面是我的配置有些问题,是老板号码出局没有固定。帮忙看下兄弟们!
telephony-service
no auto-reg-ephone
max-ephones 10
max-dn 20
ip source-address 192.168.254.254 port 2000
max-conferences 8 gain -6
transfer-system full-consult
create cnf-files version-stamp 7960 Oct 14 2016 14:17:19
!
ephone-hunt 1 sequential
pilot 8000
list 8001,8002,8003
preference 1
timeout 30
!
ephone-dn 1
number 8001
label User1
name User1
pickup-group 1
!
ephone-dn 2
number 8002
label User2
name User2
pickup-group 1
!
ephone-dn 3
number 8003
label User3
name User3
pickup-group 1
!
ephone-dn 4
number 8004
label User4
name User4
pickup-group 1
!
ephone-dn 5
number 8005
label User5
name User5
pickup-group 1
!
ephone-dn 6
number 8006
label BOSS
name BOSS
pickup-group 1
!
ephone 1
mac-address 7C5C.F87B.C51E
type 7942
button 1:1
!
ephone 2
mac-address 7C5C.F87B.C52E
type 7942
button 1:2
!
ephone 3
mac-address 7C5C.F87B.C53E
type 7942
button 1:3
!
ephone 4
mac-address 7C5C.F87B.C54E
type 7942
button 1:4
!
ephone 5
mac-address 7C5C.F87B.C55E
type 7942
button 1:5
!
ephone 6
mac-address 7C5C.F87B.C56E
type 7942
button 1:6
!
voice-port 0/0/0
supervisory disconnect dualtone mid-call
cptone CN
timeouts call-disconnect 0
timeouts wait-release 1
connection plar 8000
caller-id enable
!
voice-port 0/0/1
supervisory disconnect dualtone mid-call
cptone CN
timeouts call-disconnect 0
timeouts wait-release 1
connection plar 8000
caller-id enable
!
voice-port 0/0/2
supervisory disconnect dualtone mid-call
cptone CN
timeouts call-disconnect 0
timeouts wait-release 1
connection plar 8000
caller-id enable
!
voice-port 0/0/3
supervisory disconnect dualtone mid-call
cptone CN
timeouts call-disconnect 0
timeouts wait-release 1
connection plar 8006
caller-id enable
!
dial-peer voice 1 pots
preference 3
destination-pattern 9T
port 0/0/0
!
dial-peer voice 2 pots
preference 2
destination-pattern 9T
port 0/0/1
!
dial-peer voice 3 pots
preference 1
destination-pattern 9T
port 0/0/2
!
dial-peer voice 4 pots
preference 1
destination-pattern 9T
port 0/0/3
!
=======================