เพิ่ง setup e1 สองตัว ไม่แน่ใจว่าติดตรงไหนครับ

Elastix IP Pbx

Moderator: jubjang

เพิ่ง setup e1 สองตัว ไม่แน่ใจว่าติดตรงไหนครับ

โพสต์โดย noterious » 30 มี.ค. 2010 16:08

แนบภาพมาให้ดูครับในหน้า hardware detection
สาย RJ45 ที่ใช้ต่อกับ E1 ของ True แต่ก็น่าจะถูกต้อง สัญญาณขึ้นที่โมเด็มดี run debug แล้ว

โค้ด: เลือกทั้งหมด
Wanpipe Config:

Device name | Protocol Map | Adapter  | IRQ | Slot/IO | If's | CLK | Baud rate |
wanpipe1    | N/A          | A101/1D/A102/2D/4/4D/8| 177 | 4       | 1    | N/A | 0         |
wanpipe2    | N/A          | A101/1D/A102/2D/4/4D/8| 185 | 4       | 1    | N/A | 0         |

Wanrouter Status:

Device name | Protocol | Station | Status        |
wanpipe1    | AFT TE1  | N/A     | Connected     |
wanpipe2    | AFT TE1  | N/A     | Connected     |



จากโค้ดด้านบนมันก็โชว์สาย connected ทั้งสองสายครับ แต่ว่า ยังไม่สามารถโทรเข้าออกได้ และในหน้า hardware config มันขึ้น 'not in use' หมด แปลกจัง ผมลืมอะไรไปหรือเปล่าครับ รบกวนผู้มีประสบการณ์ E1 ให้ความรู้ด้วยครับ

*เพิ่มเติมครับ ผมควรจะให้ทั้งสองการ์ด (สอง port) เป็น Normal (slave) ทั้งสองเลยหรือเปล่า เพราะว่าชุมสายของ True น่าจะเป็น Master อยู่แล้ว?
แนบไฟล์
hardware.png
hardware.png (177.45 KiB) เปิดดู 6004 ครั้ง
noterious
Silver Member
 
โพสต์: 24
ลงทะเบียนเมื่อ: 04 มี.ค. 2010 01:27

Re: เพิ่ง setup e1 สองตัว ไม่แน่ใจว่าติดตรงไหนครับ

โพสต์โดย noterious » 30 มี.ค. 2010 23:39

ตอนนี้หน้า hardware Detection ขึ้นทุกสายเป็น in use แล้วครับ เนื่องจากไม่ได้ใส่ค่าด้านล่างนี้เข้าไปใน chan_dahdi.conf ไม่รู้เลยว่ามีผลด้วย...อืม

แต่ยังไม่สามารถโทรเข้าออกได้ครับ กำลังพยายามต่อไป ถ้าได้ผลยังไงจะมาแจ้งให้ทราบครับ
ถ้าใครทราบก่อน ก็รบกวนชี้แนะด้วยนะครับ

โค้ด: เลือกทั้งหมด
[channels]
language=en
context=from-pstn
switchtype=euroisdn
signalling=pri_cpe
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
echocanceller=yes
rxgain=0.0
txgain=0.0
group=0
callgroup=0
immediate=no
callprogress=no
callerid=asreceived
cidsignalling=dtmf
cidstart=ring
pridialplan=unknown
prilocaldialplan=national
noterious
Silver Member
 
โพสต์: 24
ลงทะเบียนเมื่อ: 04 มี.ค. 2010 01:27

Re: เพิ่ง setup e1 สองตัว ไม่แน่ใจว่าติดตรงไหนครับ

โพสต์โดย nuiz » 31 มี.ค. 2010 09:53

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

Re: เพิ่ง setup e1 สองตัว ไม่แน่ใจว่าติดตรงไหนครับ

โพสต์โดย noterious » 31 มี.ค. 2010 10:04

กลับมารายงานผลอีกแล้วครับ :D ยังไม่สำเร็จเหมือนเดิม

ตอนนี้มีบางครั้งที่สามารถโทรเข้าออกได้ แต่บางครั้งก็หายไปเลย ตอนโทรออกได้ pri show span 1 จะขึ้นแบบนี้ครับ

