keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

A1200P automatic detect and config on trixbox and aah

17 years 9 months ago #96 by miaolin
To make Asterisk at home(AAH) or trixbox detect and config A1200P automaticly, you should do following works:

Firstly, you should download and install A1200P driver into it. you can get the driver code from www.openvox.com.cn/members_downloads_sav...ction=download&id=14 , and installation guide from www.openvox.com.cn/members_downloads_sav...ction=download&id=12

after you maked and installed the driver, you can continue the following steps to patch the scripts of aah to make it detect and config the A1200P driver automaticly.

Edit /etc/init.d/zaptel, add following code in it(red color is new added)

....
if [ -z "${MODULES}" ]; then
# Populate defaults if not present
MODULES="tor2 wct4xxp wct1xxp wcte11xp wcfxo wctdm opvxa1200 ztdummy"
fi
MODULES="tor2 wct4xxp wct1xxp wcte11xp wcfxo wctdm opvxa1200 ztdummy"
....

Edit /usr/local/sbin/genzaptelconf (red color is new added)

......
do
# in case this is a real channel.
chan_num=`echo $line |awk '{print $1}'`
case "$line" in
*WCT1/*) # we're yet to detect when a channel is active
echo "$rem_char channel $chan_num, WCT1, unhandled for now"
;;
*WCTDM/*)
# this can be either FXS or FXO
check_tdm_sigtype $chan_num fxs $mode || \
check_tdm_sigtype $chan_num fxo $mode || \
echo "$rem_char channel $chan_num, WCTDM, inactive."
;;
*OPVXA1200/*)
# this can be either FXS or FXO
check_tdm_sigtype $chan_num fxs $mode || \
check_tdm_sigtype $chan_num fxo $mode || \
echo "$rem_char channel $chan_num, OPVXA1200, inactive."
;;

*WCFXO/*)
check_tdm_sigtype $chan_num fxo $mode || \
echo "$rem_char channel $chan_num, WCFXO, inactive."
;;
......

tested on AAH2.1 to 2.5 and trixbox 1.1
17 years 7 months ago #112 by
This work fine =)
17 years 1 month ago #245 by Slanj
Hi!

I am trying to setup this card on trixbox 2.0 . When I follow instructions in installation guide - I cannot find directories, that I need to edit.

Please, help me.
17 years 1 month ago #247 by miaolin
which directory you can not find?
17 years 1 month ago #248 by Slanj
Hi, now I have some othes problems.
I tried to follow these instructions to install A1200P www.trixbox.org/forums/trixbox/trixbox-e...-a1200p-installation . After several attempts I accomplished all steps. Driver was installed, zaptel was rebuilt (I guess :) ) . But "genzaptelconf" still does not find my card...
And - when I type genzaptelconf command - I get these warnings

Unloading zaptel hardware drivers:
Unloading ztdummy: ERROR: Module ztdummy does not exist in /proc/modules
[FAILED]
Unloading opvxa1200: ERROR: Module opvxa1200 does not exist in /proc/modules
[FAILED]
Unloading wctdm: ERROR: Module wctdm does not exist in /proc/modules
[FAILED]
Unloading wcfxo: ERROR: Module wcfxo does not exist in /proc/modules
[FAILED]
Unloading wcte11xp: ERROR: Module wcte11xp does not exist in /proc/modules
[FAILED]
Unloading wct1xxp: ERROR: Module wct1xxp does not exist in /proc/modules
[FAILED]
Unloading wct4xxp: ERROR: Module wct4xxp does not exist in /proc/modules
[FAILED]
Unloading tor2: ERROR: Module tor2 does not exist in /proc/modules
[FAILED]
Removing zaptel module: ERROR: Module zaptel does not exist in /proc/modules
[FAILED]
Loading zaptel framework: FATAL: Module zaptel not found.
[FAILED]

Probably - my installation was not wright :) . Please, help a beginner. What could be done in my situation.
17 years 1 month ago #249 by miaolin
I think you forget run make install in zaptel directory?

seems that the modules do not installed correctly.
Time to create page: 0.049 seconds
Powered by Kunena Forum