Вход | Регистрация
Вы здесь: Главная / Форум / Главный форум по Asterisk / Конфигурация и настройка / Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)

Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)

1 2>
Сообщений: 8

Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)

всем привет, неделю уже как рою инет но ничего кроме такихже вопросов не нашел
У меня соединение с городской АТС по потоку Е1
Проблема следующая входящие звонки из города проходят нормально, а исходящие непроходят и выдает 2 ошибки.
на АТС говорят что вместо поля Progress мной передается поле Display и изза этого АТС-ка не пускает звонок
система FreeBSD 6.2-PRERELEASE FreeBSD
asterisk-1.2.13
libpri-1.2.3
zaptel-1.0_1

ниже привожу логи входящего и исходящего звонков

входящий звонок, все соединяется замечательно


< Protocol Discriminator: Q.931 (8) len=43
< Call Ref: len= 2 (reference 490/0x1EA) (Originator)
< Message type: SETUP (5)
< [a1]
< Sending Complete (len= 1)
< [04 03 90 90 a3]
< Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: 3.1kHz audio (16)
< Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
< Ext: 1 User information layer 1: A-Law (35)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 1 ]
< [1e 02 82 83]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ]
< [6c 0d 00 83 38 34 39 36 34 34 32 38 30 35 34]
< Calling Number (len=15) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0)
< Presentation: Presentation allowed of network provided number (3) '84964428054' ]
< [70 06 81 32 30 34 36 33]
< Called Number (len= 8) [ Ext: 1 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '20463' ]
-- Making new call for cr 490
-- Processing Q.931 Call Setup
-- Processing IE 161 (cs0, Sending Complete)
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
> Protocol Discriminator: Q.931 (8) len=10
> Call Ref: len= 2 (reference 490/0x1EA) (Terminator)
> Message type: CALL PROCEEDING (2)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 1 ]
-- Accepting call from '84964428054' to '20463' on channel 0/1, span 1
-- Executing Dial("Zap/1-1", "SIP/000@ats|25|Ttr") in new stack
-- Called 000@ats
> Protocol Discriminator: Q.931 (8) len=9
> Call Ref: len= 2 (reference 490/0x1EA) (Terminator)
> Message type: ALERTING (1)
> [1e 02 81 88]
> Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
> Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
-- SIP/ats-086d9000 is making progress passing it to Zap/1-1
-- SIP/ats-086d9000 is ringing
-- SIP/ats-086d9000 is making progress passing it to Zap/1-1
-- SIP/ats-086d9000 answered Zap/1-1
> Protocol Discriminator: Q.931 (8) len=14
> Call Ref: len= 2 (reference 490/0x1EA) (Terminator)
> Message type: CONNECT (7)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 1 ]
> [1e 02 81 82]
> Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
> Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ]
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 490/0x1EA) (Originator)
< Message type: CONNECT ACKNOWLEDGE (15)
< Protocol Discriminator: Q.931 (8) len=17
< Call Ref: len= 2 (reference 490/0x1EA) (Originator)
< Message type: DISCONNECT (69)
< [08 02 80 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0)
< Ext: 1 Cause: Unknown (16), class = Normal Event (1) ]
< [1e 02 82 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
< [1e 02 82 83]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ]
-- Processing IE 8 (cs0, Cause)
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 30 (cs0, Progress Indicator)
-- Channel 0/1, span 1 got hangup request
== Spawn extension (inbound, 20463, 1) exited non-zero on 'Zap/1-1'
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request
> Protocol Discriminator: Q.931 (8) len=9
> Call Ref: len= 2 (reference 490/0x1EA) (Terminator)
> Message type: RELEASE (77)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Unknown (16), class = Normal Event (1) ]
-- Hungup 'Zap/1-1'
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 490/0x1EA) (Originator)
< Message type: RELEASE COMPLETE (90)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
2006-12-18 22:22

Сообщений: 8

: Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)

Исходящий звонок - ошибка



