отмена
Отображаются результаты для 
Вместо этого искать 
Вы имели в виду: 
Объявления
Добро пожаловать в Сообщество Технической поддержки Cisco. Мы рады получить обратную связь .
New Member

FXS to SIP работает только в одну сторону

Здравствуйте есть раутер Cisco 2851 на котором установлена карта FXS
привожу кусок конфы

voice-port 0/0/0
cptone RU
timeouts interdigit 2
timeouts call-disconnect 3
timeouts ringing 20
description PABX 101
caller-id enable

dial-peer voice 1 voip
destination-pattern .T
session protocol sipv2
session target ipv4:172.16.0.2
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 2 pots
destination-pattern 12345678
port 0/0/0
forward-digits all

и есть раутер Cisco 2821 voice gateway куда приходит PRI номера

voice register dn 56
number 12345678

voice register pool 56
id mac 1111.1111.1111
number 1 dn 56
dtmf-relay rtp-nte
voice-class codec 1
username 12345678 password **********
no vad

dial-peer voice 20 pots
translation-profile incoming incomming_global
incoming called-number 12345678
direct-inward-dial
forward-digits all

проблема в том что звонки из вне на номер 12345678 проходят звенит аналоговый телефон все ок , можно даже разговаривать а звонки с 12345678 на любой другой номер не проходят звонок сбрасываеться.

вот кусок debug voip dialpeer all

