วิธีการเชื่อมระหว่าง Elastix + E1 card -- Alcatel

Elastix IP Pbx

Moderator: jubjang

วิธีการเชื่อมระหว่าง Elastix + E1 card -- Alcatel

โพสต์โดย gbman » 18 ม.ค. 2011 10:10

รบกวนด้วยครับ ตอนนี้ Elastix เห็น Sangoma แล้ว แต่ไม่ทราบขั้นตอนการที่จะสร้าง Trunk ไปเชื่อมกับ Alcatel ครับ ขอบคุณครับ
gbman
Bronz Member
 
โพสต์: 9
ลงทะเบียนเมื่อ: 18 ม.ค. 2011 10:04

Re: วิธีการเชื่อมระหว่าง Elastix + E1 card -- Alcatel

โพสต์โดย nuiz » 20 ม.ค. 2011 22:14

บน Elastix เซ็ตเมนู Trunks ครับ เลือก Zaptel Trunks ซึ่งจะใช้ได้กับทั้ง Zaptel/DAHDI เลย
จากนั้นเซ็ต Outbound Routes ถ้าจะโทรออกจาก Elastix ไปหาตู้ Alcatel
หรือเซ็ต Inbound Routes ถ้าจะโทรจาก Alcatel มาที่ Elastix

อิจฉาจังครับที่ได้เชื่อมต่อการ์ด E1 :D
** หากมีปัญหากับอุปกรณ์ที่ซื้อมาเองหรือบริการที่ทำขึ้นมาเอง ให้โพสต์ถามในเว็บบอร์ดนี้นะครับ **
** งานเร่งด่วนติดต่อว่าจ้างที่เบอร์ 08-5161-9439 อีเมล์ iamaladin@gmail.com ไลน์ NuizVoip ครับ **
nuiz
Diamond Member
 
โพสต์: 7001
ลงทะเบียนเมื่อ: 24 มี.ค. 2010 09:33

Re: วิธีการเชื่อมระหว่าง Elastix + E1 card -- Alcatel

โพสต์โดย gbman » 01 ก.พ. 2011 14:14

ยังไม่เข้าใจครับ รบกวนขอรายละเอียดเพิ่มเติมในส่วน Outbound Routes -- dial patterns inbound Routes -- dial patterns

E1 ตู้ Alcatel (เบอร์ 46600-99) ------ E1 Elastix (เบอร์ 46700-99)

ไม่ทราบว่าจะต้องทำอย่างไรบ้าง พอดีมือใหม่ครับ
gbman
Bronz Member
 
โพสต์: 9
ลงทะเบียนเมื่อ: 18 ม.ค. 2011 10:04

Re: วิธีการเชื่อมระหว่าง Elastix + E1 card -- Alcatel

โพสต์โดย gbman » 01 ก.พ. 2011 14:17