-- Executing Dial("SIP/ats-08662000", "Zap/g1/20301|60|Tr") in new stack
-- Making new call for cr 32772
-- Requested transfer capability: 0x00 - SPEECH
> Protocol Discriminator: Q.931 (8) len=38
> Call Ref: len= 2 (reference 4/0x4) (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)
> Ext: 1 User information layer 1: A-Law (35)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 1 ]
> [28 03 61 74 73]
> Display (len= 3) A─)[ ats ]
> [6c 07 21 81 32 30 34 36 33]
> Calling Number (len= 9) [ 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) '20463' ]
> [70 06 a1 32 30 33 30 31]
> Called Number (len= 8) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '20301' ]
> [a1]
> Sending Complete (len= 1)
-- Called g1/20301
< Protocol Discriminator: Q.931 (8) len=14
< Call Ref: len= 2 (reference 4/0x4) (Terminator)
< Message type: STATUS (125)
< [08 04 82 e3 98 28]
< Cause (len= 6) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Cause: Unknown (99), class = Protocol Error (6) ]
< Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)
< Cause data 2: 28 (40, Display IE)
< [14 01 01]
< Call State (len= 3) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8) len=10
< Call Ref: len= 2 (reference 4/0x4) (Terminator)
< Message type: CALL PROCEEDING (2)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 1 ]
-- Processing IE 24 (cs0, Channel Identification)
-- Zap/1-1 is proceeding passing it to SIP/ats-08662000
< Protocol Discriminator: Q.931 (8) len=13
< Call Ref: len= 2 (reference 4/0x4) (Terminator)
< Message type: DISCONNECT (69)
< [08 02 82 83]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Cause: Unknown (3), class = Normal Event (0) ]
< [1e 02 82 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
-- Processing IE 8 (cs0, Cause)
-- Processing IE 30 (cs0, Progress Indicator)
-- Channel 0/1, span 1 got hangup request
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request
> Protocol Discriminator: Q.931 (8) len=9
> Call Ref: len= 2 (reference 4/0x4) (Originator)
> Message type: RELEASE (77)
> [08 02 81 83]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Unknown (3), class = Normal Event (0) ]
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time (1:0/0/1)
== Auto fallthrough, channel 'SIP/ats-08662000' status is 'CHANUNAVAIL'
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 4/0x4) (Terminator)
< Message type: RELEASE COMPLETE (90)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null


Вот на это ругается городская АТС


> Sending Complete (len= 1)
-- Called g1/20301
< Protocol Discriminator: Q.931 (8) len=14
< Call Ref: len= 2 (reference 4/0x4) (Terminator)
< Message type: STATUS (125)
< [08 04 82 e3 98 28]
< Cause (len= 6) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Cause: Unknown (99), class = Protocol Error (6) ]
< Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)
< Cause data 2: 28 (40, Display IE)


Как решить эту проблему?
В инете искал но единственное что нашел, это ссылку на пофиксенный Q931.c, но по описанию они идут как патчи и более новые версии содержат в себе все исправления. т.к. у меня стоит последняя более свежая чем тот фикс значит она включает его в себя, продавец и тех. служба где приобрели карту ничего сказать немогут.
Прошу помочь мне найти решение... а то не видать мне з/п ближайшие полгода...
2006-12-18 22:24

Сообщений: 8

Re: Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)

что-то случилось с форматированием в первой части поста, повторяю первую часть

всем привет, неделю уже как рою инет но ничего кроме такихже вопросов не нашел
У меня соединение с городской АТС по потоку Е1
Проблема следующая входящие звонки из города проходят нормально, а исходящие непроходят и выдает 2 ошибки.
на АТС говорят что вместо поля Progress мной передается поле Display и изза этого АТС-ка не пускает звонок

система FreeBSD 6.2-PRERELEASE FreeBSD
asterisk-1.2.13
libpri-1.2.3
zaptel-1.0_1

ниже привожу логи входящего а исходящего с ошибкой пост выше