โค้ด: เลือกทั้งหมด
elastix*CLI> pri show span 1
Primary D-channel: 16
Status: Provisioned, Up, Active
Switchtype: EuroISDN
Type: CPE
Window Length: 0/7
Sentrej: 0
SolicitFbit: 1
Retrans: 0
Busy: 0
Overlap Dial: 0
Logical Channel Mapping: 0
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T309 Timer: -1
T313 Timer: 4000
N200 Counter: 3



แต่พอโทรไม่ได้ มันจะขึ้น Status: Provisioned, Down, Active ไปซะดื้อๆ

สงสัยว่าจะเป็นที่สายทรู หรือจะเป็นที่ตัวการ์ดเองกันแน่ครับ เหมือนกับเครื่องไม่สามารถคุยกันทาง D channel ได้อย่างราบลื่น
noterious
Silver Member
 
โพสต์: 24
ลงทะเบียนเมื่อ: 04 มี.ค. 2010 01:27

Re: เพิ่ง setup e1 สองตัว ไม่แน่ใจว่าติดตรงไหนครับ

โพสต์โดย noterious » 31 มี.ค. 2010 10:08

อันนี้ chan_dahdi.conf ครับ
โค้ด: เลือกทั้งหมด
; Autogenerated by /usr/sbin/setup-sangoma 2010-03-29
; If you edit this file and execute /usr/sbin/setup-sangoma again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

[channels]
language=en
context=from-pstn
switchtype=euroisdn
signalling=pri_cpe
usecallerid=yes
hidecallerid=no
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
echocanceller=yes
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
immediate=no
callprogress=no
callerid=asreceived
cidsignalling=dtmf
cidstart=ring
pridialplan=unknown
prilocaldialplan=national


;Sangoma A101 port 1 [slot:4 bus:4 span:1] <wanpipe1>
context=from-pstn
group=0
echocancel=yes
signalling=pri_cpe
channel =>1-15,17-31

;Sangoma A101 port 1 [slot:4 bus:6 span:2] <wanpipe2>
context=from-pstn
group=0
echocancel=yes
signalling=pri_cpe
channel =>32-46,48-62



#include chan_dahdi_additional.conf
#include dahdi-channels.conf



ส่วนอันนี้ system.conf ครับ
โค้ด: เลือกทั้งหมด
# Autogenerated by /usr/sbin/dahdi_genconf on Mon Mar 29 20:06:53 2010
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WPE1/0 "wanpipe1 card 0"
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
hardhdlc=16
echocanceller=oslec,1-15,17-31

# Span 2: WPE1/1 "wanpipe2 card 1"
span=2,2,0,ccs,hdb3,crc4
# termtype: te
bchan=32-46,48-62
hardhdlc=47
echocanceller=oslec,32-46,48-62

# Global data

loadzone   = us
defaultzone   = us
noterious
Silver Member
 
โพสต์: 24
ลงทะเบียนเมื่อ: 04 มี.ค. 2010 01:27

Re: เพิ่ง setup e1 สองตัว ไม่แน่ใจว่าติดตรงไหนครับ

โพสต์โดย noterious » 04 เม.ย. 2010 13:16

สรุปว่าตอนนี้ใช้ได้แล้วครับ ติดต่อไปทาง sangoma เขาบอกว่ามันเป็นอาการที่มีปัญหา DMA กับฮาร์ดแวร์ Dell และ HP บางตัว วิธีแก้ทางเดียวคืออัพเกรด firmware ตัวใหม่ จบ

firmware อยู่ที่ http://wiki.sangoma.com/sangoma-hardware#aft_firmware ครับ เผื่อใครเจอปัญหาเดียวกัน ต้องอัพเกรดเป็น v.37
noterious
Silver Member
 
โพสต์: 24
ลงทะเบียนเมื่อ: 04 มี.ค. 2010 01:27

Re: เพิ่ง setup e1 สองตัว ไม่แน่ใจว่าติดตรงไหนครับ

โพสต์โดย nuiz » 04 เม.ย. 2010 17:06

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


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

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

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