bunakov-ak заранее спасибо за ответы!
Теперь по теме:
Попробуйте исправить шоткод 2XXXX, сделать так:
2N;
dial
2NsE
11
В Система/Телефонная связь поставить:
Время задержки набора (с) 4;
Счетчик задержки набора 0
сделал. Теперь получается вот что: набор на 21201 все ОК. Проверяем переадресацию: после таймаута опять слышим некое переключение, потом вторая начинает звонить вторая линия
1. Есть 2xxxx/./11 то есть на H.323, то есть при наборе 21201 уйдет 21201 и без АОН (в случае переадресации). Просто набор пройдет, а переадресация скорее всего вас пошлет
подальше. (dialpeer пришлите с циски)
dial-peer voice 30 voip
description "MTS FMC Axsel Motors VO"
service session
destination-pattern 21...$
translate-outgoing called 1
session protocol sipv2
session target ipv4:172.20.128.51
codec g711alaw
перед передачей в МТС на FMC отсекаем первую "2"
translation-rule 1
Rule 0 ^21 1
Rule 1 ^22 2
Rule 2 ^23 3
Rule 3 ^24 4
Rule 4 ^25 5
Rule 5 ^26 6
Rule 6 ^27 7
2. На циске 100% есть диалпир который пихает номер 1201 в этот жэ H.323 транк. Проверить на циске можно командой show dialplan number 21201 и для номера 1201, что выдаст?
Если так задумано пол беды, а вообще там бред у вас в маршрутизации.
Во-первых задумано так: у пользователя есть рабочий номер, например, 1201. Ему все могу позвонить на работу на этот номер, а также на мобильный, набрав 2+1201. Логика такая.
dial-peer voice 30 voip
description "MTS FMC"
service session
destination-pattern 21...$
translate-outgoing called 1
session protocol sipv2
session target ipv4:172.20.128.51
codec g711alaw
и еще
dial-peer voice 40 voip
description "IPO500"
destination-pattern 1...$
session target ipv4:192.168.0.43
dtmf-relay h245-signal
codec g711alaw
fax rate 14400
fax protocol none
no vad
Код: Выделить всё
[color=#BF00BF]sh dialplan number 21201[/color]
Macro Exp.: 21201
VoiceOverIpPeer30
peer type = voice, system default peer = FALSE, information type = voice,
description = `"MTS FMC Axsel Motors VO"',
tag = 30, destination-pattern = `21...$',
voice reg type = 0, corresponding tag = 0,
allow watch = FALSE
answer-address = `', preference=0,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
rtp-ssrc mux = system
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 30, Admin state is up, Operation state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
modem transport = system,
URI classes:
Incoming (Request) =
Incoming (To) =
Incoming (From) =
Destination =
huntstop = disabled,
in bound application associated: 'session'
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
mailbox selection policy: none
type = voip, session-target = `ipv4:172.20.128.51',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip media rsvp-pass DSCP = ef
ip media rsvp-fail DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
ip defending Priority = 0, ip preemption priority = 0
ip policy locator voice:
ip policy locator video:
UDP checksum = disabled,
session-protocol = sipv2, 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, TTY=119, ClearChan=125, PCM switch over u-law=0,
A-law=8, GSMAMR-NB=117 iLBC=116, AAC-ld=114, lmr_tone=0, nte_tone=0
h263+=118, h264=119
G726r16 using static payload
G726r24 using static payload
RTP comfort noise payload type = 19
fax rate = voice, payload size = 20 bytes
fax protocol = system
fax-relay ecm enable
Fax Relay ans enabled
Fax Relay SG3-to-G3 Enabled (by system configuration)
fax NSF = 0xAD0051 (default)
codec = g711alaw, payload size = 160 bytes,
video codec = None
voice class codec = `'
voice class sip rsvp-fail-policy voice post-alert mandatory keep-alive interval 30
voice class sip rsvp-fail-policy voice post-alert optional keep-alive interval 30
voice class sip rsvp-fail-policy video post-alert mandatory keep-alive interval 30
voice class sip rsvp-fail-policy video post-alert optional keep-alive interval 30
text relay = disabled
Media Setting = flow-through (global)
Expect factor = 10, Icpif = 20,
Playout Mode is set to adaptive,
Initial 60 ms, Max 1000 ms
Playout-delay Minimum mode is set to default, value 40 ms
Fax nominal 300 ms
Max Redirects = 1, signaling-type = cas,
VAD = enabled, Poor QOV Trap = disabled,
Source Interface = NONE
voice class sip url = system,
voice class sip rel1xx = system,
tvoice class sip outbound-proxy = system,
voice class sip asserted-id = system,
voice class sip privacy = system,
voice class sip e911 = system,
voice class sip history-info = system,
voice class sip anat = system,
voice class sip g729 annexb-all = system,
voice class sip early-offer forced = system,
voice class sip negotiate cisco = system,
voice class sip authenticate redirecting-number = system,
redirect ip2ip = disabled
local peer = false
probe disabled,
Secure RTP: system (use the global setting)
voice class perm tag = `'
Time elapsed since last clearing of voice call statistics never
Connect Time = 49283381, Charged Units = 0,
Successful Calls = 14424, Failed Calls = 2970, Incomplete Calls = 430
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "10 ",
Last Disconnect Text is "normal call clearing (16)",
Last Setup Time = 1735333292.
Last Disconnect Time = 1735335414.
Matched: 21201 Digits: 3
Target: ipv4:172.20.128.51
Код: Выделить всё
[color=#BF00BF]sh dialplan number 1201[/color]
Macro Exp.: 1201
VoiceOverIpPeer40
peer type = voice, system default peer = FALSE, information type = voice,
description = `"IPO500"',
tag = 40, destination-pattern = `1...$',
voice reg type = 0, corresponding tag = 0,
allow watch = FALSE
answer-address = `', preference=0,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
rtp-ssrc mux = system
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 40, Admin state is up, Operation state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = enabled,
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
mailbox selection policy: none
type = voip, session-target = `ipv4:192.168.0.43',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip media rsvp-pass DSCP = ef
ip media rsvp-fail DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
ip defending Priority = 0, ip preemption priority = 0
ip policy locator voice:
ip policy locator video:
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,
dtmf-relay = h245-signal,
RTP dynamic payload type values: NTE = 101
Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122
CAS=123, TTY=119, ClearChan=125, PCM switch over u-law=0,
A-law=8, GSMAMR-NB=117 iLBC=116, AAC-ld=114, lmr_tone=0, nte_tone=0
h263+=118, h264=119
G726r16 using static payload
G726r24 using static payload
RTP comfort noise payload type = 19
fax rate = 14400, payload size = 20 bytes
fax protocol = none
fax-relay ecm enable
Fax Relay ans enabled
Fax Relay SG3-to-G3 Enabled (by system configuration)
fax NSF = 0xAD0051 (default)
codec = g711alaw, payload size = 160 bytes,
video codec = None
voice class codec = `'
voice class sip rsvp-fail-policy voice post-alert mandatory keep-alive interval 30
voice class sip rsvp-fail-policy voice post-alert optional keep-alive interval 30
voice class sip rsvp-fail-policy video post-alert mandatory keep-alive interval 30
voice class sip rsvp-fail-policy video post-alert optional keep-alive interval 30
text relay = disabled
Media Setting = flow-through (global)
Expect factor = 10, Icpif = 20,
Playout Mode is set to adaptive,
Initial 60 ms, Max 1000 ms
Playout-delay Minimum mode is set to default, value 40 ms
Fax nominal 300 ms
Max Redirects = 1, signaling-type = cas,
VAD = disabled, Poor QOV Trap = disabled,
Source Interface = NONE
voice class sip url = system,
voice class sip rel1xx = system,
tvoice class sip outbound-proxy = system,
voice class sip asserted-id = system,
voice class sip privacy = system,
voice class sip e911 = system,
voice class sip history-info = system,
voice class sip anat = system,
voice class sip g729 annexb-all = system,
voice class sip early-offer forced = system,
voice class sip negotiate cisco = system,
voice class sip authenticate redirecting-number = system,
redirect ip2ip = disabled
local peer = false
probe disabled,
Secure RTP: system (use the global setting)
voice class perm tag = `'
Time elapsed since last clearing of voice call statistics never
Connect Time = 4402969, Charged Units = 0,
Successful Calls = 385, Failed Calls = 76, Incomplete Calls = 66
Accepted Calls = 764, Refused Calls = 146,
Last Disconnect Cause is "10 ",
Last Disconnect Text is "normal call clearing (16)",
Last Setup Time = 1735333290.
Last Disconnect Time = 1735335414.
Matched: 1201 Digits: 2
Target: ipv4:192.168.0.43
3. У вас вообще на циску 11-я или 17-я линия?
11 линия
Про конфликт шоткодов: выше я описал логику построения номерного плана и честно говоря не могу понять как что тут можно переделать.