< Protocol Discriminator: Q.931 (8) len=43
< Call Ref: len= 2 (reference 490/0x1EA) (Originator)
< Message type: SETUP (5)
< [a1]
< Sending Complete (len= 1)
< [04 03 90 90 a3]
< Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: 3.1kHz audio (16)
< Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
< Ext: 1 User information layer 1: A-Law (35)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
< ChanSel: Reserved
< Ext: 1 Coding: 0 Number Specified Channel Type: 3
< Ext: 1 Channel: 1 ]
< [1e 02 82 83]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ]
< [6c 0d 00 83 38 34 39 36 34 34 32 38 30 35 34]
< Calling Number (len=15) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0)
< Presentation: Presentation allowed of network provided number (3) '84964428054' ]
< [70 06 81 32 30 34 36 33]
< Called Number (len= 8) [ Ext: 1 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '20463' ]
-- Making new call for cr 490
-- Processing Q.931 Call Setup
-- Processing IE 161 (cs0, Sending Complete)
-- Processing IE 4 (cs0, Bearer Capability)
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 108 (cs0, Calling Party Number)
-- Processing IE 112 (cs0, Called Party Number)
> Protocol Discriminator: Q.931 (8) len=10
> Call Ref: len= 2 (reference 490/0x1EA) (Terminator)
> Message type: CALL PROCEEDING (2)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 1 ]
-- Accepting call from '84964428054' to '20463' on channel 0/1, span 1
-- Executing Dial("Zap/1-1", "SIP/000@ats|25|Ttr") in new stack
-- Called 000@ats
> Protocol Discriminator: Q.931 (8) len=9
> Call Ref: len= 2 (reference 490/0x1EA) (Terminator)
> Message type: ALERTING (1)
> [1e 02 81 88]
> Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
> Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
-- SIP/ats-086d9000 is making progress passing it to Zap/1-1
-- SIP/ats-086d9000 is ringing
-- SIP/ats-086d9000 is making progress passing it to Zap/1-1
-- SIP/ats-086d9000 answered Zap/1-1
> Protocol Discriminator: Q.931 (8) len=14
> Call Ref: len= 2 (reference 490/0x1EA) (Terminator)
> Message type: CONNECT (7)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Exclusive Dchan: 0
> ChanSel: Reserved
> Ext: 1 Coding: 0 Number Specified Channel Type: 3
> Ext: 1 Channel: 1 ]
> [1e 02 81 82]
> Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
> Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ]
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 490/0x1EA) (Originator)
< Message type: CONNECT ACKNOWLEDGE (15)
< Protocol Discriminator: Q.931 (8) len=17
< Call Ref: len= 2 (reference 490/0x1EA) (Originator)
< Message type: DISCONNECT (69)
< [08 02 80 90]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0)
< Ext: 1 Cause: Unknown (16), class = Normal Event (1) ]
< [1e 02 82 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
< [1e 02 82 83]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Calling equipment is non-ISDN. (3) ]
-- Processing IE 8 (cs0, Cause)
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 30 (cs0, Progress Indicator)
-- Channel 0/1, span 1 got hangup request
== Spawn extension (inbound, 20463, 1) exited non-zero on 'Zap/1-1'
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request
> Protocol Discriminator: Q.931 (8) len=9
> Call Ref: len= 2 (reference 490/0x1EA) (Terminator)
> Message type: RELEASE (77)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Unknown (16), class = Normal Event (1) ]
-- Hungup 'Zap/1-1'
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 490/0x1EA) (Originator)
< Message type: RELEASE COMPLETE (90)
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
2006-12-18 22:28

Сообщений: 120

Re: Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)

конфиги zaptel.conf , extensions.conf покаж...
у тебя при входязем звонке номер звонящего и куда звонят нормально определяестя?
у меня была подобная проблема с великолепной АТС "Протон" , всем ее рекомендую. паяльник и молоток в комплекте...
2006-12-19 09:22

Сообщений: 120

Re: Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)

насколько помню там надо было в zaptel.conf сказать
priexclusive = yes

2006-12-19 10:11

Сообщений: 8

Re: Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)

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


zaptel.conf

span=1,0,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31
loadzone=nl
defaultzone=nl

extensions.conf

вот по этому правилу ломится в город
exten => _XXXXX,1,Dial(Zap/g1/${EXTEN},60,Tr)
2006-12-19 10:23

Сообщений: 8

Re: Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)

поставил в zaptel.conf
priexclusive = yes

не помогло - выдает ту же ошибку
2006-12-19 10:31

Сообщений: 120

Re: Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)

в zapata.conf эту строчку надо. zaptel.conf не трогай...(перепутал их немного)
привожу свой конфиг: (zapata.conf)

[trunkgroups]
[channels]
context=office
switchtype=national
rxgain=0.0
txgain=0.0
pridialplan=National
prilocaldialplan=National
signalling=pri_cpe
echocancel=yes
echocancelwhenbridged=yes
resetinterval = 3600
overlapdial=yes
priindication = outofband
priexclusive = yes
busydetect=yes
busycount=4
group = 1
channel => 1-15
channel => 17-30
context=aps-out


еше попробуй опцию usecallingpres=yes поставить
2006-12-19 14:29

Откуда: Санкт-Петербург
Сообщений: 541

Re: Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)

Предположение: есть станции, которые корежит от информации при Display IE
например если ${CALLERID(name)}=вася

попробуй так
exten => _XXXXX,1,NoOP(${CALLERID(name)})
exten => _XXXXX,1,NoOP(${CALLERID(number)})
exten => _XXXXX,1,NoOP(${CALLERID(all)}))
exten => _XXXXX,n,Dial...
заменить CALLERID(name) на number или наоборот - через Set
2006-12-19 17:30

Сообщений: 8

Re: Cause data 1: 98 (152, Non-Locking Shift To Codeset 0 IE)

Был сегодня на АТС
мне просто сказали что поля Display просто не должно быть...

отсюда вопрос - как его убрать вообще из сообщения посылаемого на АТС?
2006-12-19 18:19

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