Всем добрый день! Собственно суть проблемы:
Есть CISCO (FXO 4 порта) и Asterisk связка работает, но если Asterisk не отвечает CISCO при входящем звонке берет вторую линию FXO и набирает экстренную службу ..
-------------
voice-port 0/3/0
no battery-reversal
cptone RU
timeouts interdigit 2
connection plar opx 0444909991
description CO1
caller-id enable
!
voice-port 0/3/1
no battery-reversal
cptone RU
timeouts interdigit 2
connection plar opx 0444909991
description CO2
caller-id enable
!
voice-port 0/3/2
cptone RU
timeouts interdigit 2
connection plar opx 0444909991
description CO3
caller-id enable
!
voice-port 0/3/3
cptone RU
timeouts interdigit 2
connection plar opx 0444909991
description CO4
caller-id enable
dial-peer voice 1 voip
description to_asterisk
preference 2
destination-pattern 044490999[19]
session protocol sipv2
session target ipv4:10.10.13.97:5060
session transport udp
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 444909991 pots
description to_fxo_pstn
translation-profile outgoing over_fxo
preference 7
destination-pattern .T
progress_ind disconnect enable 8
port 0/3/3
!
dial-peer voice 444909992 pots
description to_fxo_pstn
translation-profile outgoing over_fxo
preference 8
destination-pattern .T
progress_ind disconnect enable 8
port 0/3/2
!
dial-peer voice 444909993 pots
description to_fxo_pstn
translation-profile outgoing over_fxo
preference 9
destination-pattern .T
progress_ind disconnect enable 8
port 0/3/1
!
dial-peer voice 444909994 pots
description to_fxo_pstn
translation-profile outgoing over_fxo
preference 10
destination-pattern .T
progress_ind disconnect enable 8
port 0/3/0
!
gateway
timer receive-rtp 1200
!
sip-ua
authentication username ciscophone password XXXXXXXXXXXXXXXX
registrar ipv4:IP_ASTERISK expires 65535
sip-server ipv4:IP_ASTERISK