Праблема такая, с которой уже бьюсь не первый час, и судя по всему ещё долго бится буду.Вообщем у нас так на Cisco 5350 заруленно так, если не прошёл по dial-peer, то вывалится на модемный пул. Впринцепи всё хорошо было, но вот я захотел для исходящей связи сделать диалпиры, и тут перестало вываливатся на модемный пул, а начинал слышать гудок, потом набирал номер, и через какой-нибудь дилпир мог вывалится обратно в поток. Номер набираю типа 900000, АОН с какого набираю 7212400000. Конфиги вот они
dial-peer voice 31000 pots
destination-pattern 000031
port 3/1:D
!
dial-peer voice 911111 pots
service max
incoming called-number 911111
!
dial-peer voice 73212 pots
translation-profile incoming TO_CITY
translation-profile outgoing TO_CITY
preference 1
max-conn 25
destination-pattern 7321T
port 3/1:D
forward-digits 6
!
dial-peer voice 922222 pots
translation-profile incoming TO_CITY
translation-profile outgoing TO_CITY
destination-pattern 922222
port 3/1:D
!
dial-peer voice 920202 voip
huntstop
destination-pattern 920202
voice-class codec 1
session protocol sipv2
session target ipv4:192.168.10.3
dtmf-relay rtp-nte
fax rate 9600
fax protocol pass-through g711ulaw
no vad
!
dial-peer voice 77212 pots
translation-profile incoming TO_CITY
translation-profile outgoing TO_CITY
preference 1
max-conn 25
destination-pattern 7721T
port 3/1:D
forward-digits 6
!
dial-peer voice 772120 voip
preference 1
voice-class codec 3
incoming called-number 77212T
no vad
!
dial-peer voice 732120 voip
preference 1
voice-class codec 3
incoming called-number 73212T
no vad
!
dial-peer voice 77210 pots
translation-profile incoming TO_CITY
translation-profile outgoing TO_CITY
preference 2
max-conn 30
destination-pattern 7721T
port 3/0:D
forward-digits 6
!
dial-peer voice 871 voip
permission term
huntstop
preference 1
destination-pattern 871T
voice-class codec 2
session target ipv4:192.168.0.2
no vad
!
dial-peer voice 872 voip
permission term
huntstop
destination-pattern 872T
voice-class codec 2
session target ipv4:192.168.0.2
no vad
!
dial-peer voice 8100 voip
preference 3
destination-pattern .T
voice-class codec 2
session target ipv4:192.168.0.6
no vad
!
dial-peer voice 810 voip
preference 2
destination-pattern .T
voice-class codec 2
session target ipv4:192.168.0.3
no vad
!
------Теперь довабляю этот диалпир и начинаются странности---------------
dial-peer voice 72120 pots
description from Officce to City
preference 1
max-conn 30
destination-pattern 7212T
port 3/1:D
forward-digits 6Помогите не смогу сам понять, почему так, ведь destination-pattern не смотрит на АОН. Вообще в трансе я.
выполните
#show dialplan number 900000
>выполните
>#show dialplan number 900000dial-peer voice 72120 pots
description from Officce to City
preference 1
max-conn 30
destination-pattern 7212T
port 3/0:D
forward-digits 6
#show dialplan number 7212433937 ---- это с какого звоню
Macro Exp.: 7212433937
No match, result=1#show dialplan number 7212942555 ---- это на какой звоню
Macro Exp.: 7212942555
No match, result=1
Добавьте # в конце проверяемого номера:
show dialplan number 7212942555#
>Добавьте # в конце проверяемого номера:
>show dialplan number 7212942555##show dialplan number 942555#
Macro Exp.: 942555VoiceOverIpPeer810
peer type = voice, information type = voice,
description = `Optical To Mera',
tag = 810, destination-pattern = `.T',
answer-address = `', preference=2,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 810, Admin state is up, Operation state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
modem transport = system,
URI classes:
Incoming (Called) =
Incoming (Calling) =
Destination =
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
Translation profile (Outgoing):
incoming call blocking:
translation-profile = `'
disconnect-cause = `no-service'
advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
type = voip, session-target = `ipv4:192.168.209.35',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
UDP checksum = disabled,
session-protocol = cisco, session-transport = system,
req-qos = best-effort, acc-qos = best-effort,
req-qos video = best-effort, acc-qos video = best-effort,
req-qos audio def bandwidth = 64, req-qos audio max bandwidth = 0,
req-qos video def bandwidth = 384, req-qos video max bandwidth = 0,
RTP dynamic payload type values: NTE = 101
Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122
CAS=123, ClearChan=125, PCM switch over u-law=0,A-law=8
RTP comfort noise payload type = 19
fax rate = fax, payload size = 20 bytes
fax protocol = system
fax-relay ecm enable
fax NSF = 0xAD0051 (default)
codec = g729r8, payload size = 20 bytes,
Media Setting = flow-through (global)
Expect factor = 10, Icpif = 20,
Playout Mode is set to adaptive,
Initial 60 ms, Max 250 ms
Playout-delay Minimum mode is set to default, value 40 ms
Fax nominal 300 ms
Max Redirects = 1, signaling-type = ext-signal,
VAD = disabled, Poor QOV Trap = disabled,
Source Interface = NONE
voice class sip url = system,
voice class sip rel1xx = system,
redirect ip2ip = disabled
probe disabled,
voice class perm tag = `'
Time elapsed since last clearing of voice call statistics never
Connect Time = 5643365, Charged Units = 0,
Successful Calls = 312, Failed Calls = 376, Incomplete Calls = 41
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "10 ",
Last Disconnect Text is "normal call clearing (16)",
Last Setup Time = 50070969.
Matched: 942555 Digits: 0
Target: ipv4:192.168.109.5VoiceOverIpPeer8100
peer type = voice, information type = voice,
description = `',
tag = 8100, destination-pattern = `.T',
answer-address = `', preference=3,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 8100, Admin state is up, Operation state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
modem transport = system,
URI classes:
Incoming (Called) =
Incoming (Calling) =
Destination =
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
Translation profile (Outgoing):
incoming call blocking:
translation-profile = `'
disconnect-cause = `no-service'
advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
type = voip, session-target = `ipv4:192.168.200.35',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
UDP checksum = disabled,
session-protocol = cisco, session-transport = system,
req-qos = best-effort, acc-qos = best-effort,
req-qos video = best-effort, acc-qos video = best-effort,
req-qos audio def bandwidth = 64, req-qos audio max bandwidth = 0,
req-qos video def bandwidth = 384, req-qos video max bandwidth = 0,
RTP dynamic payload type values: NTE = 101
Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122
CAS=123, ClearChan=125, PCM switch over u-law=0,A-law=8
RTP comfort noise payload type = 19
fax rate = fax, payload size = 20 bytes
fax protocol = system
fax-relay ecm enable
fax NSF = 0xAD0051 (default)
codec = g729r8, payload size = 20 bytes,
Media Setting = flow-through (global)
Expect factor = 10, Icpif = 20,
Playout Mode is set to adaptive,
Initial 60 ms, Max 250 ms
Playout-delay Minimum mode is set to default, value 40 ms
Fax nominal 300 ms
Max Redirects = 1, signaling-type = ext-signal,
VAD = disabled, Poor QOV Trap = disabled,
Source Interface = NONE
voice class sip url = system,
voice class sip rel1xx = system,
redirect ip2ip = disabled
probe disabled,
voice class perm tag = `'
Time elapsed since last clearing of voice call statistics never
Connect Time = 361019, Charged Units = 0,
Successful Calls = 25, Failed Calls = 215, Incomplete Calls = 15
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "6F ",
Last Disconnect Text is "protocol error (111)",
Last Setup Time = 47656403.
Matched: 942555 Digits: 0
Target: ipv4:192.168.110.5card.metronet.kz#show dialplan number 7212942555#
Macro Exp.: 7212942555VoiceEncapPeer72120
peer type = voice, information type = voice,
description = `from Officce to City',
tag = 72120, destination-pattern = `7212T',
answer-address = `', preference=1,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 72120, Admin state is up, Operation state is up,
Outbound state is up,
incoming called-number = `', connections/maximum = 0/30,
DTMF Relay = disabled,
URI classes:
Destination =
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
Translation profile (Outgoing):
incoming call blocking:
translation-profile = `'
disconnect-cause = `no-service'
advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
type = pots, prefix = `',
forward-digits 6
session-target = `', voice-port = `3/0:D',
direct-inward-dial = disabled,
digit_strip = enabled,
register E.164 number with H323 GK and/or SIP Registrar = TRUE
fax rate = system, payload size = 20 bytes
supported-language = ''Time elapsed since last clearing of voice call statistics never
Connect Time = 0, Charged Units = 0,
Successful Calls = 0, Failed Calls = 0, Incomplete Calls = 0
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "",
Last Disconnect Text is "",
Last Setup Time = 0.
Matched: 7212942555 Digits: 4
Target:VoiceOverIpPeer810
peer type = voice, information type = voice,
description = `Optical To Mera',
tag = 810, destination-pattern = `.T',
answer-address = `', preference=2,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 810, Admin state is up, Operation state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
modem transport = system,
URI classes:
Incoming (Called) =
Incoming (Calling) =
Destination =
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
Translation profile (Outgoing):
incoming call blocking:
translation-profile = `'
disconnect-cause = `no-service'
advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
type = voip, session-target = `ipv4:192.168.209.35',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
UDP checksum = disabled,
session-protocol = cisco, session-transport = system,
req-qos = best-effort, acc-qos = best-effort,
req-qos video = best-effort, acc-qos video = best-effort,
req-qos audio def bandwidth = 64, req-qos audio max bandwidth = 0,
req-qos video def bandwidth = 384, req-qos video max bandwidth = 0,
RTP dynamic payload type values: NTE = 101
Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122
CAS=123, ClearChan=125, PCM switch over u-law=0,A-law=8
RTP comfort noise payload type = 19
fax rate = fax, payload size = 20 bytes
fax protocol = system
fax-relay ecm enable
fax NSF = 0xAD0051 (default)
codec = g729r8, payload size = 20 bytes,
Media Setting = flow-through (global)
Expect factor = 10, Icpif = 20,
Playout Mode is set to adaptive,
Initial 60 ms, Max 250 ms
Playout-delay Minimum mode is set to default, value 40 ms
Fax nominal 300 ms
Max Redirects = 1, signaling-type = ext-signal,
VAD = disabled, Poor QOV Trap = disabled,
Source Interface = NONE
voice class sip url = system,
voice class sip rel1xx = system,
redirect ip2ip = disabled
probe disabled,
voice class perm tag = `'
Time elapsed since last clearing of voice call statistics never
Connect Time = 5643365, Charged Units = 0,
Successful Calls = 312, Failed Calls = 376, Incomplete Calls = 41
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "10 ",
Last Disconnect Text is "normal call clearing (16)",
Last Setup Time = 50070969.
Matched: 7212942555 Digits: 0
Target: ipv4:192.168.109.5VoiceOverIpPeer8100
peer type = voice, information type = voice,
description = `',
tag = 8100, destination-pattern = `.T',
answer-address = `', preference=3,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 8100, Admin state is up, Operation state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
modem transport = system,
URI classes:
Incoming (Called) =
Incoming (Calling) =
Destination =
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
Translation profile (Outgoing):
incoming call blocking:
translation-profile = `'
disconnect-cause = `no-service'
advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
type = voip, session-target = `ipv4:192.168.200.35',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
UDP checksum = disabled,
session-protocol = cisco, session-transport = system,
req-qos = best-effort, acc-qos = best-effort,
req-qos video = best-effort, acc-qos video = best-effort,
req-qos audio def bandwidth = 64, req-qos audio max bandwidth = 0,
req-qos video def bandwidth = 384, req-qos video max bandwidth = 0,
RTP dynamic payload type values: NTE = 101
Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122
CAS=123, ClearChan=125, PCM switch over u-law=0,A-law=8
RTP comfort noise payload type = 19
fax rate = fax, payload size = 20 bytes
fax protocol = system
fax-relay ecm enable
fax NSF = 0xAD0051 (default)
codec = g729r8, payload size = 20 bytes,
Media Setting = flow-through (global)
Expect factor = 10, Icpif = 20,
Playout Mode is set to adaptive,
Initial 60 ms, Max 250 ms
Playout-delay Minimum mode is set to default, value 40 ms
Fax nominal 300 ms
Max Redirects = 1, signaling-type = ext-signal,
VAD = disabled, Poor QOV Trap = disabled,
Source Interface = NONE
voice class sip url = system,
voice class sip rel1xx = system,
redirect ip2ip = disabled
probe disabled,
voice class perm tag = `'
Time elapsed since last clearing of voice call statistics never
Connect Time = 361019, Charged Units = 0,
Successful Calls = 25, Failed Calls = 215, Incomplete Calls = 15
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "6F ",
Last Disconnect Text is "protocol error (111)",
Last Setup Time = 47656403.
Matched: 7212942555 Digits: 0
Target: ipv4:192.168.110.5
#
Без Диалпира 72120
#show dialplan number 942555#
Macro Exp.: 942555VoiceOverIpPeer810
peer type = voice, information type = voice,
description = `Optical To Mera',
tag = 810, destination-pattern = `.T',
answer-address = `', preference=2,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 810, Admin state is up, Operation state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
modem transport = system,
URI classes:
Incoming (Called) =
Incoming (Calling) =
Destination =
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
Translation profile (Outgoing):
incoming call blocking:
translation-profile = `'
disconnect-cause = `no-service'
advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
type = voip, session-target = `ipv4:192.168.209.35',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
UDP checksum = disabled,
session-protocol = cisco, session-transport = system,
req-qos = best-effort, acc-qos = best-effort,
req-qos video = best-effort, acc-qos video = best-effort,
req-qos audio def bandwidth = 64, req-qos audio max bandwidth = 0,
req-qos video def bandwidth = 384, req-qos video max bandwidth = 0,
RTP dynamic payload type values: NTE = 101
Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122
CAS=123, ClearChan=125, PCM switch over u-law=0,A-law=8
RTP comfort noise payload type = 19
fax rate = fax, payload size = 20 bytes
fax protocol = system
fax-relay ecm enable
fax NSF = 0xAD0051 (default)
codec = g729r8, payload size = 20 bytes,
Media Setting = flow-through (global)
Expect factor = 10, Icpif = 20,
Playout Mode is set to adaptive,
Initial 60 ms, Max 250 ms
Playout-delay Minimum mode is set to default, value 40 ms
Fax nominal 300 ms
Max Redirects = 1, signaling-type = ext-signal,
VAD = disabled, Poor QOV Trap = disabled,
Source Interface = NONE
voice class sip url = system,
voice class sip rel1xx = system,
redirect ip2ip = disabled
probe disabled,
voice class perm tag = `'
Time elapsed since last clearing of voice call statistics never
Connect Time = 5643365, Charged Units = 0,
Successful Calls = 312, Failed Calls = 376, Incomplete Calls = 41
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "10 ",
Last Disconnect Text is "normal call clearing (16)",
Last Setup Time = 50070969.
Matched: 942555 Digits: 0
Target: ipv4:192.168.209.35VoiceOverIpPeer8100
peer type = voice, information type = voice,
description = `',
tag = 8100, destination-pattern = `.T',
answer-address = `', preference=3,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 8100, Admin state is up, Operation state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
modem transport = system,
URI classes:
Incoming (Called) =
Incoming (Calling) =
Destination =
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
Translation profile (Outgoing):
incoming call blocking:
translation-profile = `'
disconnect-cause = `no-service'
advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
type = voip, session-target = `ipv4:192.168.200.35',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
UDP checksum = disabled,
session-protocol = cisco, session-transport = system,
req-qos = best-effort, acc-qos = best-effort,
req-qos video = best-effort, acc-qos video = best-effort,
req-qos audio def bandwidth = 64, req-qos audio max bandwidth = 0,
req-qos video def bandwidth = 384, req-qos video max bandwidth = 0,
RTP dynamic payload type values: NTE = 101
Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122
CAS=123, ClearChan=125, PCM switch over u-law=0,A-law=8
RTP comfort noise payload type = 19
fax rate = fax, payload size = 20 bytes
fax protocol = system
fax-relay ecm enable
fax NSF = 0xAD0051 (default)
codec = g729r8, payload size = 20 bytes,
Media Setting = flow-through (global)
Expect factor = 10, Icpif = 20,
Playout Mode is set to adaptive,
Initial 60 ms, Max 250 ms
Playout-delay Minimum mode is set to default, value 40 ms
Fax nominal 300 ms
Max Redirects = 1, signaling-type = ext-signal,
VAD = disabled, Poor QOV Trap = disabled,
Source Interface = NONE
voice class sip url = system,
voice class sip rel1xx = system,
redirect ip2ip = disabled
probe disabled,
voice class perm tag = `'
Time elapsed since last clearing of voice call statistics never
Connect Time = 361019, Charged Units = 0,
Successful Calls = 25, Failed Calls = 215, Incomplete Calls = 15
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "6F ",
Last Disconnect Text is "protocol error (111)",
Last Setup Time = 47656403.
Matched: 942555 Digits: 0
Target: ipv4:192.168.200.35
На маршрутизаторах, которые указаны в разделе session target в dial-peer 810 и 8100, какие dial-peer настроены в сторону 5350?
>На маршрутизаторах, которые указаны в разделе session target в dial-peer 810 и
>8100, какие dial-peer настроены в сторону 5350?Эти диалпиры снёсены, но при внесения в конфигурацию волшебного диалпира, всё равно получается такая штука, которуя я описал в самом начале.
Как я думаю, что такая ситуация возможно в том случае, когда ваш исходящий звонок для маршрутизатора получается входящим в этом случае у маршратизатора есть определенные шаги в плане выбора пира.
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech...
Раздел "Inbound Dial Peers Matching Process"