Дано - АТС, к ее внутренним линиям подключен Ap1100f (8FXO).
Со стороны абонентов выступают AP100B (абонент номер 154, там факс панас KX-FS-228), AP100 (абонент номер 201, тоже факс). Типовой конфиг на тему connection plar.
Конфиги AP100 и AP100B идентичны, за исключением частей, относящихся к адресам/номерам.
Длительность flash на аппаратах выставлена в 700мс.
На абонента 154 (на AP100B) приходит звонок, его надо перевести (transfer) на другого внутреннего абонента. Звонок не переводится. :(
На AP100 при этом все работает.
Конфиги ниже (несущественные диалпиры я позволил себе выкинуть). Дебаг - какой надо - снимем.
Конфиг с AP1100F:
Код:
version 8.30U
!
hostname AP1100F
!
no bridge spanning-tree
!
no ip-share enable
!
interface ether0.0
ip address 10.91.22.10 255.255.255.0
mtu 1024
!
no arp reset
!
route 0.0.0.0 0.0.0.0 10.91.22.1
!
! VoIP configuration.
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
!
!
! Voice port configuration.
!
! FXO
voice-port 0/1
connection plar 201
description addpactest
ring detect-timeout 70
fax-early-detect
no caller-id enable
!
! FXO
voice-port 1/0
connection plar 154
description User
ring detect-timeout 70
fax-early-detect
no caller-id enable
!
! Pots peer configuration.
!
dial-peer voice 3 pots
destination-pattern 9201
port 0/1
!
dial-peer voice 5 pots
destination-pattern 9154
port 1/0
!
! Voip peer configuration.
!
dial-peer voice 4 voip
destination-pattern 201
session target 10.112.1.250
codec g729
vad
dtmf-relay h245-alphanumeric
fax protocol t38 redundancy 0
fax rate 14400
!
dial-peer voice 6 voip
destination-pattern 154
session target 10.77.80.7
codec g729
vad
dtmf-relay h245-alphanumeric
fax protocol t38 redundancy 0
fax rate 14400
!
!
dial-peer call-transfer h
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
h323-id voip.10.91.22.10
no ignore-msg-from-other-gk
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
vad
!
!
! Tones
!
!
!
!
Конфиг AP100:
Код:
version 8.41.100
!
hostname AP100
!
username root password router administrator
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
ip address 10.112.1.250 255.255.255.0
speed auto
no qos-control
!
ip route 0.0.0.0 0.0.0.0 10.112.1.1
!
!
snmp name AP100_G2
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
connection plar 9201
fax-early-detect
no caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 1 pots
destination-pattern 201
port 0/0
!
! Voip peer configuration.
!
dial-peer voice 2 voip
destination-pattern 9201
session target ip 10.91.22.10
codec g729
vad
dtmf-relay h245-alphanumeric
fax protocol t38 redundancy 0
fax rate 14400
!
!
dial-peer call-transfer h
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.10.112.1.250
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
! SIP UA configuration.
!
sip-ua
!
! MGCP configuration.
!
mgcp
vad
!
!
! Tones
!
!
!
voip-interface ip FastEthernet0/0
!
line console
!
line vty
!
end
И наконец, конфиг с AP100B:
Код:
version 8.41.047
!
hostname AP100B
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
ip address 10.77.80.7 255.255.255.0
ip mtu 1024
speed auto
no qos-control
!
ip route 0.0.0.0 0.0.0.0 10.77.80.1
!
!
snmp name AP100B_G2
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
no busyout monitor gatekeeper
no busyout monitor sip-server
no busyout monitor callagent
no busyout monitor voip-interface
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
connection plar 9154
fax-early-detect
no caller-id enable
!
!
! Pots peer configuration.
!
dial-peer voice 1 pots
destination-pattern 154
port 0/0
!
!
! Voip peer configuration.
!
dial-peer voice 2 voip
destination-pattern 9154
session target ip 10.91.22.10
codec g729
vad
dtmf-relay h245-alphanumeric
fax protocol t38 redundancy 0
fax rate 14400
!
!
dial-peer call-transfer h
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.10.77.80.7
no ignore-msg-from-other-gk
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
vad
!
!
! Tones
!
line console
!
line vty
!
!
sms
quota 30
!
end