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

Asterisk+LDK300

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

Asterisk+LDK300

Есть комп с Tribox 2.8.0.1. В нем карта Digium TE121B по Е1 подключена к АТС LDK-300.
Сталкнулся со следующей проблемой: При звонке с Asterisk на АТС звонок проходит, но связи нет (ничего не слышно).
Может кто-то сталкивался с подобным? В чем может быть проблема?

[root@sip]# dahdi_hardware
pci:0000:05:08.0 wcte12xp+ d161:8000 Wildcard TE121

[root@sip]# cat /proc/interrupts |grep wcte
185: 31087005 30044477 IO-APIC-level wcte12xp0

[/etc/dahdi/system.conf]
span=1,1,0,ccs,hdb3,crc4 # Пробовал и span=1,0,0,ccs,hdb3,crc4 и без crc4
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31

loadzone = ru
defaultzone = ru

[/etc/asterisk/dahdi-channels.conf]
language=ru
context=from-pstn
switchtype=euroisdn # пробовал и qsig
nationalprefix = 8
overlapdial=no # пробовал и yes
signalling=pri_cpe # пробовал и pri_cpe
rxwink=300
usecallerid=yes

cidsignalling=dtmf
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
transfer=yes
canpark=no
cancallforward=yes
callreturn=no
echocancel=yes
echocancelwhenbridged=no
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
busydetect=yes
busycount=8
channel => 1-15,17-31
2009-11-06 08:22

Сообщений: 6521

Re: Asterisk+LDK300

При звонке с Asterisk на АТС звонок проходит, но связи нет (ничего не слышно).
C Астериск - что значит? С экстеншн Астериска? А с одного экст. на другой = слышно? Тогда
CLI> pri debug span 1
2009-11-06 14:58

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

Re: Asterisk+LDK300

cat /etc/asterisk/chan_dadhi.conf

ибо dahdi-channels.conf не читается атсериском , если не будет #include dahdi-channels.conf
http://линия24.рф - Астериск и прочие бубны!
2009-11-06 16:04

Сообщений: 6521

Re: Asterisk+LDK300

Ну, лучше тогда не то что там написано cat /etc/asterisk/chan_dadhi.conf
а как это видит Астериск:
CLI>dahdi show channels, но скорее всего то видит, сигнализация то есть, раз звонок проходит!
2009-11-06 16:07

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

Re: Asterisk+LDK300

Гудки в трубке еще не признак сигнализации ,еще не понятно через что звонит сам астериск... тем более разговор про поток..
а так действительно :
-смотрим вывод dahdi show channels
-смотрим в консоль при звонке
http://линия24.рф - Астериск и прочие бубны!
2009-11-06 16:52

Сообщений: 9

Re: Asterisk+LDK300

Звоню с SIP телефона. С SIP на SIP звонки проходят нормально.

sip*CLI> dahdi show channels
Chan Extension Context Language MOH Interpret Blocked State
pseudo from-pstn ru default In Service
1 from-pstn ru default In Service
2 from-pstn ru default In Service
...................................................
31 from-pstn ru default In Service