[root@nkvoip ~]# asterisk -r
Asterisk 1.6.2.10, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.6.2.10 currently running on nkvoip (pid = 3121)
Verbosity is at least 3
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [46614@from-internal:1] Macro("SIP/46700-00000009", "user-callerid,SKIPTTL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/46700-00000009", "AMPUSER=46700") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/46700-00000009", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/46700-00000009", "1?Set(REALCALLERIDNUM=46700)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/46700-00000009", "AMPUSER=46700") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/46700-00000009", "AMPUSERCIDNAME=46700") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/46700-00000009", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/46700-00000009", "AMPUSERCID=46700") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/46700-00000009", "CALLERID(all)="46700" <46700>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/46700-00000009", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/46700-00000009", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/46700-00000009", "Using CallerID "46700" <46700>") in new stack
-- Executing [46614@from-internal:2] Set("SIP/46700-00000009", "_NODEST=") in new stack
-- Executing [46614@from-internal:3] Macro("SIP/46700-00000009", "record-enable,46700,OUT,") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/46700-00000009", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/46700-00000009", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/46700-00000009", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/46700-00000009", "0?IN") in new stack
-- Executing [s@macro-record-enable:16] ExecIf("SIP/46700-00000009", "1?MacroExit()") in new stack
-- Executing [46614@from-internal:4] Macro("SIP/46700-00000009", "dialout-trunk,1,46614,,") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/46700-00000009", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/46700-00000009", "0?sub-pincheck,s,1") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/46700-00000009", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/46700-00000009", "DIAL_NUMBER=46614") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/46700-00000009", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/46700-00000009", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/46700-00000009", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/46700-00000009", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/46700-00000009", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/46700-00000009", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/46700-00000009", "0?Set(CALLERPRES()=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/46700-00000009", "0?Set(REALCALLERIDNUM=46700)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/46700-00000009", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,6)
-- Executing [s@macro-outbound-callerid:6] Set("SIP/46700-00000009", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("SIP/46700-00000009", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("SIP/46700-00000009", "TRUNKOUTCID=6789") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/46700-00000009", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/46700-00000009", "1?Set(CALLERID(all)=6789)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/46700-00000009", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/46700-00000009", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/46700-00000009", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] ExecIf("SIP/46700-00000009", "0?AGI(fixlocalprefix)") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("SIP/46700-00000009", "OUTNUM=46614") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/46700-00000009", "custom=DAHDI/g0") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/46700-00000009", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/46700-00000009", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/46700-00000009", "") in new stack
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/46700-00000009", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/46700-00000009", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/46700-00000009", "DAHDI/g0/46614,300,") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:20] NoOp("SIP/46700-00000009", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 66") in new stack
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/46700-00000009", "s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/46700-00000009", "RC=66") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/46700-00000009", "66,1") in new stack
-- Goto (macro-dialout-trunk,66,1)
-- Executing [66@macro-dialout-trunk:1] Goto("SIP/46700-00000009", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/46700-00000009", "1?noreport") in new stack
-- Goto (macro-dialout-trunk,continue,3)
-- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/46700-00000009", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 66 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:4] Set("SIP/46700-00000009", "CALLERID(number)=46700") in new stack
-- Executing [46614@from-internal:5] Macro("SIP/46700-00000009", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("SIP/46700-00000009", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("SIP/46700-00000009", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("SIP/46700-00000009", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("SIP/46700-00000009", "all-circuits-busy-now&pls-try-call-later, noanswer") in new stack
-- <SIP/46700-00000009> Playing 'all-circuits-busy-now.gsm' (language 'en')
-- <SIP/46700-00000009> Playing 'pls-try-call-later.gsm' (language 'en')
-- Executing [s@macro-outisbusy:5] Congestion("SIP/46700-00000009", "20") in new stack
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/46700-00000009' in macro 'outisbusy'
== Spawn extension (from-internal, 46614, 5) exited non-zero on 'SIP/46700-00000009'
-- Executing [h@from-internal:1] Macro("SIP/46700-00000009", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/46700-00000009", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] NoOp("SIP/46700-00000009", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/46700-00000009", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/46700-00000009", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,10)
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/46700-00000009", "1?theend") in new stack
-- Goto (macro-hangupcall,s,12)
-- Executing [s@macro-hangupcall:12] Hangup("SIP/46700-00000009", "") in new stack
== Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/46700-00000009' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/46700-00000009'
nkvoip*CLI>
gbman
Bronz Member
 
โพสต์: 9
ลงทะเบียนเมื่อ: 18 ม.ค. 2011 10:04

Re: วิธีการเชื่อมระหว่าง Elastix + E1 card -- Alcatel

โพสต์โดย gbman » 01 ก.พ. 2011 14:19

อันนี้โทรหากันเอง เบอร์ภายใน Elastix 46700 - 46701

kvoip*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [46701@from-internal:1] Macro("SIP/46700-0000000c", "exten-vm,novm,46701") in new stack
-- Executing [s@macro-exten-vm:1] Macro("SIP/46700-0000000c", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/46700-0000000c", "AMPUSER=46700") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/46700-0000000c", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/46700-0000000c", "1?Set(REALCALLERIDNUM=46700)") in new stack
-- Executing [s@macro-user-callerid:4] Set("SIP/46700-0000000c", "AMPUSER=46700") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/46700-0000000c", "AMPUSERCIDNAME=46700") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/46700-0000000c", "0?report") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/46700-0000000c", "AMPUSERCID=46700") in new stack
-- Executing [s@macro-user-callerid:8] Set("SIP/46700-0000000c", "CALLERID(all)="46700" <46700>") in new stack
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/46700-0000000c", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/46700-0000000c", "0?continue") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/46700-0000000c", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/46700-0000000c", "1?continue") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] NoOp("SIP/46700-0000000c", "Using CallerID "46700" <46700>") in new stack
-- Executing [s@macro-exten-vm:2] Set("SIP/46700-0000000c", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("SIP/46700-0000000c", "VMBOX=novm") in new stack
-- Executing [s@macro-exten-vm:4] Set("SIP/46700-0000000c", "EXTTOCALL=46701") in new stack
-- Executing [s@macro-exten-vm:5] Set("SIP/46700-0000000c", "CFUEXT=") in new stack
-- Executing [s@macro-exten-vm:6] Set("SIP/46700-0000000c", "CFBEXT=") in new stack
-- Executing [s@macro-exten-vm:7] Set("SIP/46700-0000000c", "RT=""") in new stack
-- Executing [s@macro-exten-vm:8] Macro("SIP/46700-0000000c", "record-enable,46701,IN") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/46700-0000000c", "1?check") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] ExecIf("SIP/46700-0000000c", "0?MacroExit()") in new stack
-- Executing [s@macro-record-enable:5] GotoIf("SIP/46700-0000000c", "0?Group:OUT") in new stack
-- Goto (macro-record-enable,s,15)
-- Executing [s@macro-record-enable:15] GotoIf("SIP/46700-0000000c", "1?IN") in new stack
-- Goto (macro-record-enable,s,20)
-- Executing [s@macro-record-enable:20] ExecIf("SIP/46700-0000000c", "1?MacroExit()") in new stack
-- Executing [s@macro-exten-vm:9] Macro("SIP/46700-0000000c", "dial,,tr,46701") in new stack
-- Executing [s@macro-dial:1] GotoIf("SIP/46700-0000000c", "1?dial") in new stack
-- Goto (macro-dial,s,3)
-- Executing [s@macro-dial:3] AGI("SIP/46700-0000000c", "dialparties.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is '46700' number is '46700'
dialparties.agi: Methodology of ring is 'none'
-- dialparties.agi: Added extension 46701 to extension map
-- dialparties.agi: Extension 46701 cf is disabled
-- dialparties.agi: Extension 46701 do not disturb is disabled
dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
dialparties.agi: Extension 46701 has ExtensionState: 0
-- dialparties.agi: Checking CW and CFB status for extension 46701
-- dialparties.agi: dbset CALLTRACE/46701 to 46700
-- dialparties.agi: Filtered ARG3: 46701
-- <SIP/46700-0000000c>AGI Script dialparties.agi completed, returning 0
-- Executing [s@macro-dial:7] Dial("SIP/46700-0000000c", "SIP/46701,,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called 46701
-- SIP/46701-0000000d is ringing
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/46700-0000000c' in macro 'dial'
== Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'SIP/46700-0000000c' in macro 'exten-vm'
== Spawn extension (from-internal, 46701, 1) exited non-zero on 'SIP/46700-0000000c'
-- Executing [h@from-internal:1] Macro("SIP/46700-0000000c", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/46700-0000000c", "1?noautomon") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] NoOp("SIP/46700-0000000c", "TOUCH_MONITOR_OUTPUT=") in new stack
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/46700-0000000c", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/46700-0000000c", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,10)
-- Executing [s@macro-hangupcall:10] GotoIf("SIP/46700-0000000c", "1?theend") in new stack
-- Goto (macro-hangupcall,s,12)
-- Executing [s@macro-hangupcall:12] Hangup("SIP/46700-0000000c", "") in new stack
== Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/46700-0000000c' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/46700-0000000c'
nkvoip*CLI>
gbman
Bronz Member
 
โพสต์: 9
ลงทะเบียนเมื่อ: 18 ม.ค. 2011 10:04

Re: วิธีการเชื่อมระหว่าง Elastix + E1 card -- Alcatel

โพสต์โดย gbman » 01 ก.พ. 2011 22:09

รูปภาพ
gbman
Bronz Member
 
โพสต์: 9
ลงทะเบียนเมื่อ: 18 ม.ค. 2011 10:04

Re: วิธีการเชื่อมระหว่าง Elastix + E1 card -- Alcatel

โพสต์โดย gbman » 01 ก.พ. 2011 22:10

]รูปภาพ
gbman
Bronz Member
 
โพสต์: 9
ลงทะเบียนเมื่อ: 18 ม.ค. 2011 10:04

Re: วิธีการเชื่อมระหว่าง Elastix + E1 card -- Alcatel

โพสต์โดย gbman » 01 ก.พ. 2011 22:11

รูปภาพ
gbman
Bronz Member
 
โพสต์: 9
ลงทะเบียนเมื่อ: 18 ม.ค. 2011 10:04

Re: วิธีการเชื่อมระหว่าง Elastix + E1 card -- Alcatel

โพสต์โดย gbman » 08 ก.พ. 2011 13:23

ตอนนี้ได้แก้ไขปัญหาออกไปบ้างแล้ว ทำให้สามารถโทรออกไปที่ E1 Alcatel ได้แล้วครับ เหลือแต่ Alcatel โทรกลับเข้ามา

ปัญหาที่เจอ

1. ดูที่ log asterisk
[Feb 4 04:02:30] WARNING[3255] chan_dahdi.c: PRI Error on span 0: We think we're the CPE, but they think they're the CPE too.

[Feb 4 04:02:31] WARNING[3255] chan_dahdi.c: PRI Error on span 0: We think we're the CPE, but they think they're the CPE too.

[Feb 4 04:02:32] WARNING[3255] chan_dahdi.c: PRI Error on span 0: We think we're the CPE, but they think they're the CPE too.

แก้ปัญหา โดยเปลี่ยน pri_cpe เป็น pri_net ใน chan_dahdi.conf เนื่องจาก Alcatel เป็น pri_cpe

2.Feb 4 04:02:37] VERBOSE[3255] chan_dahdi.c: == Primary D-Channel on span 1 down
[Feb 4 04:02:37] WARNING[3255] chan_dahdi.c: No D-channels available! Using Primary channel 16 as D-channel anyway!
[Feb 4 04:02:41] WARNING[3255] chan_dahdi.c: No D-channels available! Using Primary channel 16 as D-channel anyway!
[Feb 4 04:02:45] WARNING[3255] chan_dahdi.c: No D-channels available! Using Primary channel 16 as D-channel anyway!
[Feb 4 04:02:49] WARNING[3255] chan_dahdi.c: No D-channels available! Using Primary channel 16 as D-channel anyway!
[Feb 4 04:02:53] WARNING[3255] chan_dahdi.c: No D-channels available! Using Primary channel 16 as D-channel anyway!

แก้ไขโดย

Asterisk PRI Fails to Come UP or Oscillates Up and Down

PRI does not come up on the span, or it comes up and goes down again cyclically.
Running “pri intense debug spanX”, in Asterisk CLI, shows a sequence where only incoming frames are the "Unnumbered Frames".

< [ 02 01 7f ]
< Unnumbered frame:
< SAPI: 00 C/R: 1 EA: 0
< TEI: 000 EA: 1
< M3: 3 P/F: 1 M2: 3 11: 3 [ SABMEhere (set asynchronous balanced mode extended) ]
< 0 bytes of data
-- Got SABME from network peer.
Sending Unnumbered Acknowledgement

Also when running wanpipemon DCHAN Trace

#>wanpipemon –i w1g1 -c trd

Notice that all the data is INCOMING, there are no OUTGOING packets.

The problem is that zaptel driver has not been recompiled after Wanpipe installation. During Wanpipe installation, zaptel sources were patched with Wanpipe HW DCHAN patch, that enables zaptel to transmit HDLC frames to Wanpipe drivers. If zaptel driver is not re-compiled and re-installed HW DCHAN option will not work properly.

To fix this problem:
Recompile and Reinstall Zaptel Sources

#>cd /usr/src/zaptel
#>make clean
#>make
#>make install

OR

Disable TDMV_DCHAN=16 or 24 option and set it to 0 in /etc/wanpipe/wanpipe1.conf file.

This will disable Wanpipe HW DCHAN option and DCHAN HDLC encoding/decoding will be done by zaptel HDLC engine.
Note: With wanpipe-3.2.2 and later (and wanpipe-3.3.x beta driver) doesn't require to zaptel patch with zaptel-1.4.x . Therefore there is no need to recompile zaptel. (In /etc/zaptel.conf d-channels are defined as 'hardhdlc' instead of 'dchan')
gbman
Bronz Member
 
โพสต์: 9
ลงทะเบียนเมื่อ: 18 ม.ค. 2011 10:04

Re: วิธีการเชื่อมระหว่าง Elastix + E1 card -- Alcatel

โพสต์โดย gbman » 08 ก.พ. 2011 13:26

3. โทรไม่ออกไปที่ Trunk Alcatel เช็ค log /var/log/asterisk/full

Unable to create channel of type 'DAHDI' (cause 0 - Unknown)

แก้ไขโดย ตอน add trunk เปลี่ยนจาก g0 เป็น g1

the problem is resolved
i have given wrong group number while doign wancfg_dahdi
now its working with TRUNK= DAHDI/g1
gbman
Bronz Member
 
โพสต์: 9
ลงทะเบียนเมื่อ: 18 ม.ค. 2011 10:04

ต่อไป

ย้อนกลับไปยัง Elastix - Unified Communications Software

ผู้ใช้งานขณะนี้

่กำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และ บุคคลทั่วไป 1 ท่าน