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

DAHDI + E1

Ошибка при исходящем звонке
1 23>
Сообщений: 15

DAHDI + E1

Неделю маюсь, вижу ошибку но не могу искоренить её. Помогите, плз

Asterisk 1.6.2.9
libpri version: 1.4.11.4

/etc/dahdi/system.conf:

span=1,1,0,ccs,hdb3
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31
hidecallerid=no
loadzone<------>= en
defaultzone<--->= en

/etc/asterisk/chan_dahdi.conf:

[channels]
context=incom
immediate=no
switchtype=euroisdn
signalling=pri_net
group=1
callerid=asreceived
channel => 1-15,17-31

/etc/asterisk/extensions.conf:

[out]

exten => _2X.,1,Set(CALLERID(all)=ХХХ <ХХХ>)
exten => _2X.,n,Dial(DAHDI/2/${EXTEN:1})

>pri set debug on span 1

ПРобую делать исходящий звонок:

localhost*CLI>
== Using SIP RTP CoS mark 5
-- Executing [2063ZZZZZZZ@out:1] Set("SIP/7201-0000000d", "CALLERID(all)=XXX <XXX>") in new stack
-- Executing [2063ZZZZZZZ@out:2] Dial("SIP/7201-0000000d", "DAHDI/2/063ZZZZZZZ") in new stack
-- Making new call for cref 32770
-- Requested transfer capability: 0x00 - SPEECH

> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=49
> TEI=0 Call Ref: len= 2 (reference 2/0x2) (Sent from originator)
> Message Type: SETUP (5)
TEI=0 Transmitting N(S)=2, window is open V(A)=2 K=7

> Protocol Discriminator: Q.931 (8) len=49
> TEI=0 Call Ref: len= 2 (reference 2/0x2) (Sent from originator)
> Message Type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
> Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
> User information layer 1: A-Law (35)
> [18 03 a9 83 82]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0
> ChanSel: As indicated in following octets
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 2 Type: NET]
> [28 07 33 38 38 37 37 32 32]
> Display (len= 7) [ XXX ]
> [6c 09 21 81 33 38 38 37 37 32 32]
> Calling Number (len=11) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> Presentation: Presentation permitted, user number passed network screening (1) 'XXX' ]
> [70 0b 80 30 36 33 33 38 38 37 37 32 34]
> Called Number (len=13) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '063ZZZZZZZ' ]
> [a1]
> Sending Complete (len= 1)
q931.c:4959 q931_setup: Call 32770 enters state 1 (Call Initiated). Hold state: Idle
-- Called 2/063ZZZZZZZ

< Protocol Discriminator: Q.931 (8) len=14
< TEI=0 Call Ref: len= 2 (reference 2/0x2) (Sent to originator)
< Message Type: SETUP ACKNOWLEDGE (13)
< [18 03 a9 83 82]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0
< ChanSel: As indicated in following octets
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 2 Type: NET]
< [1e 02 8a 81]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Network beyond the interworking point (10)
< Ext: 1 Progress Description: Call is not end-to-end ISDN; further call progress information may be available inband. (1) ]
Received message for call 0x293e9b0 on 0x2933bd0 TEI/SAPI 0/0, call->pri is 0x2933bd0 TEI/SAPI 0/0
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 30 (cs0, Progress Indicator)
q931.c:7276 post_handle_q931_message: Call 32770 enters state 2 (Overlap Sending). Hold state: Idle

< Protocol Discriminator: Q.931 (8) len=9
< TEI=0 Call Ref: len= 2 (reference 2/0x2) (Sent to originator)
< Message Type: DISCONNECT (69)
< [08 02 84 e5]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the remote user (4)
< Ext: 1 Cause: Message not compatible with call state (101), class = Protocol Error (e.g. unknown message) (6) ]
Received message for call 0x293e9b0 on 0x2933bd0 TEI/SAPI 0/0, call->pri is 0x2933bd0 TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
q931.c:7201 post_handle_q931_message: Call 32770 enters state 12 (Disconnect Indication). Hold state: Idle
-- Channel 0/2, span 1 got hangup request, cause 101
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request, hold-state Idle
q931.c:4721 q931_release: Call 32770 enters state 19 (Release Request). Hold state: Idle

> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 2/0x2) (Sent from originator)
> Message Type: RELEASE (77)
TEI=0 Transmitting N(S)=3, window is open V(A)=3 K=7

> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 2/0x2) (Sent from originator)
> Message Type: RELEASE (77)
> [08 02 81 e5]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Message not compatible with call state (101), class = Protocol Error (e.g. unknown message) (6) ]
-- Hungup 'DAHDI/2-1'
== Everyone is busy/congested at this time (1:0/0/1)
-- Auto fallthrough, channel 'SIP/7201-0000000d' status is 'CHANUNAVAIL'

< Protocol Discriminator: Q.931 (8) len=9
< TEI=0 Call Ref: len= 2 (reference 2/0x2) (Sent to originator)
< Message Type: RELEASE COMPLETE (90)
< [08 02 84 e5]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the remote user (4)
< Ext: 1 Cause: Message not compatible with call state (101), class = Protocol Error (e.g. unknown message) (6) ]
Received message for call 0x293e9b0 on 0x2933bd0 TEI/SAPI 0/0, call->pri is 0x2933bd0 TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
q931.c:7083 post_handle_q931_message: Call 32770 enters state 0 (Null). Hold state: Idle
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null, hold-state Idle
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null, hold-state Idle

2010-10-30 21:33

Avatara of switch
Откуда: Уфа
Сообщений: 5856

Re: DAHDI + E1

в чем проблема-то?
http://www.lynks.ru - Решения телефонии, мини-АТС, VoIP на основе Trixbox и Asterisk
2010-10-30 21:47

Сообщений: 127

Re: DAHDI + E1

Звонок не совершается, с чудным кодом отлупа 69

А поцчему
exten => _2X.,n,Dial(DAHDI/2/${EXTEN:1}) ??
а не DAHDI/3 или DAHDI/4 ?
Все так собрались через 2?
Надо
exten => _2X.,n,Dial(DAHDI/g1/${EXTEN:1})

signalling=pri_net = зто вряд ли.
2010-10-30 21:53

Сообщений: 15

Re: DAHDI + E1

Вот, изменил на "g1":

-- Executing [063ZZZZZZZ@out:1] Set("Console/dsp", "CALLERID(all)=XXX <3 XXX>") in new stack
-- Executing [063ZZZZZZZ@out:2] Dial("Console/dsp", "DAHDI/g1/063ZZZZZZZ") i n new stack
-- Making new call for cref 32769
-- Requested transfer capability: 0x00 - SPEECH

> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=49
> TEI=0 Call Ref: len= 2 (reference 1/0x1) (Sent from originator)
> Message Type: SETUP (5)
TEI=0 Transmitting N(S)=30, window is open V(A)=30 K=7

> Protocol Discriminator: Q.931 (8) len=49
> TEI=0 Call Ref: len= 2 (reference 1/0x1) (Sent from originator)
> Message Type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: S peech (0)
> Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16 )
> User information layer 1: A-Law (35)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0
> ChanSel: As indicated in following octets
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 1 Type: NET]
> [28 07 33 38 38 37 37 32 32]
> Display (len= 7) [ XXX ]
> [6c 09 21 81 33 38 38 37 37 32 32]
> Calling Number (len=11) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephon y Numbering Plan (E.164/E.163) (1)
> Presentation: Presentation permitted, user number pa ssed network screening (1) 'XXX' ]
> [70 0b 80 30 36 33 33 38 38 37 37 32 34]
> Called Number (len=13) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Nu mber Plan (0) '063ZZZZZZZ' ]
> [a1]
> Sending Complete (len= 1)
q931.c:4959 q931_setup: Call 32769 enters state 1 (Call Initiated). Hold state: Idle
-- Called g1/063ZZZZZZZ

< Protocol Discriminator: Q.931 (8) len=14
< TEI=0 Call Ref: len= 2 (reference 1/0x1) (Sent to originator)
< Message Type: SETUP ACKNOWLEDGE (13)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0
< ChanSel: As indicated in following octets
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 1 Type: NET]
< [1e 02 8a 81]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Network beyond the interworking point (10)
< Ext: 1 Progress Description: Call is not end-to -end ISDN; further call progress information may be available inband. (1) ]
Received message for call 0x1575670 on 0x7ff8b408d060 TEI/SAPI 0/0, call->pri is 0x7ff8b408d060 TEI/SAPI 0/0
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 30 (cs0, Progress Indicator)
q931.c:7276 post_handle_q931_message: Call 32769 enters state 2 (Overlap Sending ). Hold state: Idle
localhost*CLI>
localhost*CLI>
localhost*CLI>