`
Mar 26 16:07:39 moscow: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=, Called Number=, Voice-Interface=0x4B1D2D38,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:39 moscow: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_PORT;
Mar 26 16:07:39 moscow: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=2
Mar 26 16:07:39 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
router#
Mar 26 16:07:39 moscow: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerSPI:exit@6564
router#
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Calling Number=, Called Number=1, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=1
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Dial String=1, Expanded String=1, Calling Number=
Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/MatchNextPeer:
Result=MORE_DIGITS_NEEDED(1); Outgoing Dial-peer=1
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Result=1
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchSafModulePlugin:
dialstring=1, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Calling Number=, Called Number=12, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=12
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Dial String=12, Expanded String=12, Calling Number=
Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/MatchNextPeer:
Result=MORE_DIGITS_NEEDED(1); Outgoing Dial-peer=1
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Result=1
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchSafModulePlugin:
dialstring=12, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Mar 26 16:07:42 moscow: //-1/0F87235B8523/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Calling Number=, Called Number=123, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=123
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Dial String=123, Expanded String=123, Calling Number=
Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/MatchNextPeer:
Result=MORE_DIGITS_NEEDED(1); Outgoing Dial-peer=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Result=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchSafModulePlugin:
dialstring=123, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Calling Number=, Called Number=1234, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=1234
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Dial String=1234, Expanded String=1234, Calling Number=
Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/MatchNextPeer:
Result=MORE_DIGITS_NEEDED(1); Outgoing Dial-peer=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Result=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchSafModulePlugin:
dialstring=1234, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Calling Number=, Called Number=12345, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=12345
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Dial String=12345, Expanded String=12345, Calling Number=
Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/MatchNextPeer:
Result=MORE_DIGITS_NEEDED(1); Outgoing Dial-peer=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Result=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchSafModulePlugin:
dialstring=12345, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Calling Number=, Called Number=123456, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=123456
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchCore:

router#Dial String=123456, Expanded String=123456, Calling Number=
Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/MatchNextPeer:
Result=MORE_DIGITS_NEEDED(1); Outgoing Dial-peer=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Result=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchSafModulePlugin:
dialstring=123456, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Calling Number=, Called Number=1234567, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=1234567
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Dial String=1234567, Expanded String=1234567, Calling Number=
Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/MatchNextPeer:
Result=MORE_DIGITS_NEEDED(1); Outgoing Dial-peer=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Result=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchSafModulePlugin:
dialstring=1234567, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Calling Number=, Called Number=12345678, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=12345678
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchCore:

router#Dial String=12345678, Expanded String=12345678, Calling Number=
Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/MatchNextPeer:
Result=MORE_DIGITS_NEEDED(1); Outgoing Dial-peer=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Result=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchSafModulePlugin:
dialstring=12345678, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Mar 26 16:07:43 moscow: //-1/0F87235B8523/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
router#
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Calling Number=, Called Number=12345678T, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=12345678T
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Dial String=12345678T, Expanded String=12345678T, Calling Number=
Timeout=FALSE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=1 Is Matched
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchSafModulePlugin:
dialstring=12345678T, saf_enabled=1, saf_dndb_lookup=0, dp_result=0
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=1
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Calling Number=, Called Number=12345678, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=12345678
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Dial String=12345678, Expanded String=12345678, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=1 Is Matched
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchSafModulePlugin:
dialstring=12345678, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=1
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Calling Number=, Called Number=12345678, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=12345678
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Dial String=12345678, Expanded String=12345678, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=1 Is Matched
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchSafModulePlugin:
dialstring=12345678, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=1
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=12345678, Called Number=12345678, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=12345678
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=12345678, Expanded String=12345678, Calling Number=12345678T
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=1 Is Matched
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=12345678, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=1
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit@6613
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=12345678, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=12345678
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=12345678T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5985
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=12345678
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=12345678T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=1 Is Matched
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5985
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=1
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeer:exit@6613
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=12345678, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=12345678
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=12345678, Expanded String=12345678, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=1 Is Matched
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=12345678, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
Mar 26 16:07:45 moscow: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=1
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Calling Number=, Called Number=12345678, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=12345678
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchCore:
Dial String=12345678, Expanded String=12345678, Calling Number=
Timeout=TRUE, Is Incoming=FALSE, Peer Info Type=DIALPEER_INFO_SPEECH
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/MatchNextPeer:
Result=Success(0); Outgoing Dial-peer=1 Is Matched
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchSafModulePlugin:
dialstring=12345678, saf_enabled=1, saf_dndb_lookup=1, dp_result=0
Mar 26 16:07:45 moscow: //-1/0F87235B8523/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=1

на voice gateway debug voip dialpeer all

ничего не выдает (как будто звонок не доходит до него) я предпологаю что звонки не знают куда идти.

незнаю куда копать ....... что посоветуете?

6 ОТВЕТ.
Cisco Employee

Добрый день, Согласно

Добрый день,

 

Согласно приведённой конфигурации номер 12345678 сконфигурирован на двух разных объектах на разных устройствах:

- FXS порт на 2851

- SIP телефон на 2821

О каком именно устройстве/номере идёт речь, как связаны 2851 и 2821 и зачем сделана такая конфигурация?

New Member

2851 и 2821 установлены на

2851 и 2821 установлены на разных объектах,

2821 стоит в атс и подключен к телефонной станции PRI. (куда атс с помощью Е1 пулит номера)

2851 установлен у клиента который хочет одну аналоговую линию для факса.

Cisco Employee

В таком случае на 2821 д.б.

В таком случае на 2821 д.б. dial-peer, который отправляет звонок на номер, приходящий с PSTN на 2851, а на 2851 incoming dial-peer для приема этого вызова и outgoing dial-peer на FXS порт.

Для исходящих звонков с FXS порта должен быть настроен dial plan для отправки вызовов с FXS порта на 2851 (если туда нужно отправлять исходящие вызовы).

При этом возможно понадобится бедалть преобразоваия calling и called номеров на 2821 и 2851 для корректной маршрутизации вызовов.

New Member

спасибо за разъяснение но вы

спасибо за разъяснение но вы можете показать примерную конфигруацию для роутеров?

что добавить на 2851? этого не хватает?

voice-port 0/0/0
cptone RU
timeouts interdigit 2
timeouts call-disconnect 3
timeouts ringing 20
description PABX 101
caller-id enable

dial-peer voice 1 voip
destination-pattern .T
session protocol sipv2
session target ipv4:172.16.0.2
dtmf-relay rtp-nte
codec g711ulaw
no vad
!
dial-peer voice 2 pots
destination-pattern 12345678
port 0/0/0
forward-digits all

 

 

и на 2821 есть это что сюда добавить?

voice register dn 56
number 12345678

voice register pool 56
id mac 1111.1111.1111
number 1 dn 56
dtmf-relay rtp-nte
voice-class codec 1
username 12345678 password **********
no vad

dial-peer voice 20 pots
translation-profile incoming incomming_global
incoming called-number 12345678
direct-inward-dial
forward-digits all

 

dial-peer voice 2 voip
 destination-pattern 12345678
 session protocol sipv2
 session target ipv4:172.16.0.1
 voice-class codec 99
 dtmf-relay rtp-nte
 no vad

 

Cisco Employee

Попробуйте вот так:2851dial

Попробуйте вот так:

2851

dial-peer voice 1 voip
destination-pattern 9T
incoming called-number .T
session protocol sipv2
session target ipv4:172.16.0.2 << это д.б. IP 2821
dtmf-relay rtp-nte
codec g711ulaw
no vad

с аналоговой линии звонить через 9

2821

no voice register pool 56
no voice register dn 56

dial-peer voice 2 voip
 destination-pattern 12345678
 incoming called-number .T
 session protocol sipv2
 session target ipv4:172.16.0.1 << это д.б. IP 2851
 no voice-class codec 99
 codec g711ulaw
 dtmf-relay rtp-nte
 no vad

dial-peer voice 21 pots
 destination-pattern 9T
 port X/X/X:15 << PRI в сторону оператора (PBX)
 forward-digits all

на dial-peer-e либо отправлять 9 оператору, либо отрезать, т.е. сформировать номер, в соответствии с требованиями оператора (PBX)

Если IOS > 15.1(2)T, нужно добавить IP адрес соседа в trust list
http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/112083-tollfraud-ios.html

 

New Member

спасибо помогло!

спасибо помогло!

183
Просмотры
0
Полезный материал
6
Ответы