Thứ Tư, 25 tháng 8, 2010

install card Sangoma and config

asterisk –vvvvvvvvgc << start asterisk to view debug

asterisk –r
wanrouter restart
wanrouter status
ztcfg –vvvvvvv

Please trying making the following changes in your wanpipeX.conf (X being the wanpipe number eg. 1,2,3,4).
Change "FE_framing = CRC4" to "FE_framing = NCRC4".
Insure you save the wanpipeX.conf file and restart our drivers using "wanrouter restart", Asterisk will have to be off when you do this.
Run "wanpipemon -i wXg1 -c Ta" (where X is the interface number 1,2,3,etc) again and check to see if the alarm has cleared.
Make sure the zaptel modules are loaded and your Digium board was detected, run zttol to make sure that everything is correct, please take a look at your /etc/zaptel.conf file and certify that your span and cas channels are correctly declared. As example:
# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1"
span=1,1,0,cas,hdb3
cas=1-15:1101
dchan=16
cas=17-31:1101

# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
span=2,0,0,cas,hdb3
cas=32-46:1101
dchan=47
cas=48-62:1101


2, Đối với Card Sangoma A101 :
- Sau khi cài đặt xong Zaptel, Asterisk...
- Bạn phải cài đặt phần mềm Wanpipe vào máy Server Asterisk.
- Download link tại đây : wanpipe
- Sau khi download, bạn xem lại file hướng dẫn install trong gói này.
- Chạy lệnh : "./Setup install " sẽ cài đặt phần mềm Wanpipe.


./Setup install
Would you like to install WAN Router now? (y/n) y

Would you like update/upgrade wanpipe drivers? (y/n) y

Press [Enter] to continue...

Proceed to build WANPIPE kernel modules ? (y/n) y

Please Select Compilation Mode

1. WAN Protocol Support (Default)

Protocols: Frame Relay, CHDLC, PPP, X25 and ADSL

2. TDM Voice (Asterisk) Support Only

Protocols: TDMV (Asterisk) on AFT adatpers.

3. TDM Voice (Asterisk) + WAN Protocol Support

Protocols: TDMV, Frame Relay, CHDLC, PPP, X25, ADSL

4. TDM Voice (Asterisk) + SS7 Support + WAN Protocol Support

Protocols: TDMV, SS7, Frame Relay, CHDLC, PPP, X25, ADSL

5. Custom Compilation Mode

Specify protocols to be added into the WANPIPE

kernel drivers.

Please select (1,2,3,4 or 5) [Default: 1]: 2

Press Enter for Default
Press Enter for Default

Enable TDMV DCHAN Native HDLC Support & Patch Zaptel ? (y/n) y

Your Zaptel source was modified, recompile/reinstall zaptel ? (y/n) y

Everything else just continue to go with “y” or ENTER for defaults

To upgrade the Wanpipe driver proceed as follows:

- Sau khi cài đặt xong gõ lệnh : wancfg sẽ cho phép cài đặt các thông số của Card
- Chạy tiếp lệnh : ztcfg -vvvvvvv

- Vào lại CLI để xem số channels và status của Card. Bước này hoàn tòan giống với Card Digium ở trên.

Các bạn cần chú ý, việc cài đặt card 1/2/4 luồng E1 thì không khó, quan trọng là bạn chọn tín hiệu signalling cho phù hợp để Card có thể giao tiếp với tín hiệu của nhà cung cấp.

Nếu bạn nào gặp khó khăn thì có thể comment vào mục này hoặc có thể liên lạc trực tiếp với mình qua email hoặc điện thoại để được giải đáp.

Không có nhận xét nào:

Đăng nhận xét