Не пойму почему не работает :(
лампочки зеленные на оборудовании, DAHDI все показывает, а выхода и входа нет...
Астериск - 1.8.7.1
FreePBX - 2.9.0.7
Digium TE122PF
Log при звонке на номер 989111111111:
-- Executing [989111111111@from-internal:1] Macro("SIP/123-00000000", "user-callerid,LIMIT,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/123-00000000", "AMPUSER=123") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/123-00000000", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/123-00000000", "1?Set(REALCALLERIDNUM=123)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/123-00000000", "AMPUSER=123") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/123-00000000", "AMPUSERCIDNAME=IT ") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/123-00000000", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/123-00000000", "AMPUSERCID=123") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/123-00000000", "CALLERID(all)="IT " <123>") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("SIP/123-00000000", "0?limit") in new stack
-- Executing [s@macro-user-callerid:10] ExecIf("SIP/123-00000000", "1?Set(GROUP(concurrency_limit)=123)") in new stack
-- Executing [s@macro-user-callerid:11] ExecIf("SIP/123-00000000", "1?Set(CHANNEL(language)=ru)") in new stack
-- Executing [s@macro-user-callerid:12] GosubIf("SIP/123-00000000", "7?sub-ccss,s,1(from-internal,989111111111)") in new stack
-- Executing [s@sub-ccss:1] ExecIf("SIP/123-00000000", "0?Return()") in new stack
-- Executing [s@sub-ccss:2] Set("SIP/123-00000000", "CCSS_SETUP=TRUE") in new stack
-- Executing [s@sub-ccss:3] GosubIf("SIP/123-00000000", "0?monitor_config,1(from-internal,989111111111):monitor_default,1(from-internal,989111111111)") in new stack
-- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/123-00000000", "0?is_exten") in new stack
-- Executing [monitor_default@sub-ccss:2] StackPop("SIP/123-00000000", "") in new stack
-- Executing [monitor_default@sub-ccss:3] Return("SIP/123-00000000", "FALSE") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("SIP/123-00000000", "1?continue") in new stack
-- Goto (macro-user-callerid,s,26)
-- Executing [s@macro-user-callerid:26] Set("SIP/123-00000000", "CALLERID(number)=123") in new stack
-- Executing [s@macro-user-callerid:27] Set("SIP/123-00000000", "CALLERID(name)=IT ") in new stack
-- Executing [s@macro-user-callerid:28] Set("SIP/123-00000000", "CHANNEL(language)=ru") in new stack
-- Executing [989111111111@from-internal:2] Set("SIP/123-00000000", "MOHCLASS=default") in new stack
-- Executing [989111111111@from-internal:3] Set("SIP/123-00000000", "_NODEST=") in new stack
-- Executing [989111111111@from-internal:4] Macro("SIP/123-00000000", "record-enable,123,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/123-00000000", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/123-00000000", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/123-00000000", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,14)
-- Executing [s@macro-record-enable:14] GotoIf("SIP/123-00000000", "0?IN") in new stack
-- Executing [s@macro-record-enable:15] ExecIf("SIP/123-00000000", "1?MacroExit()") in new stack
-- Executing [989111111111@from-internal:5] Macro("SIP/123-00000000", "dialout-trunk,1,89111111111,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/123-00000000", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/123-00000000", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/123-00000000", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/123-00000000", "DIAL_NUMBER=89111111111") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/123-00000000", "DIAL_TRUNK_OPTIONS=rt") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/123-00000000", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/123-00000000", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/123-00000000", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/123-00000000", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/123-00000000", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/123-00000000", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/123-00000000", "0?Set(REALCALLERIDNUM=123)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/123-00000000", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/123-00000000", "USEROUTCID=123") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/123-00000000", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/123-00000000", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/123-00000000", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/123-00000000", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/123-00000000", "1?Set(CALLERID(all)=123)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/123-00000000", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/123-00000000", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/123-00000000", "0?sub-flp-1,s,1") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/123-00000000", "OUTNUM=89111111111") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/123-00000000", "custom=DAHDI/g0") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/123-00000000", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("SIP/123-00000000", "0?Set(DIAL_TRUNK_OPTIONS=M(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/123-00000000", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/123-00000000", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/123-00000000", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/123-00000000", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:20] Dial("SIP/123-00000000", "DAHDI/g0/89111111111,300,") in new stack
-- Couldn't call DAHDI/g0/89111111111
-- Hungup 'DAHDI/1-1'
== Everyone is busy/congested at this time (0:0/0/0)
-- Executing [s@macro-dialout-trunk:21] NoOp("SIP/123-00000000", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 0") in new stack
-- Executing [s@macro-dialout-trunk:22] Goto("SIP/123-00000000", "s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/123-00000000", "RC=0") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/123-00000000", "0,1") in new stack
-- Goto (macro-dialout-trunk,0,1)
-- Executing [0@macro-dialout-trunk:1] Goto("SIP/123-00000000", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/123-00000000", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,continue,3)
-- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/123-00000000", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 0 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:4] Set("SIP/123-00000000", "CALLERID(number)=123") in new stack
-- Executing [989111111111@from-internal:6] Macro("SIP/123-00000000", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/123-00000000", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/123-00000000", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/123-00000000", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/123-00000000", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/123-00000000> Playing 'all-circuits-busy-now.slin' (language 'ru')
== Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/123-00000000' in macro 'outisbusy'
== Spawn extension (from-internal, 989111111111, 6) exited non-zero on 'SIP/123-00000000'
-- Executing [h@from-internal:1] Hangup("SIP/123-00000000", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/123-00000000'
============= dahdi-channels.conf ==============
; Span 1: WCT1/0 "Wildcard TE122 Card 0" (MASTER) HDB3/CCS/CRC4 ClockSource
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
;context = default
;group = 63
============== chan-dahdi.conf =============
[trunkgroups]
[channels]
language=ru
context=from-pstn
signalling=pri_cpe
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
busydetect=yes
busycount=10
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;pulsedial=yes
#include dahdi-channels.conf
group=0
;Include AMP configs
#include chandahdiadditional.conf
========== # dahdi_cfg -f -t -vv ===============
DAHDI Tools Version - 2.5.0.2
DAHDI Version: 2.5.0.2
Echo Canceller(s): HWEC
Configuration
======================
SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 02)
Channel 03: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 03)
Channel 04: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 04)
Channel 05: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 05)
Channel 06: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 06)
Channel 07: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 07)
Channel 08: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 08)
Channel 09: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 09)
Channel 10: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 10)
Channel 11: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 11)
Channel 12: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 12)
Channel 13: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 13)
Channel 14: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 14)
Channel 15: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 15)
Channel 16: D-channel (Default) (Echo Canceler: none) (Slaves: 16)
Channel 17: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 17)
Channel 18: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 18)
Channel 19: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 19)
Channel 20: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 20)
Channel 21: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 21)
Channel 22: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 22)
Channel 23: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 23)
Channel 24: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 24)
Channel 25: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 25)
Channel 26: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 26)
Channel 27: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 27)
Channel 28: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 28)
Channel 29: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 29)
Channel 30: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 30)
Channel 31: Clear channel (Default) (Echo Canceler: mg2) (Slaves: 31)
31 channels to configure.
====== *CLI> dahdi show channels ==========
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 from-pstn ru default In Service
2 from-pstn ru default In Service
3 from-pstn ru default In Service
4 from-pstn ru default In Service
5 from-pstn ru default In Service
6 from-pstn ru default In Service
7 from-pstn ru default In Service
8 from-pstn ru default In Service
9 from-pstn ru default In Service
10 from-pstn ru default In Service
11 from-pstn ru default In Service
12 from-pstn ru default In Service
13 from-pstn ru default In Service
14 from-pstn ru default In Service
15 from-pstn ru default In Service
17 from-pstn ru default In Service
18 from-pstn ru default In Service
19 from-pstn ru default In Service
20 from-pstn ru default In Service
21 from-pstn ru default In Service
22 from-pstn ru default In Service
23 from-pstn ru default In Service
24 from-pstn ru default In Service
25 from-pstn ru default In Service
26 from-pstn ru default In Service
27 from-pstn ru default In Service
28 from-pstn ru default In Service
29 from-pstn ru default In Service
30 from-pstn ru default In Service
31 from-pstn ru default In Service
pri show spans в студию..
Zavr2008 ( 2011-11-23 13:55:36 +0400 )редактироватьCLI> pri show spans
No such command 'pri show spans ' (type 'core show help pri show' for other possible commands)
Graf ( 2011-11-23 14:13:51 +0400 )редактировать434842394 пиши в асю помогу. как через вебморду конфигурить не знаю а в консоли всё настроить довольно просто.
DJs3000 ( 2011-11-25 18:07:53 +0400 )редактироватьспасибо огромное, с этим разобрался, если так можно сказать. :)
а по другим настройкам, если вдруг чего, зя постучаться?
Graf ( 2011-11-29 12:41:04 +0400 )редактироватьчем смогу помогу
DJs3000 ( 2011-12-03 12:47:43 +0400 )редактировать