При звонке в логе:
[Nov 6 16:04:40] VERBOSE[17218] logger.c: == Using SIP RTP TOS bits 184
[Nov 6 16:04:40] VERBOSE[17218] logger.c: == Using SIP RTP CoS mark 5
[Nov 6 16:04:40] VERBOSE[17218] logger.c: == Using SIP VRTP TOS bits 136
[Nov 6 16:04:40] VERBOSE[17218] logger.c: == Using SIP VRTP CoS mark 6
[Nov 6 16:04:40] WARNING[17207] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [4321@from-internal:1] Macro("SIP/5800-09513400", "user-callerid,SKIPTTL,") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-user-callerid:1] Set("SIP/5800-09513400", "AMPUSER=5800") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/5800-09513400", "0?report") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/5800-09513400", "1?Set(REALCALLERIDNUM=5800)") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-user-callerid:4] Set("SIP/5800-09513400", "AMPUSER=5800") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-user-callerid:5] Set("SIP/5800-09513400", "AMPUSERCIDNAME=5800") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/5800-09513400", "0?report") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-user-callerid:7] Set("SIP/5800-09513400", "AMPUSERCID=5800") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-user-callerid:8] Set("SIP/5800-09513400", "CALLERID(all)="5800" <5800>") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-user-callerid:9] Set("SIP/5800-09513400", "REALCALLERIDNUM=5800") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-user-callerid:10] ExecIf("SIP/5800-09513400", "1?Set(CHANNEL(language)=ru)") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-user-callerid:11] GotoIf("SIP/5800-09513400", "1?continue") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Goto (macro-user-callerid,s,20)
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-user-callerid:20] NoOp("SIP/5800-09513400", "Using CallerID "5800" <5800>") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [4321@from-internal:2] Set("SIP/5800-09513400", "_NODEST=") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [4321@from-internal:3] Macro("SIP/5800-09513400", "record-enable,5800,OUT,") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/5800-09513400", "1?check") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Goto (macro-record-enable,s,4)
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-record-enable:4] AGI("SIP/5800-09513400", "recordingcheck,20091106-160440,1257512680.0") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
[Nov 6 16:04:40] VERBOSE[17330] logger.c: recordingcheck,20091106-160440,1257512680.0: Outbound recording not enabled
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- <SIP/5800-09513400>AGI Script recordingcheck completed, returning 0
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-record-enable:5] MacroExit("SIP/5800-09513400", "") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [4321@from-internal:4] Macro("SIP/5800-09513400", "dialout-trunk,3,4321,,") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:1] Set("SIP/5800-09513400", "DIAL_TRUNK=3") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/5800-09513400", "0?sub-pincheck,s,1") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/5800-09513400", "0?disabletrunk,1") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:4] Set("SIP/5800-09513400", "DIAL_NUMBER=4321") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:5] Set("SIP/5800-09513400", "DIAL_TRUNK_OPTIONS=tr") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:6] Set("SIP/5800-09513400", "OUTBOUND_GROUP=OUT_3") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/5800-09513400", "1?nomax") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Goto (macro-dialout-trunk,s,9)
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/5800-09513400", "0?skipoutcid") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:10] Set("SIP/5800-09513400", "DIAL_TRUNK_OPTIONS=") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:11] Macro("SIP/5800-09513400", "outbound-callerid,3") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/5800-09513400", "0?Set(CALLERPRES()=)") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/5800-09513400", "0?Set(REALCALLERIDNUM=5800)") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/5800-09513400", "1?normcid") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Goto (macro-outbound-callerid,s,6)
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-outbound-callerid:6] Set("SIP/5800-09513400", "USEROUTCID=") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-outbound-callerid:7] Set("SIP/5800-09513400", "EMERGENCYCID=") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-outbound-callerid:8] Set("SIP/5800-09513400", "TRUNKOUTCID=5810") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/5800-09513400", "1?trunkcid") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Goto (macro-outbound-callerid,s,12)
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/5800-09513400", "1?Set(CALLERID(all)=5810)") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/5800-09513400", "0?Set(CALLERID(all)=)") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/5800-09513400", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/5800-09513400", "1?AGI(fixlocalprefix)") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > fixlocalprefix: Using pattern XXXX
[Nov 6 16:04:40] VERBOSE[17330] logger.c: == fixlocalprefix: Dialpattern XXXX matched. 4321 -> 4321
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- <SIP/5800-09513400>AGI Script fixlocalprefix completed, returning 0
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:13] Set("SIP/5800-09513400", "OUTNUM=4321") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:14] Set("SIP/5800-09513400", "custom=DAHDI/12") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/5800-09513400", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:16] Macro("SIP/5800-09513400", "dialout-trunk-predial-hook,") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/5800-09513400", "") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/5800-09513400", "0?bypass,1") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/5800-09513400", "0?customtrunk") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Executing [s@macro-dialout-trunk:19] Dial("SIP/5800-09513400", "DAHDI/12/4321,300,") in new stack
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Making new call for cr 32770
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Requested transfer capability: 0x00 - SPEECH
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > Protocol Discriminator: Q.931 (8) len=31
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > Call Ref: len= 2 (reference 2/0x2) (Originator)
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > Message type: SETUP (5)
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > [04 03 80 90 a3]
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > User information layer 1: A-Law (35)
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > [18 03 a9 83 8c]
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > ChanSel: As indicated in following octets
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > Ext: 1 Coding: 0 Number Specified Channel Type: 3
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > Ext: 1 Channel: 12 ]
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > [6c 06 21 80 35 38 31 30]
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > Calling Number (len= 8) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > Presentation: Presentation permitted, user number not screened (0) '5810' ]
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > [70 05 a1 34 33 32 31]
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > Called Number (len= 7) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '4321' ]
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > [a1]
[Nov 6 16:04:40] VERBOSE[17330] logger.c: > Sending Complete (len= 1)
[Nov 6 16:04:40] VERBOSE[17330] logger.c: q931.c:3134 q931_setup: call 32770 on channel 12 enters state 1 (Call Initiated)
[Nov 6 16:04:40] VERBOSE[17330] logger.c: -- Called 12/4321
[Nov 6 16:04:43] VERBOSE[17333] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Nov 6 16:04:45] VERBOSE[17333] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Nov 6 16:04:51] VERBOSE[17341] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Nov 6 16:04:52] VERBOSE[17341] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Nov 6 16:04:58] VERBOSE[17349] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Nov 6 16:04:59] VERBOSE[17349] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Nov 6 16:05:01] VERBOSE[17330] logger.c: NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Initiated, peerstate Overlap sending
[Nov 6 16:05:01] VERBOSE[17330] logger.c: q931.c:3015 q931_disconnect: call 32770 on channel 12 enters state 11 (Disconnect Request)
[Nov 6 16:05:01] VERBOSE[17330] logger.c: > Protocol Discriminator: Q.931 (8) len=9
[Nov 6 16:05:01] VERBOSE[17330] logger.c: > Call Ref: len= 2 (reference 2/0x2) (Originator)
[Nov 6 16:05:01] VERBOSE[17330] logger.c: > Message type: DISCONNECT (69)
[Nov 6 16:05:01] VERBOSE[17330] logger.c: > [08 02 81 90]
[Nov 6 16:05:01] VERBOSE[17330] logger.c: > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
[Nov 6 16:05:01] VERBOSE[17330] logger.c: > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
[Nov 6 16:05:01] VERBOSE[17330] logger.c: -- Hungup 'DAHDI/12-1'
[Nov 6 16:05:01] VERBOSE[17330] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/5800-09513400' in macro 'dialout-trunk'
[Nov 6 16:05:01] VERBOSE[17330] logger.c: == Spawn extension (from-internal, 4321, 4) exited non-zero on 'SIP/5800-09513400'
[Nov 6 16:05:01] VERBOSE[17330] logger.c: -- Executing [h@from-internal:1] Macro("SIP/5800-09513400", "hangupcall") in new stack
[Nov 6 16:05:01] VERBOSE[17330] logger.c: -- Executing [s@macro-hangupcall:1] ResetCDR("SIP/5800-09513400", "vw") in new stack
[Nov 6 16:05:01] WARNING[17207] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[Nov 6 16:05:01] VERBOSE[17330] logger.c: -- Executing [s@macro-hangupcall:2] NoCDR("SIP/5800-09513400", "") in new stack
[Nov 6 16:05:01] VERBOSE[17330] logger.c: -- Executing [s@macro-hangupcall:3] GotoIf("SIP/5800-09513400", "1?skiprg") in new stack
[Nov 6 16:05:01] VERBOSE[17330] logger.c: -- Goto (macro-hangupcall,s,6)
[Nov 6 16:05:01] VERBOSE[17330] logger.c: -- Executing [s@macro-hangupcall:6] GotoIf("SIP/5800-09513400", "1?skipblkvm") in new stack
[Nov 6 16:05:01] VERBOSE[17330] logger.c: -- Goto (macro-hangupcall,s,9)
[Nov 6 16:05:01] VERBOSE[17330] logger.c: -- Executing [s@macro-hangupcall:9] GotoIf("SIP/5800-09513400", "1?theend") in new stack
[Nov 6 16:05:01] VERBOSE[17330] logger.c: -- Goto (macro-hangupcall,s,11)
[Nov 6 16:05:01] VERBOSE[17330] logger.c: -- Executing [s@macro-hangupcall:11] Hangup("SIP/5800-09513400", "") in new stack
[Nov 6 16:05:01] VERBOSE[17330] logger.c: == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/5800-09513400' in macro 'hangupcall'
[Nov 6 16:05:01] VERBOSE[17330] logger.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/5800-09513400'
[Nov 6 16:05:02] VERBOSE[17357] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Nov 6 16:05:02] VERBOSE[17357] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Nov 6 16:05:05] VERBOSE[17360] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Nov 6 16:05:07] VERBOSE[17360] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Nov 6 16:05:13] VERBOSE[17368] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Nov 6 16:05:14] VERBOSE[17368] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Nov 6 16:05:20] VERBOSE[17376] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Nov 6 16:05:21] VERBOSE[17376] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Nov 6 16:05:27] VERBOSE[17384] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Nov 6 16:05:29] VERBOSE[17384] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Nov 6 16:05:31] VERBOSE[17216] logger.c: Timed out looking for release
[Nov 6 16:05:31] VERBOSE[17216] logger.c: q931.c:2967 q931_release: call 32770 on channel 12 enters state 19 (Release Request)
[Nov 6 16:05:31] VERBOSE[17216] logger.c: > Protocol Discriminator: Q.931 (8) len=9
[Nov 6 16:05:31] VERBOSE[17216] logger.c: > Call Ref: len= 2 (reference 2/0x2) (Originator)
[Nov 6 16:05:31] VERBOSE[17216] logger.c: > Message type: RELEASE (77)
[Nov 6 16:05:31] VERBOSE[17216] logger.c: > [08 02 81 90]
[Nov 6 16:05:31] VERBOSE[17216] logger.c: > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
[Nov 6 16:05:31] VERBOSE[17216] logger.c: > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
[Nov 6 16:05:32] VERBOSE[17392] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Nov 6 16:05:33] VERBOSE[17392] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Nov 6 16:05:35] VERBOSE[17395] logger.c: == Manager 'admin' logged on from 127.0.0.1
[Nov 6 16:05:35] VERBOSE[17216] logger.c: Timed out looking for release complete
[Nov 6 16:05:35] VERBOSE[17216] logger.c: > Protocol Discriminator: Q.931 (8) len=9
[Nov 6 16:05:35] VERBOSE[17216] logger.c: > Call Ref: len= 2 (reference 2/0x2) (Originator)
[Nov 6 16:05:35] VERBOSE[17216] logger.c: > Message type: RELEASE (77)
[Nov 6 16:05:35] VERBOSE[17216] logger.c: > [08 02 81 90]
[Nov 6 16:05:35] VERBOSE[17216] logger.c: > Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
[Nov 6 16:05:35] VERBOSE[17216] logger.c: > Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]
[Nov 6 16:05:36] VERBOSE[17395] logger.c: == Manager 'admin' logged off from 127.0.0.1
[Nov 6 16:05:39] VERBOSE[17216] logger.c: Final time-out looking for release complete
[Nov 6 16:05:39] VERBOSE[17216] logger.c: NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
[Nov 6 16:05:39] VERBOSE[17216] logger.c: NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
2009-11-06 16:58

