kabhal
Messages postés1Date d'inscriptionmercredi 10 juin 2009StatutMembreDernière intervention10 juin 2009
-
10 juin 2009 à 10:11
Bonjour à tous et toutes;
Bonjour à tous et à toutes;
Voilà, je suis un jeune débutant sous Linux! A peine 2 semaine que j'y touche!
Je dois installer une solution de téléphonie Voice Over IP pour mon entreprise!
Il on choisis la distribution Trixbox et la carte Sangoma B700 FLEXBRI.
J'ai déjà eu plusieurs soucis pendant l'installation mais celui-ci, je ne le comprend
pas du tout! Mon manque de savoir dans Linux est flagrant là dessus, ...
Voilà, je vous met ma démarche qui j'espère vous donnera idée de mon stress!
Je vous défini toute ma procédure:
Installation de Trixbox CE 2.6.2.2 qui est la dernière version en date, OK.
Je lui applique toutes les mises à jour par un yum update, OK.
Bon maintenant je télécharge dans /usr/src ces 2 fichiers: Zaptel 1.4.12.1-1 qui est la dernière
version et Wanpipe 3.5.2 version du pilote pour ma carte Sangoma B700 FLEXBRI.
Je les décompresse puis pour Zaptel 1.4.12.1-1 et je fais:
cd zaptel-1.4.12.1-2
./configure
make
make install OK
Pour l'installation de Wanpipe et le plus loin où je suis parvenu à aller, je sais que je peux déjà installer:
----------------------------------------------------------
WANPIPE v3.5.2 Installation Script
Copyright (c) 1995-2009, Sangoma Technologies Inc.
----------------------------------------------------------
[...]
Would you like to install WANPIPE now? [y] (y/n) y
[...]
Verifying files and fixing permissions ...Done
Checking for C developement tools ...(gcc) OK
Checking for C++ developement tools ...OK
Checking for Make utility ...OK
Checking for ncurses library ... OK
Checking for Perl developement tools ...OK
Checking for AWK ...OK
Checking for FLEX ...OK
Checking for Patch ...OK
Checking for libtermcap-devel...OK
Checking for bison...OK
Press [Enter] to continue... enter
[...]
Please specify absolute path name of your linux directory
Press Enter for Default: /lib/modules/2.6.18-92.1.18.el5/build
#> enter
Setting linux directory to /lib/modules/2.6.18-92.1.18.el5/build
Upgrading WANPIPE kernel documentation ...Done.
Upgrading WANPIPE kernel headers ...Done.
Upgrading WANPIPE kernel drivers ...Done.
WANPIPE device drivers upgraded successfully!
Press [Enter] to continue... enter
[...]
Please Select Compilation Mode
[...]
7. SMG (BRI) + TDM Voice (Zaptel)
Default for: Asterisk BRI + PRI + Analog
[...]
Please select (1,2,3,4,5,6,7,8 or 9) [Default: 1]: 7
Enabling the AFT TE1 Support
Looking for zaptel directory in /usr/src ...
-------------------------------------------
1 : /usr/src/zaptel-1.4.12.1-1
------------------------------------------
------------------------------------------
m : Enter zaptel path manually
(ctrl-c to Exit)
Please select working zaptel directory [1-1][m]: 1
Enabling the TDM Voice Asterisk Support
Zaptel HW HDLC Support Detected: Enabling DCHAN Feature
Native Zaptel HW HDLC Support Detected - No patch required
Zaptel source unmodified
Checking for UDEV Zaptel compatibility...OK
UDEV permissions not found/or not used
Checking for SCTP Utilities....OK.
Looking for Asteris/CallWeaver directory in /usr/src ...
-------------------------------------------
1 : /usr
------------------------------------------
------------------------------------------
m : Enter Asterisk/CallWeaver path manually
(ctrl-c to Exit)
Please select working Asterisk/CallWeaver directory [1-1][m]: 1
Source kernel name:2.6.18-92.1.18.el5
Checking for SMP support ...Enabled.
Checking current processor type ...
[...]
Checking for REGPARM kernel option ...Enabled.
Compiling General WANPIPE Driver for 2.6.X Kernel .....Done.
WAN HWEC module enabled and compiled!
Linking Wanpipe Driver and protocols ...Done.
Updating Kernel Modules ...Done.
Visually Confirm that driver compilation was successful! (y/n) y
[...]
WANPIPE META CONFIGURATION
There are two configuration files associated with WANPIPE.
1) /usr/src/wanpipe-3.5.2/wanrouter.rc:
- defines locations of important files such as lock
and configuration files as well as start/stop
order of multiple WANPIPE devices.
2) /usr/src/wanpipe-3.5.2/wanpipe1.conf:
- main configuration file for each WANPIPE device.
- defines interfaces, hardware and protocol information.
- this file can be created using the 'wancfg' GUI
utility or manually based on sample files located
in /etc/wanpipe/samples.
Please read the WanpipeInstallation.(pdf/txt) manual for further
information.
Press [Enter] to continue... enter
Please specify a desired location for WANPIPE configuration files.
(Press Enter for Default: /etc/wanpipe)
<specify path:> enter
Please specify a desired location for WANPIPE interface files.
(Press Enter for Default: /etc/wanpipe/interfaces)
<specify path:> enter
Please specify a location for WANPIPE binary, firmware files.
(Press Enter for Default: /etc/wanpipe/firmware)
<specify path:> enter
[...]
WANPIPE UTILITIES SETUP
WANPIPE utilities are used to:
1) create configuration files: for Zaptel and Asterisk
/usr/sbin/wancfg_zaptel #Zaptel and Asterisk
/usr/sbin/wancfg_smg #BRI/SS7, Zaptel and Asterisk
/usr/sbin/wancfg_tdmapi #TDM API
2) create WANPIPE WAN/IP configuration files.
(/usr/sbin/wancfg)
3) start,stop,restart individual/all devices and interfaces.
(/usr/sbin/wanrouter)
4) debug line, protocol and driver problems.
(/usr/sbin/wanpipemon)
5) aid in WANPIPE API development
(/etc/wanpipe/api)
Refer to the WanpipeInstallation.(pdf/txt) for more information.
Press [Enter] to continue... enter
Compiling WANPIPE Utilities ...Done.
Compiling WANPIPE WanCfg Utility ...
Done.
Compiling WANPIPE Misc Utilities ...Done.
Compiling WANPIPE LibSangoma TDM API library ...Done.
Compiling WANPIPE API Development Utilities ...Done.
Press [Enter] to continue...
Compiling WANPIPE HWEC Utilities ...Done.
WANPIPE Environment Setup Complete !!!
Press [Enter] to continue... enter
Installing WANPIPE Files ... !
Installing WANPIPE Utilities in /usr/sbin
Installing wanrouter.rc in /etc/wanpipe
Installing wanpipe libraries in /etc/wanpipe
Installing firmware in /etc/wanpipe/firmware
Installing documentation in /usr/share/doc/wanpipe
Installing sample api code in /etc/wanpipe/api
Installing AFT Firmware update utility in /etc/wanpipe/util
Installing driver headers in /etc/wanpipe/api/include/linux
Installing Hardware Echo Cancel Utilites
Press [Enter] to continue... enter
[...]
WANPIPE BOOTSTRAP CONFIGURATION
Your system uses System V -style initialization scripts. You have an option
to add router start-up script to those scripts so that the router will start
automatically when system enters multi-user mode and shut down when it enters
single-user mode or when it is halted.
i.e. By selecting this option WANPIPE will startup on system bootup and
stop on system shutdown.
Would you like to install WANPIPE start-up scripts? (y/n) y
[...]
Current boot level is 3
Wanrouter boot scripts configuration...
Removing existing wanrouter boot scripts...OK
Enabling wanrouter boot scripts ...(level:8)
Enabling wanrouter shutdown scripts ...(level:91)
Would you like to auto-execute ztcfg after wanrouter start? (y/n) y
[...]
Installing Sangoma Media Gateway Daemon...
Installing SMG Daemon...
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
------------------------------------------------------------------------------
test -2 "/usr/local/include" ||mkdir -p -- "/usr/local/include"
/usr/bin/install -c -m 644 `/src/libteletone.h´ `/usr/include/libteletone.h´
/usr/bin/install -c -m 644 `/src/libteletone_detect.h´ `/usr/local/include/libteletone_detect.h´
/usr/bin/install -c -m 644 `/src/libteletongenerate.h´ `/usr/local/include/libteletone_generate.h´
make[2]: leaving directory `/usr/src/wanpipe-3.5.2/ssmg/sangoma_mgd.trunk/lib/libteletone´
make[1]: leaving directory `/usr/src/wanpipe-3.5.2/ssmg/sangoma_mgd.trunk/lib/libteletone´
OK
Compiling Sangoma MGD
[...]
sangoma_mgd Installed
OK
Compiling Woomera Channel...
[...]
chan_woomera.c:1127:error:unknown field`send_digit´specified in initializer
chan_woomera.c:1127:warning:initialization from incompatible pointer type
chan_woomera.c:1139:warning:initialization from incompatible pointer type
chan_woomera.c:funcction `woorema_new´:
chan_woomera.c:3689:error:too few arguments to function àst_channel_alloc´
chan_woomera.c:3694:error:`struct ast_channel´ has no member named `type´
chan_woomera.c:3695:error: `struct ast_channel´ has no member named `type´
chan_woomera.c:3695:warning: passing argument 1 of `snprintf´ discards qualifiers frompointer target type
chan_woomera.c:In function `tech_call´:
chan_woomera.c:3836:error: `struct ast_channel´ has no member named `type´
chan_woomera.c:In function `woomera_check_event´:
chan_woomera.c:5331:warning: passing argument 1 of `snprintf´ discards qualifiers frompointer target type
chan_woomera.c:At top level:
chan_woomera.c:5558:warning:function declaration isn't a prototype
make:*** [chan_woomera.o] Error 1
-----------------------------------------------------------------------------------------------------------------------------
Error: SMG Failed to install
Please Contact Sangoma Support!
Voilà, j'espère vraiment qu'un âme charitable pourra me venir en aide!!