Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / Конфигурация и настройка / asterisk+cisco1751

asterisk+cisco1751

нет выхода в город по E1
Сообщений: 6521

Re: asterisk+cisco1751

Нет.
Ликбеза не будет.
2010-05-27 12:17

Сообщений: 84

Re: asterisk+cisco1751

:) Ну нет так нет.
2010-05-29 14:52

Сообщений: 51

Re: asterisk+cisco1751

вам был ликбез:

All_is_not_what_it_seems:

TEI = 0, Ces = 1, SAPI = 0, State = TEI_ASSIGNED
поток не в работе!
2010-05-29 20:08

Сообщений: 84

Re: asterisk+cisco1751

Спасибо буду знать теперь.
2010-05-31 07:28

Сообщений: 84

Re: asterisk+cisco1751

Спасибо EXA за помощь!
2010-05-31 07:56

Сообщений: 84

Re: asterisk+cisco1751

ded спасибо за помощь!
2010-06-01 07:52

Сообщений: 84

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

2010-06-05 10:46

Сообщений: 6521

Re: asterisk+cisco1751

НЕ НАДО ЛОГОВ ЕСЛИ НЕ ПРОСЯТ!

!
dial-peer voice 200 pots
description ALL-TO-E1
direct-inward-dial Наконец узнаешь что такое DID
preference 1
destination-pattern .T
no digit-strip
port 0/0:15
!

ru.wikipedia.org/wiki/DID
2010-06-05 10:53

Сообщений: 84

Re: asterisk+cisco1751

Сейчас сек. 3 тишина потом отбой в астере нет нечего...
2010-06-05 11:11

Сообщений: 84

Re: asterisk+cisco1751

все вроде понял как и что но начал ругатся на кодек
Вот :

3
Channel ID i = 0xA98382
Exclusive, Channel 2
*Apr 2 04:57:40.862: //322/FE9CE7BA807A/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x84842034
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 7024787574
Called Number : 970112
Source IP Address (Sig ): 192.168.10.2
Destn SIP Req Addr:Port : 192.168.10.1:5060
Destn SIP Resp Addr:Port : 192.168.10.1:5060
Destination Name : 192.168.10.1

*Apr 2 04:57:40.862: //322/FE9CE7BA807A/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0
Source IP Address (Media): 192.168.10.2
Source IP Port (Media): 18556
Destn IP Address (Media): 0.0.0.0
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): 0.0.0.0:0

*Apr 2 04:57:40.866: //322/FE9CE7BA807A/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 127
Disconnect Cause (SIP) : 488

*Apr 2 04:57:40.874: //323/FEA265BB807B/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x847FD810
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number : 7212537191
Called Number : 970118
Source IP Address (Sig ): 192.168.10.2
Destn SIP Req Addr:Port : 192.168.10.1:5060
Destn SIP Resp Addr:Port : 192.168.10.1:5060
Destination Name : 192.168.10.1

*Apr 2 04:57:40.874: //323/FEA265BB807B/SIP/Call/sipSPIMediaCallInfo:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : No Codec
Negotiated Codec Bytes : 0
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0
Source IP Address (Media): 192.168.10.2
Source IP Port (Media): 17674
Destn IP Address (Media): 0.0.0.0
Destn IP Port (Media): 0
Orig Destn IP Address:Port (Media): 0.0.0.0:0

*Apr 2 04:57:40.874: //323/FEA265BB807B/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 127
Disconnect Cause (SIP) : 488


вот asterisk :

NOTICE[1036]: chan_sip.c:5725 process_sdp: No compatible codecs, not accepting this offer!
2010-06-05 11:24

Добавить страницу в закладки:  Delicious Google Slashdot Yahoo Yandex.ru Reddit Digg Technorati Bobrdobr.ru Newsland.ru Smi2.ru Rumarkz.ru Vaau.ru Memori.ru Rucity.com Moemesto.ru News2.ru Mister-Wong.ru Myscoop.ru 100zakladok.ru