|
mrter2000
|
 |
« Reply #1 on: January 20, 2010, 11:03:34 AM » |
|
ที่ผมจะทำคือ ผมจะใช้ asterisk นี้ที่ติดตั้ง card e1 ให้เชื่อมต่อกับ e1 (NPRAE) ของ acatel
ตอนนี้ที่ผมเข้้าใจว่าเข้าใจถูกหรือเปล่าคือ ซึ่งจะเป็นคำถามสำหรับผมนะครับ
1. ตอนนี้ asterisk ที่ผม set เห็น card e1 แล้วใช่หรือไม่ ? โดยส่วนตัวผมคิดว่าน่าจะเห็นแล้ว 2. คำถามแล้วผมจะ ทดสอบสัญญาณ หรือ zttool มันว่า Ok นี่หมายความว่า ใช้ได้มีสัญญาณ ใช่หรือไม่ ?
ซึ่งข้อสองผมคิดว่าสัญญาณ ใช้ได้
และ ผมใช้คำสั่ง
# service zaptel start
Loading zaptel framework: [ OK ] Waiting for zap to come online...OK Loading zaptel hardware modules: tor2. wct4xxp. wcte12xp. wct1xxp. wcte11xp. wctdm24xxp. wcfxo. wctdm. wcusb. xpp_usb. opvxa1200. Running ztcfg: [ OK ]
ซึ่งผมคิดว่ามันใช้ได้แล้วใช่หรือไม่ครับ
สิ่งที่ผมอยากจะรู้หรืออยากจะถามว่า เราจะสามารถทดสอบสัญญาณแต่ละ port หรือ channels ของ E1 ของ asterisk โดยใช้คำสั่งหรือ ตรวจสอบอย่างไรครับ
E1 (asterisk ) E1 (A102) <----> E1 (NPRAE) acatel
มันเจอกันครับ ตอนนี้ฝั่ง E1 acatel ก่อนหน้าที่จะเปลี่ยน server ระบบใช้ได้ดีครับ แต่ผมได้ลอง asterisk แ้ล้วตอนนี้ มันไม่เห็นกัน ทั้งๆ ที่ผมมั่นใจว่า asterisk+e1 ผม set work แล้ว
แต่ปัญญาจะใช้อะไรตรวจสอบหรือต้องไปตรวจสอบ config ส่วนไหนครับ
ตัวอย่าง file ของ zaptel.conf
# more zaptel.conf # Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit # Zaptel Configuration File # # This file is parsed by the Zaptel Configurator, ztcfg #
# It must be in the module loading order
# Span 1: WPE1/0 "wanpipe1 card 0" (MASTER) HDB3/CCS/CRC4 RED span=1,1,0,ccs,hdb3,crc4 # termtype: te bchan=1-15,17-31 dchan=16
# Span 2: WPE1/1 "wanpipe2 card 1" HDB3/CCS/CRC4 RED span=2,2,0,ccs,hdb3,crc4 # termtype: te bchan=32-46,48-62 dchan=47
# Global data
loadzone = us defaultzone = us
ซึ่งมีแค่นี้นะครับในระบบตอนนี้ ซึ่งมันถูกต้องแล้วหรือไม่
ตัวอย่าง file ของ zapata.conf
# more /etc/asterisk/zapata.conf [channels] jbenable=no jbmaxsize=200 jbresyncthreshold=1000 jbimpl=fixed jblog=yes
switchtype=euroisdn overlapdial=yes usecallingpres=yes signalling=pri_net echocancel=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 context=trunk%%zap%%Trunk1 callerid= <unknown> channel=>1-15,17-31,32-46,48-62
มีแค่นี้หรือเปล่าครับ
หรือว่าต้องมีอะไรเพิ่มเติมจากนี้ครับ
รบกวนด้วยนะครับ ว่าผมมาถูกทางแล้วหรือไม่ครับ
ขอบคุณสำหรับคำแนะนำทุกท่านครับ
|