< Protocol Discriminator: Q.931 (8) len=9
< TEI=0 Call Ref: len= 2 (reference 1/0x1) (Sent to originator)
< Message Type: DISCONNECT (69)
< [08 02 84 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the remote user (4)
< Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
Received message for call 0x1575670 on 0x7ff8b408d060 TEI/SAPI 0/0, call->pri is 0x7ff8b408d060 TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
q931.c:7201 post_handle_q931_message: Call 32769 enters state 12 (Disconnect Ind ication). Hold state: Idle
-- Channel 0/1, span 1 got hangup request, cause 16
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request, hold-state Idle
q931.c:4721 q931_release: Call 32769 enters state 19 (Release Request). Hold st ate: Idle

> DL-DATA request
> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 1/0x1) (Sent from originator)
> Message Type: RELEASE (77)
TEI=0 Transmitting N(S)=31, window is open V(A)=31 K=7

> Protocol Discriminator: Q.931 (8) len=9
> TEI=0 Call Ref: len= 2 (reference 1/0x1) (Sent from originator)
> Message Type: RELEASE (77)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
-- Hungup 'DAHDI/1-1'
-- No one is available to answer at this time (1:0/0/0)
-- Auto fallthrough, channel 'Console/dsp' status is 'NOANSWER'
<< Hangup on console >>

< Protocol Discriminator: Q.931 (8) len=9
< TEI=0 Call Ref: len= 2 (reference 1/0x1) (Sent to originator)
< Message Type: RELEASE COMPLETE (90)
< [08 02 84 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Public network serving the remote user (4)
< Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
Received message for call 0x1575670 on 0x7ff8b408d060 TEI/SAPI 0/0, call->pri is 0x7ff8b408d060 TEI/SAPI 0/0
-- Processing IE 8 (cs0, Cause)
q931.c:7083 post_handle_q931_message: Call 32769 enters state 0 (Null). Hold st ate: Idle
q931_hangup: other hangup
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null, hold-state Idle
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null, hold-state Idle
2010-10-30 22:38

Avatara of zzuz
Откуда: SPb
Сообщений: 1307

Re: DAHDI + E1

Дебаг еще надо и логи системы , плюс логи кернела.
http://линия24.рф - Астериск и прочие бубны!
2010-10-30 22:40

Сообщений: 15

Re: DAHDI + E1

подскажите, плз, как смотреть?
2010-10-30 22:51

Avatara of switch
Откуда: Уфа
Сообщений: 5856

Re: DAHDI + E1

signalling=pri_net
в этом уверены???
http://www.lynks.ru - Решения телефонии, мини-АТС, VoIP на основе Trixbox и Asterisk
2010-10-30 22:59

Сообщений: 15

Re: DAHDI + E1

с signalling=pri_net работают входящие. когда ставлю signalling=pri_cpe вылазяр эрроры.
2010-10-30 23:50

Сообщений: 127

Re: DAHDI + E1

Cause No. 69 - requested facility not implemented.
This cause indicates that the equipment sending this cause does not support the requested supplementary services.

Supplementary services and ISDN variants:

ISDN supplementary services are implemented differently under various variants. NMS ISDN supports a subset of supplementary services in the following variants:

* The Digital Signaling System No. One (DSS1) European Telecommunications Standard (ETS) produced by the Signaling Protocols and Switching (SPS) Technical Committee of the European Telecommunications Standards Institute (ETSI). In this document, this variant is referred to as the ETS 300 variant.
* The Q.SIG signaling system for corporate networking. Q.SIG is standardized by a consortium of standards-producing bodies, including ETSI, the European Computer Manufacturer's Association (ECMA), and the International Organization for Standardization (ISO). The production effort is coordinated by the IPNS Forum. In this document, this variant is referred to as the Q.SIG variant.
* The National ISDN Protocol specified by Telcordia (previously Bellcore). The National ISDN protocol was developed to be a common, vendor neutral protocol for North America that would enhance interoperability of equipment by replacing several proprietary vendor protocols. In this document, this variant is referred to as the National ISDN 2 (NI2) variant.
* The ISDN Primary Rate User-Network Interface Specification by Nortel Networks. In this document, this variant is referred to as the DMS variant.


Разберитесь с провайдером. Вы отправляете ему какие-то длинные номера - 063ZZZZZZZ, при этом вы не можете быть городом (pri_net).
В каком виде приходят CLID при входящих?
2010-10-31 00:48

Avatara of switch
Откуда: Уфа
Сообщений: 5856

Re: DAHDI + E1

недавно парень один тут свой сайт показал
не все есть, но хоть что-то
http://calltrace.narod.ru/flash_cause_codes.htm
http://www.lynks.ru - Решения телефонии, мини-АТС, VoIP на основе Trixbox и Asterisk
2010-10-31 07:15

1 23>
Добавить страницу в закладки:  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