Вы здесь

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

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

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

На 2851 должны быть какие то диалпиры на выход, но их я не увидел. Входящий у вас срабатывает верятно по дефолтному диалпиру

можете ткнуть носом какого вида диалпиры должны быть?

dial-peer voice 1 voip destination-pattern 12.. session protocol sipv2 session target ipv4:172.16.0.2 dtmf-relay rtp-nte codec g711ulaw no vad

На обоих девайсах друг на друга должно быть примерно так.
Можно как SIP так и H.323

на 2821

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

есть такой но это же не работает

А это с роутера 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

Добавить комментарий

Filtered HTML

  • Адреса страниц и электронной почты автоматически преобразуются в ссылки.
  • Допустимые HTML-теги: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Строки и абзацы переносятся автоматически.

Plain text

  • HTML-теги не обрабатываются и показываются как обычный текст
  • Адреса страниц и электронной почты автоматически преобразуются в ссылки.
  • Строки и абзацы переносятся автоматически.
CAPTCHA
Этот вопрос задается для того, чтобы выяснить, являетесь ли Вы человеком или представляете из себя автоматическую спам-рассылку.
Target Image