Всем привет.
Есть гетвей 2811, есть CallManager.
На есть такие диалпиры:
dial-peer voice 200 pots
preference 6
destination-pattern ....$
translate-outgoing calling 34000
direct-inward-dial
port 0/0/0:15
forward-digits all
!
dial-peer voice 1001 pots
destination-pattern 264[56].
port 0/0/0:15
forward-digits all
!
dial-peer voice 22500 voip
destination-pattern 225..
modem passthrough nse codec g711ulaw
session target ipv4:172.17.192.240
codec g711ulaw
fax protocol cisco
!
dial-peer voice 24500 pots
destination-pattern 2[45][45]..
progress_ind alert enable 8
port 0/0/0:15
forward-digits all
!
dial-peer voice 32210 pots
destination-pattern 3221.
direct-inward-dial
port 0/0/0:15
forward-digits all
!
dial-peer voice 33110 pots
destination-pattern 33[2-9]..
direct-inward-dial
port 0/0/0:15
forward-digits all
!
dial-peer voice 3355 pots
destination-pattern 3335555
!
dial-peer voice 20189 pots
description 5-digit numbers to pbx
destination-pattern 20[1578]..
progress_ind alert enable 8
port 0/0/0:15
forward-digits all
!
dial-peer voice 30000 voip
description 5-digit numbers
destination-pattern [234][012345]...
no modem passthrough
voice-class codec 3000
session target ipv4:172.17.192.240
no vad
!
dial-peer voice 201 pots
description Calls to Cisco 5-digits numbers
incoming called-number [23]....
direct-inward-dial
port 0/0/0:15
forward-digits all
!
dial-peer voice 22547 voip
destination-pattern 22547
signaling forward conditional
modem passthrough nse codec g711ulaw
session target ipv4:172.17.120.5
dtmf-relay h245-alphanumeric
fax protocol pass-through g711ulaw
!
dial-peer voice 50000 voip
description 50000 numbers
destination-pattern 5000.
session target ipv4:172.17.192.240
Есть войповый номер - 50000. Если звонить на него через PSTN с 4-х значного номера (2025)- все ок, работает, но если номер 5-ти значный (25421) - снимает трубку сама 2811. При этом звонок с IP на номер 25421 проходит нормально.
Станция отдает все 5 цифр:
Calling Party Number i = 0x0083, '2025'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '50000'
Plan:Unknown, Type:Unknown
High Layer Compat i = 0x9181
Если сделать debug voice dialpeer inout, то показывает, что не наше ни одного совпадения:
ul 27 12:09:13.759: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=25421, Called Number=50000, Voice-Interface=0x476FED94,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jul 27 12:09:13.759: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=25421
Jul 27 12:09:13.759: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=25421, Called Number=50000, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_FAX
Jul 27 12:09:13.759: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
Где копать?