Сообщений: 6521

Re: Asterisk+LDK300

Не надо много всего постить тут - это мусор в глаза!
Вы логи для себя делаете.
Но это не то что надо изучать.
Надо вербозность убрать
set verbose 0
а дебаг повысить
set debug 5
для
CLI> pri debug span 1

Что за странное целеуказание - DAHDI/12 в Dial("SIP/5800-09513400", "DAHDI/12/4321,300,") ??
На поток Е1 звонок надо кидать в группу DAHDI/g1 а не в конкретный канал. У вас же описана
group=1
Звонок нормально отбился - Cause: Normal Clearing (16)

2009-11-06 17:07

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

Re: Asterisk+LDK300

Только не надо в следующий раз опять же с лога еще и дебаг постить.
http://линия24.рф - Астериск и прочие бубны!
2009-11-06 17:48

Сообщений: 9

Re: Asterisk+LDK300

Я пробовал и группу использовать. Только если указываю группу на стационарный телефон звонок не проходит, если указываю канал - звонок проходит (голоса нет).
Я думаю, что нужно что-то изменить в настройках на АТС. А вот что не знаю :(
2009-11-11 08:25

Сообщений: 6521

Re: Asterisk+LDK300

http://LDK300-support.ru ?
2009-11-11 10:31

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