Re: asterisk+cisco1751
Еще проблемка ! Нет входящих, звонишь на asterisk с города ситуация такая : гудок потом сплошной зуммер потом сброс .На asterisk в CLI нет ничего ... С исходящими все ок !Мне нужно чтоб все звонки на мой диапазон номеров 770000-770999 шли на мой asterisk.
Вот диал пиры:
!
dial-peer voice 201 voip
description ALL from SIP to E1
preference 1
voice-class codec 1
session protocol sipv2
incoming called-number .T
dtmf-relay rtp-nte
no vad
!
dial-peer voice 200 pots
description ALL-TO-E1
preference 1
destination-pattern .T
no digit-strip
port 0/0:15
!
dial-peer voice 101 voip
description All from E1 to SIP
huntstop
destination-pattern .T
voice-class codec 1
session protocol sipv2
session target ipv4:192.168.10.1
dtmf-relay rtp-nte
!
вот логи cisco
Sending Complete
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA18382
Preferred, Channel 2
Calling Party Number i = 0x2183, '7015718300'
Plan:ISDN, Type:National
Called Party Number i = 0xC1, '770972'
Plan:ISDN, Type:Subscriber(local)
*Apr 2 04:16:16.650: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=7015718615, Called Number=770972, Voice-Interface=0x84AAA418,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
*Apr 2 04:16:16.650: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_INCOMING_DNIS; Called Number=770972
*Apr 2 04:16:16.654: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Apr 2 04:16:16.654: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=971972, Expanded String=971972, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Apr 2 04:16:16.654: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=201 Is Matched
*Apr 2 04:16:16.654: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5393
*Apr 2 04:16:16.654: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=7015718300
*Apr 2 04:16:16.654: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Apr 2 04:16:16.658: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=7015718300T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Apr 2 04:16:16.658: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Apr 2 04:16:16.658: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5393
*Apr 2 04:16:16.658: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=7015718300
*Apr 2 04:16:16.658: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Apr 2 04:16:16.658: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=7015718300T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_SPEECH
*Apr 2 04:16:16.662: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=200 Is Matched
*Apr 2 04:16:16.662: //-1/xxxxxxxxxxxx/DPM/MatchNextPeer:
Result=Success(0); Incoming Dial-peer=101 Is Matched
*Apr 2 04:16:16.662: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5393
*Apr 2 04:16:16.662: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=200
*Apr 2 04:16:16.662: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerSPI:exit@5927
*Apr 2 04:16:16.662: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=7015718615, Called Number=770972, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_FAX
*Apr 2 04:16:16.666: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_INCOMING_DNIS; Called Number=770972
*Apr 2 04:16:16.666: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Apr 2 04:16:16.666: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=971972, Expanded String=770972, Calling Number=
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_FAX
*Apr 2 04:16:16.666: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Apr 2 04:16:16.666: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5393
*Apr 2 04:16:16.666: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ANSWER; Calling Number=7015718300
*Apr 2 04:16:16.666: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Apr 2 04:16:16.670: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=7015718300T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_FAX
*Apr 2 04:16:16.670: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Apr 2 04:16:16.670: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5393
*Apr 2 04:16:16.670: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Match Rule=DP_MATCH_ORIGINATE; Calling Number=7015718300
*Apr 2 04:16:16.670: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:
Is Incoming=TRUE, Number Expansion=FALSE
*Apr 2 04:16:16.670: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Dial String=, Expanded String=, Calling Number=7015718300T
Timeout=TRUE, Is Incoming=TRUE, Peer Info Type=DIALPEER_INFO_FAX
*Apr 2 04:16:16.674: //-1/xxxxxxxxxxxx/DPM/dpMatchCore:
Result=-1
*Apr 2 04:16:16.674: //-1/xxxxxxxxxxxx/DPM/dpMatchPeertype:exit@5393
*Apr 2 04:16:16.674: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
*Apr 2 04:16:16.674: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerSPI:exit@5927
*Apr 2 04:16:16.714: ISDN Se0/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0x9ED7
Channel ID i = 0xA98382
Exclusive, Channel 2
*Apr 2 04:16:16.714: ISDN Se0/0:15 Q931: TX -> CONNECT pd = 8 callref = 0x9ED7
*Apr 2 04:16:16.722: ISDN Se0/0:15 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x1ED7
*Apr 2 04:16:21.662: ISDN Se0/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x1ED7
Cause i = 0x8090 - Normal call clearing
*Apr 2 04:16:21.674: ISDN Se0/0:15 Q931: TX -> RELEASE pd = 8 callref = 0x9ED7
*Apr 2 04:16:21.682: ISDN Se0/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x1ED7
*Apr 2 04:16:27.370: ISDN Se0/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x8796
Cause i = 0x8090 - Normal call clearing
*Apr 2 04:16:27.374: ISDN Se0/0:15 **ERROR**: L3_BadPeerMsg: event 0x45 cr 0x796 callid 0x0
*Apr 2 04:16:27.374: ISDN Se0/0:15 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x0796
Cause i = 0x80D1 - Invalid call reference value
|