В неё воткнул patchcord T568B, а на другой конец этого корда повешен loopback, который шёл с карточкой.
Индикатор на карте зелёный.
| Код: |
| 04:08.0 Ethernet controller: Digium, Inc. Wildcard TE121 single-span T1/E1/J1 card (PCI-Express) (rev 11) Subsystem: Digium, Inc. Wildcard TE121 single-span T1/E1/J1 card (PCI-Express) Flags: bus master, medium devsel, latency 64, IRQ 17 I/O ports at e800 [size=256] Memory at febffc00 (32-bit, non-prefetchable) [size=1K] Expansion ROM at febc0000 [disabled] [size=128K] Capabilities: [c0] Power Management version 2 Kernel driver in use: wcte12xp |
/etc/dahdi/system.conf
| Код: |
| span=1,1,0,ccs,hdb3,crc4 # termtype: te bchan=1-15,17-31 dchan=16 echocanceller=oslec,1-15,17-31 #echocanceller=mg2,1-15,17-31 # Global data loadzone = ru defaultzone = ru |
/etc/asterisk/chan_dahdi.conf
| Код: |
| [general] [channels] language=ru callwaiting=yes usecallingpres=yes pridialplan=national prilocaldialplan=unknown ;resetinterval = 100000000 ;facilityenable=yes usecallerid=yes hidecallerid=no busydetect=yes busycount=10 threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=no echotraining=no immediate=no faxdetect=no rxgain=0.0 txgain=0.0 ; [span_1] group=0 signalling=pri_cpe switchtype=euroisdn context=from-pstn channel=>1-15,17-31 |
/etc/asterisk/dahdi-channels.conf
| Код: |
| ; Span 1: WCT1/0 "Wildcard TE121 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 |
Вроде настроил вход и выход на этот транк, но при попытке позвонить на "свой" номер слышу all circuits are busy now
В логе вот это
| Код: |
| -- Executing [s@macro-dialout-trunk:22] Dial("SIP/200-0000000f", "DAHDI/g0/6104548,300,Tt") in new stack -- Requested transfer capability: 0x00 - SPEECH -- Called DAHDI/g0/6104548 [Dec 23 18:35:40] WARNING[9330]: sig_pri.c:6166 pri_dchannel: PRI Error on span 1: We think we're the CPE, but they think they're the CPE too. [Dec 23 18:35:41] WARNING[9330]: sig_pri.c:6166 pri_dchannel: PRI Error on span 1: We think we're the CPE, but they think they're the CPE too. -- Span 1: Channel 0/1 got hangup, cause 27 -- DAHDI/i1/6104548-f is circuit-busy -- Hungup 'DAHDI/i1/6104548-f' == Everyone is busy/congested at this time (1:0/1/0) -- Executing [s@macro-dialout-trunk:23] NoOp("SIP/200-0000000f", "Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 27") in new stack -- Executing [s@macro-dialout-trunk:24] GotoIf("SIP/200-0000000f", "0?continue,1:s-CONGESTION,1") in new stack -- Goto (macro-dialout-trunk,s-CONGESTION,1) -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/200-0000000f", "RC=27") in new stack -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/200-0000000f", "27,1") in new stack -- Goto (macro-dialout-trunk,27,1) -- Executing [27@macro-dialout-trunk:1] Goto("SIP/200-0000000f", "continue,1") in new stack -- Goto (macro-dialout-trunk,continue,1) -- Executing [continue@macro-dialout-trunk:1] NoOp("SIP/200-0000000f", "TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 27 - failing through to other trunks") in new stack |
Из этого вопрос:
Реально ли простестировать исходящие звонки через loopback или нужен реальный поток?
PS а вообще все эти проверки E1 идут лесом пока в реальный канал не включиш - потому как настройки у каждого по разному
_________________
платный суппорт по мере возможностей
| Цитата: |
| [Dec 23 18:35:41] WARNING[9330]: sig_pri.c:6166 pri_dchannel: PRI Error on span 1: We think we're the CPE, but they think they're the CPE too. |
и этим все сказано .
Собственно, этот кусок и был причиной вопроса.
Резюме: Нет. Без живого канала не протестировать.