• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER SIP softphone
Back to Tutorials

1.5. Installation on Fedora Core

The first step that you should make is to you to choose which version of Asterisk you want to install.
* Asterisk 1.2 - the stable version
* Asterisk 1.4 - the version that is currently in beta testing
When you know which version you want to install download the according packages.

Note that we will install also libpri and zaptel packages. They are optional for Asterisk but if you want to use Asterisk with MeetMe (see MeetMe application and meetme.conf) or to use MusicOnHold you'll have to install zaptel. The TDMoE cards will also need the zaptel module in order to work correctly. If you will use PRI cards you'll have to install libpri module.

For Asterisk 1.2:
* Asterisk sources
* Zaptel sources
* Libpri sources


For Asterisk 1.4:
* Asterisk sources
* Zaptel sources
* Libpri sources
 



Now check the exact version of your kernel. You can achieve this by typing `uname -a`. The output should be something like this: `Linux luser 2.6.17-1.2142_EL #1 Tue Jul 11 22:41:14 EDT 2006 i686 i686 i386 GNU/Linux`. Check if you are using 2.6 or 2.4 kernel. Notice that. We'll need this info later. You should check if you have installed the kernel sources (for the current version of the kernel) on your machine. To achieve this type `rpm -q kernel-devel` The output of the screen should be something like this:
fed1.gif

Note that if you don't have kernel sources you should install them. You can use yum again: `yum install kernel-devel`. If you use this command yum will install the sources for your current version of the kernel.

It is time to check for the availability of some other packages:
rpm -q bison
rpm -q bison-devel
rpm -q ncurses
rpm -q ncurses-devel
rpm -q zlib
rpm -q zlib-devel
rpm -q openssl
rpm -q openssl-devel
rpm -q gnutls-devel
rpm -q gcc
rpm -q gcc-c++
 

If any of those packages are not installed install them by using yum
yum install bison
yum install bison-devel
yum install ncurses
yum install ncurses-devel
yum install zlib
yum install zlib-devel
yum install openssl
yum install openssl-devel
yum install gnutls-devel
yum install gcc
yum install gcc-c++
 

If yum is unable to find one or more of these packages, try your luck with PBone. You should find the required packages there. When you download them, install them with either of those:
rpm -i PACKAGE.rpm
rpm -Uvh PACKAGE.rpm
 


Fedora doesn't install the kernel sources into the /usr/src/linux directory as is written in Zaptel's and Asterisk's Makefile. Go to `/usr/src` and create a link named 'linux' to your kernel sources directory (the default place for your kernel's sources is /usr/src/kernels/...). The result should look like this:
fed2.gif

Now extract the downloaded sources by the command `tar -vxzf PACKAGE.tar.gz`, where PACKAGE.tar.gz are the packages that we downloaded (libpri, zaptel and asterisk itself).

Installing Libpri:
cd /path/to/source/libpri
make
make install
 

Installing Zaptel:
cd /usr/src/asterisk/zaptel
# if you have a 2.4 kernel you should type just make
make
# if you have a 2.6 kernel you should type make linux26
make linux26 - if you have a 2.6 kernel
make install
 

Installing Asterisk:
cd /usr/src/asterisk/asterisk
# before making Asterisk you have to install mpg123 package (to be able to play mp3 files for music on hold).
make mpg123
# for Asterisk v1.4 you should start configure script
./configure
make
make install
make samples
 


In order to verify the asterisk installation start your asterisk daemon by typing `safe_asterisk` and connect to its console by typing `asterisk -vvvvvr`. Now reload the entire configuration by typing `reload`.

 
User Comments
i2adnan (i2adnan at yahoo dot com)
23 January 2009 05:01:30
make -C sounds install
make[1]: Entering directory `/usr/src/asterisk-1.4.23/sounds'
**************************************************
*** ***
*** You must have either wget or fetch to be ***
*** able to automatically download and install ***
*** the requested sound packages. ***
*** ***
*** Please install one of these, or remove any ***
*** extra sound package selections in ***
*** menuselecct before installing Asterisk. ***
*** ***
**************************************************
make[1]: *** [have_download] Error 1
make[1]: Leaving directory `/usr/src/asterisk-1.4.23/sounds'
make: *** [datafiles] Error 2


where i am doing wrong ? please advice
matria (matria at yahoo dot com)
11 December 2008 04:46:46
I've installed asterisk gui 2.0 and I am trying to use it with asterisk 1.6. I can reach the gui page but after login it is stuck in a loop with the message "Checking write permission for gui folder." Any suggestions on how to make this work?
anita (nita_telkom at yahoo dot co dot id)
21 July 2008 06:22:59
good
nicolqasx (corruptokuader at hotmail dot com)
30 June 2008 07:05:28
[root@localhost asterisk-addons-1.6.0-beta4]# make
make[1]: se ingresa al directorio `/home/asterisk-addons-1.6.0-beta4/channels'
[CC] chan_ooh323.c -> chan_ooh323.o
chan_ooh323.c:91: aviso: inicialización desde un tipo de puntero incompatible
chan_ooh323.c: In function âreload_configâ:
chan_ooh323.c:1887: error: âCONFIG_FLAG_FILEUNCHANGEDâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:1887: error: (Cada identificador no declarado solamente se reporta una vez
chan_ooh323.c:1887: error: ara cada funcion en la que aparece.)
chan_ooh323.c:1896: error: demasiados argumentos para la función âast_config_loadâ
chan_ooh323.c:1902: error: âCONFIG_STATUS_FILEUNCHANGEDâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c: En el nivel principal:
chan_ooh323.c:2172: aviso: se declaró âstruct ast_cli_argsâ dentro de la lista de parámetros
chan_ooh323.c:2172: aviso: su ámbito es solamente esta definición o declaración, lo cual probablemente no sea lo que desea
chan_ooh323.c: In function âhandle_cli_ooh323_show_peerâ:
chan_ooh323.c:2178: error: âCLI_INITâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2179: error: âstruct ast_cli_entryâ no tiene un miembro llamado âcommandâ
chan_ooh323.c:2184: error: âCLI_GENERATEâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2188: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2189: error: âCLI_SHOWUSAGEâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2195: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2206: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2207: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2208: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2209: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2210: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2212: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2214: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2216: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2218: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2220: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2221: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2222: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2224: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2225: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2226: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2229: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2229: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2230: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2234: error: âCLI_SUCCESSâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c: En el nivel principal:
chan_ooh323.c:2237: aviso: se declaró âstruct ast_cli_argsâ dentro de la lista de parámetros
chan_ooh323.c: In function âhandle_cli_ooh323_show_peersâ:
chan_ooh323.c:2246: error: âCLI_INITâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2247: error: âstruct ast_cli_entryâ no tiene un miembro llamado âcommandâ
chan_ooh323.c:2252: error: âCLI_GENERATEâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2256: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2257: error: âCLI_SHOWUSAGEâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2259: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2266: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2278: error: âCLI_SUCCESSâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c: En el nivel principal:
chan_ooh323.c:2299: aviso: se declaró âstruct ast_cli_argsâ dentro de la lista de parámetros
chan_ooh323.c: In function âhandle_cli_ooh323_show_userâ:
chan_ooh323.c:2304: error: âCLI_INITâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2305: error: âstruct ast_cli_entryâ no tiene un miembro llamado âcommandâ
chan_ooh323.c:2310: error: âCLI_GENERATEâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2314: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2315: error: âCLI_SHOWUSAGEâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2321: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2331: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2332: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2333: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2334: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2335: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2337: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2339: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2341: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2343: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2345: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2346: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2347: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2348: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2349: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2350: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2353: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2353: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2354: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2358: error: âCLI_SUCCESSâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c: En el nivel principal:
chan_ooh323.c:2361: aviso: se declaró âstruct ast_cli_argsâ dentro de la lista de parámetros
chan_ooh323.c: In function âhandle_cli_ooh323_show_usersâ:
chan_ooh323.c:2369: error: âCLI_INITâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2370: error: âstruct ast_cli_entryâ no tiene un miembro llamado âcommandâ
chan_ooh323.c:2375: error: âCLI_GENERATEâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2379: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2380: error: âCLI_SHOWUSAGEâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2382: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2388: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2399: error: âCLI_SUCCESSâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c: En el nivel principal:
chan_ooh323.c:2402: aviso: se declaró âstruct ast_cli_argsâ dentro de la lista de parámetros
chan_ooh323.c: In function âhandle_cli_ooh323_set_debugâ:
chan_ooh323.c:2405: error: âCLI_INITâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2406: error: âstruct ast_cli_entryâ no tiene un miembro llamado âcommandâ
chan_ooh323.c:2411: error: âCLI_GENERATEâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2415: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2415: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2416: error: âCLI_SHOWUSAGEâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2417: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2417: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2420: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2421: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2423: error: âCLI_SUCCESSâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c: En el nivel principal:
chan_ooh323.c:2433: aviso: se declaró âstruct ast_cli_argsâ dentro de la lista de parámetros
chan_ooh323.c: In function âhandle_cli_ooh323_show_configâ:
chan_ooh323.c:2439: error: âCLI_INITâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2440: error: âstruct ast_cli_entryâ no tiene un miembro llamado âcommandâ
chan_ooh323.c:2445: error: âCLI_GENERATEâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2449: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2450: error: âCLI_SHOWUSAGEâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c:2453: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2454: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2455: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2456: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2457: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2458: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2480: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2481: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2482: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2483: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2484: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2486: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2488: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2490: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2492: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2494: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2495: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2496: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2500: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2504: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2507: error: puntero deferenciado a tipo de dato incompleto
chan_ooh323.c:2512: error: âCLI_SUCCESSâ no se declaró aquí (primer uso en esta función)
chan_ooh323.c: En el nivel principal:
chan_ooh323.c:2516: error: el elemento inicializador no es constante
chan_ooh323.c:2516: error: (cerca de la inicialización de âcli_ooh323[0].cmda[0]â)
chan_ooh323.c:2517: error: el elemento inicializador no es constante
chan_ooh323.c:2517: error: (cerca de la inicialización de âcli_ooh323[0].cmda[1]â)
chan_ooh323.c:2518: error: el elemento inicializador no es constante
chan_ooh323.c:2518: error: (cerca de la inicialización de âcli_ooh323[0].cmda[2]â)
chan_ooh323.c:2519: error: el elemento inicializador no es constante
chan_ooh323.c:2519: error: (cerca de la inicialización de âcli_ooh323[0].cmda[3]â)
chan_ooh323.c:2520: error: el elemento inicializador no es constante
chan_ooh323.c:2520: error: (cerca de la inicialización de âcli_ooh323[0].cmda[4]â)
chan_ooh323.c:2521: error: el elemento inicializador no es constante
chan_ooh323.c:2521: error: (cerca de la inicialización de âcli_ooh323[0].cmda[5]â)
make[1]: *** [chan_ooh323.o] Error 1
make[1]: se sale del directorio `/home/asterisk-addons-1.6.0-beta4/channels'
make: *** [channels] Error 2




plz help
myman03 (myman03 at gmail dot com)
28 June 2008 10:36:16
i just install my asterisk, why there is no service for my asterisk??
[root@math asterisk-1.4.17]# service asterisk status
asterisk: unrecognized service
[root@math asterisk-1.4.17]#

Best Regards,..
hazem  (seigneur_des_demons at hotmail dot com)
10 April 2008 12:26:54
hello !!
i followed the instructions of the installation but when i want to install libpri i have this type of error :

[root@hazem libpri-1.2.4]# make install
mkdir -p /usr/lib
mkdir -p /usr/include
install -m 644 libpri.h /usr/include
install -m 755 libpri.so.1.0 /usr/lib
if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled"); then restorecon -v /usr/lib/libpri.so.1.0; fi
/bin/sh: restorecon: command not found
make: *** [install] Erreur 127

please please help me ...
thanks
zoritta (zoritta2002 at yahoo dot fr)
14 February 2008 11:52:33
hello
i had installed asterisk on my system
and in order to verify the installation i had written safe_asterisk and i hah this error

[root@localhost asterisk]# safe_asterisk
bash: safe_asterisk: command not found
[root@localhost asterisk]#
can you help me
Sandeep (hudder_san1 at yahoo dot com)
07 January 2008 21:26:34
asterisk install properly but call not through i try a call from softphone but in soft phone it's show user not register i check everthing that in sip.conf same user on allow=gsm but still call not through help me
haiau (weoka_85 at yahoo dot com)
22 November 2007 17:02:35
[root@Servidor zaptel-1.2.11]# make linux26
grep: /lib/modules/2.6.19-1.2895.fc6/build/include/linux/autoconf.h: Arquivo ou diretório não encontrado
ZAPTELVERSION="1.2.11" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else
mv version.h.tmp version.h ;
fi

rm -f version.h.tmp
/lib/modules/2.6.19-1.2895.fc6/build
You do not appear to have the sources for the 2.6.19-1.2895.fc6 kernel installed.
make: ** [linux26] Error 1
please help me
Anggun Gugun Gumati (anggun dot gugun at gmail dot com)
24 October 2007 05:33:13
hello forum.......

i have problem when install zaptel. its my specification system :

- kernel linux-1.16.20
- zaptel 1.2.12

when process compile (use 'make' command), system work fine and no error. but when install (use 'make install' command) on last line show Error 127.

thanks .....
Anggun Gugun Gumati (anggun dot gugun at gmail dot com)
24 October 2007 05:33:07
hello forum.......

i have problem when install zaptel. its my specification system :

- kernel linux-1.16.20
- zaptel 1.2.12

when process compile (use 'make' command), system work fine and no error. but when install (use 'make install' command) on last line show Error 127.

thanks .....
indrajit (inrathod at orgltd dot com)
18 October 2007 12:31:04
Dear Guru,
I had installed Asterisk only bcz i want to use via soft phone only.
Instalaltion done successfully as per the instruction.
But when i give command service asterisk status, massage back with unrecognize service.
Pl help me to solve my problem.
Mu kernel version is 2.6.22.2-42.fc6
Thanks in advance.
Indrajit
anky (ankycooper at yahoo dot co dot uk)
16 October 2007 22:26:44
Hi
I Installed Asterisk 0n FC7 Sevral Times | Reformatted the entie OS Tried again still I Face the Same ISSUE

Intallation Goes Fine...But there is no service created for asterisk ...Hence its of no use...

[root@test ~]# service asterisk status
asterisk: unrecognized service

[root@test ~]# chkconfig --list |grep ast

Returns no results

Any help ?? i cant even connect to asterisk -r

Grant (grantg at mrit dot co dot za)
03 October 2007 08:22:50
I had a problem with zaptel giving me an error,. something like this:
make[1]: Entering directory `/usr/src/zaptel-1.4.0/menuselect'
make[2]: Entering directory `/usr/src/zaptel-1.4.0/menuselect'
make[2]: `menuselect' is up to date.
make[2]: Leaving directory `/usr/src/zaptel-1.4.0/menuselect'
make[1]: Leaving directory `/usr/src/zaptel-1.4.0/menus

My kernel number is 2.6.21-1.3194.fc7.

to fix it i ran:

yum install kernel-devel-2.6.21-1.3194.fc7

Change it to suite your kernel number
jehovani (jehovani_wilson at hotmail dot com)
14 September 2007 10:17:11
comment effacer les paquétages sur linux fédora core 6
mourad (mourad dot 012001 at gmail dot com)
28 August 2007 12:06:47
I start to install Asterisk but when I puts
make linux26 to install Zaptel. I had yhis message :

[root@localhost zaptel-1.2.11]# make linux26
grep: /lib/modules/2.6.20-2925.9.fc7xen/build/include/linux/autoconf.h: Aucun fichier ou répertoire de ce type
ZAPTELVERSION="1.2.11" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else
mv version.h.tmp version.h ;
fi

rm -f version.h.tmp
/lib/modules/2.6.20-2925.9.fc7xen/build
You do not appear to have the sources for the 2.6.20-2925.9.fc7xen kernel installed.
make: *** [linux26] Erreur 1

Can you help me
Mithilesh Kumar (kumar dot mithilesh at gmail dot com)
27 August 2007 15:13:56
Hi,

I am getting error while installing the asterisk-1.4.11 server.

I have completed till this point:
Installing Libpri:
cd /path/to/source/libpri
make
make install


Installing Zaptel:
cd /usr/src/asterisk/zaptel
# if you have a 2.4 kernel you should type just make
make
# if you have a 2.6 kernel you should type make linux26
make linux26 - if you have a 2.6 kernel
make install

Getting error during :

Installing Asterisk:

cd /usr/src/asterisk/asterisk
# before making Asterisk you have to install mpg123 package (to be able to play mp3 files for music on hold).
make mpg123
# for Asterisk v1.4 you should start configure script
./configure
make
make install
make samples

Error as below:
Please suggest me if there is someting wrong.
Thanks in Advance.
Error----------------------------------
make: Warning: File `Makefile' has modification time 1.1e+06 s in the future
****
**** The configure script must be executed before running 'make'.
**** Please run "./configure".
****
make: *** [makeopts] Error 1
[root@135 asterisk-1.4.11]#

OatMicro (oatmicro at gmail dot com)
21 August 2007 19:27:23
I just compile Zaptel-1.4.5 and during 'make install' process. I got this error
-----------------------------------------------
make: *** No rule to make target `install-inlcude', needed by `install-programs'. Stop.
-----------------------------------------------
I don't have hardware card and want to use zaptel for MOH or IVR application.

Please recommend me how to fix this case. Thank you.
Prathap (prathap5_3 at yahoo dot co dot in)
02 August 2007 08:26:09
Hi There,

I followed the above pocedure and I Installed an Asterisk server on Fedora Core,
I can able to run the Asterisk Server successfully. But the problem is, my softphone(Xlite) is not getting registered with Asterisk server. From softphone Register request were sent and the Asterisk respond with "Destination Unreachable (Host Administratively prohibited)"

But i can able to ping the Asterisk server from a PC(Where softphone is residing) and vice versa.

Please give me your suggestions to make a SIP call successfully.

Thanks,
Prathap
Ryan (ryan dot sajid at arctern dot com)
26 May 2007 16:04:52
Hi Guyz,



I got Asterisk up running. Thanks Anyways.



However, I was unable to install FreePBX (AMP). Here is the error msg that I am getting.

[root@localhost freepbx-2.2.1]# ./install_amp --username=root --password=******
Checking for PEAR DB..OK
Checking for PEAR Console::Getopt..OK
Using username: root
Using password: ****
Checking user..OK
Checking for /etc/amportal.conf..OK
Reading /etc/amportal.conf..OK
Checking for /etc/asterisk/asterisk.conf..OK
Reading /etc/asterisk/asterisk.conf..OK
Using asterisk as PBX Engine
Checking for Asterisk 1.2..OK
Checking for selinux..OK
Connecting to database..FAILED
Try running ./install_amp --username=user --password=pass (using your own user and pass)
[FATAL] Cannot connect to database
[root@localhost freepbx-2.2.1]#
Ryan (ryan dot sajid at arctern dot com)
25 May 2007 16:14:13
Heiii, I got another prob when I install FreePBX 2.2 (AMP) on my Asterisk Server. I am getting the following error.

Please help

Regards,
Ryan



[root@localhost freepbx-2.2.1]# ./install_amp --username=root --password=ver0$8
Checking for PEAR DB..OK
Checking for PEAR Console::Getopt..OK
Using username: root
Using password: ****
Checking user..OK
Checking for /etc/amportal.conf..OK
Reading /etc/amportal.conf..OK
Checking for /etc/asterisk/asterisk.conf..OK
Reading /etc/asterisk/asterisk.conf..OK
Using asterisk as PBX Engine
Checking for Asterisk 1.2..OK
Checking for selinux..OK
Connecting to database..FAILED
Try running ./install_amp --username=user --password=pass (using your own user and pass)
[FATAL] Cannot connect to database
[root@localhost freepbx-2.2.1]#
Ryan Sajid (ryan dot sajid at arctern dot com)
23 May 2007 11:10:28
Thanks, I got it to work...
By the way, Can we use Cisco ATA 186 as FXO with Asterisk?

Please suggest.

Thanks in Advance:)
Ryan
Ryan (ryan dot sajid at arctern dot com)
21 May 2007 10:37:40
Hi Experters,

I was trying to install the Asterisk 1.2.18. I was able ti instal lipri but Zaptel makes some prob. here is the screen what I am getting

make linux26
make: *** No rule to make target `linux26'. Stop.

My kernal is
rpm -q kernel-devel

Please help me out.

Best Regards,
Ryan
George (style at nm dot ru)
10 May 2007 09:32:47
If I do 'make clean' for asterisk past install GUI, Do I reinstall GUI yet ?
Patrick Greene (patrick dot greene at evot dot net)
07 May 2007 20:30:50
Kudos on the excellent tutorial.
tiemchick (chick12a5 at yahoo dot com)
18 April 2007 13:24:37
Hi!
i install all as your guide but i have some error here:
grep: /lib/modules/2.6.20-1.2933.fc6/build/include/linux/autoconf.h: No such file or directory
make[1]: Entering directory `/usr/src/zaptel-1.4.0/menuselect'
make[2]: Entering directory `/usr/src/zaptel-1.4.0/menuselect'
make[2]: `menuselect' is up to date.
make[2]: Leaving directory `/usr/src/zaptel-1.4.0/menuselect'
make[1]: Leaving directory `/usr/src/zaptel-1.4.0/menuselect'
You do not appear to have the sources for the 2.6.20-1.2933.fc6 kernel installed.
make: *** [linux26] Error 1

here is much greatest chance to recieve answer there
Thanks you!
Will (w4wwm at knology dot net)
15 April 2007 22:19:13
Hello Asterisk guru

I just compile Asterisk 1.2.17 and once I 'ed typed safe_asterisk it give me an error to say Asterisk died with code 1. Then Asterisk tries to automatically start back up but give another message that mpg123: no process killed.

Will
RajDeep Singh (rajdeeprandhawa at gmail dot com)
11 April 2007 07:51:56
:) Hey it works fine..... thank you very much.
Juan Pablo Schürmann (petayem at vtr dot net)
23 March 2007 07:28:06
Hello from Chile..
I was installing zaptel for complete the installation of the asterisk, but, the first time i forgot the gnutls-devel, and the "make linux26" stop with an error.
After install the gnutls i make a "make clean" and the a "maka linux26", but this error appear:
[root@petayem zaptel-1.4.0]# make linux26
make -C /lib/modules/2.6.20-1.2300.fc5/build SUBDIRS=/usr/src/zaptel-1.4.0 modules
make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2300.fc5-i686'
CC [M] /usr/src/zaptel-1.4.0/zttranscode.o
/usr/src/zaptel-1.4.0/zttranscode.c: En la función âzt_tc_openâ:
/usr/src/zaptel-1.4.0/zttranscode.c:192: error: uso inválido del tipo indefinido âstruct pageâ
/usr/src/zaptel-1.4.0/zttranscode.c:193: error: uso inválido del tipo indefinido âstruct pageâ
/usr/src/zaptel-1.4.0/zttranscode.c:194: error: incremento de puntero a estructura desconocida
/usr/src/zaptel-1.4.0/zttranscode.c:194: error: aritmética en puntero a un tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:195: error: declaración implícita de la función âSetPageReservedâ
/usr/src/zaptel-1.4.0/zttranscode.c: En la función âztc_releaseâ:
/usr/src/zaptel-1.4.0/zttranscode.c:208: error: uso inválido del tipo indefinido âstruct pageâ
/usr/src/zaptel-1.4.0/zttranscode.c:209: error: uso inválido del tipo indefinido âstruct pageâ
/usr/src/zaptel-1.4.0/zttranscode.c:210: error: incremento de puntero a estructura desconocida
/usr/src/zaptel-1.4.0/zttranscode.c:210: error: aritmética en puntero a un tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:211: error: declaración implícita de la función âClearPageReservedâ
/usr/src/zaptel-1.4.0/zttranscode.c: En la función âzt_tc_mmapâ:
/usr/src/zaptel-1.4.0/zttranscode.c:370: error: puntero deferenciado a tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:376: error: puntero deferenciado a tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:376: error: puntero deferenciado a tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:378: error: puntero deferenciado a tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:378: error: puntero deferenciado a tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: declaración implícita de la función âremap_pfn_rangeâ
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: puntero deferenciado a tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: âPAGE_SHAREDâ no se declaró aquí (primer uso en esta función)
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: (Cada identificador no declarado solamente se reporta una vez
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: ara cada funcion en la que aparece.)
make[2]: *** [/usr/src/zaptel-1.4.0/zttranscode.o] Error 1
make[1]: *** [_module_/usr/src/zaptel-1.4.0] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2300.fc5-i686'
make: *** [linux26] Error 2
[root@petayem zaptel-1.4.0]# make clean
make[1]: Entering directory `/usr/src/zaptel-1.4.0/menuselect'
rm -f menuselect *.o
make[2]: Entering directory `/usr/src/zaptel-1.4.0/menuselect/mxml'
/bin/rm -f mxmldoc.o testmxml.o mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o libmxml .a mxmldoc doc/mxml.3 doc/mxmldoc.1 testmxml mxml.xml
/bin/rm -f mxmldoc-static libmxml.a
/bin/rm -f *.bck *.bak
/bin/rm -f config.cache config.log config.status
/bin/rm -f -r autom4te*.cache
make[2]: Leaving directory `/usr/src/zaptel-1.4.0/menuselect/mxml'
make[1]: Leaving directory `/usr/src/zaptel-1.4.0/menuselect'
rm -f torisatool makefw tor2fw.h radfw.h
rm -f fxotune fxstest sethdlc-new ztcfg ztdiag ztmonitor ztspeed zttest zttool
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f libtonezone.so libtonezone.a *.lo
make -C /lib/modules/2.6.20-1.2300.fc5/build SUBDIRS=/usr/src/zaptel-1.4.0 clean
make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2300.fc5-i686'
CLEAN /usr/src/zaptel-1.4.0/.tmp_versions
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2300.fc5-i686'
rm -f xpp/*.ko xpp/*.mod.c xpp/.*o.cmd
rm -f xpp/*.o xpp/*.mod.o
rm -rf .tmp_versions
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f fxotune
rm -f core
rm -f ztcfg-shared fxstest
rm -rf misdn*
rm -rf mISDNuser*
[root@petayem zaptel-1.4.0]# make linux26
make[1]: Entering directory `/usr/src/zaptel-1.4.0/menuselect'
make[2]: Entering directory `/usr/src/zaptel-1.4.0/menuselect'
make[3]: Entering directory `/usr/src/zaptel-1.4.0/menuselect/mxml'
gcc -O -Wall -c mxml-attr.c
gcc -O -Wall -c mxml-entity.c
gcc -O -Wall -c mxml-file.c
gcc -O -Wall -c mxml-index.c
gcc -O -Wall -c mxml-node.c
gcc -O -Wall -c mxml-search.c
gcc -O -Wall -c mxml-set.c
gcc -O -Wall -c mxml-private.c
gcc -O -Wall -c mxml-string.c
/bin/rm -f libmxml.a
/usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o
a - mxml-attr.o
a - mxml-entity.o
a - mxml-file.o
a - mxml-index.o
a - mxml-node.o
a - mxml-search.o
a - mxml-set.o
a - mxml-private.o
a - mxml-string.o
ranlib libmxml.a
make[3]: Leaving directory `/usr/src/zaptel-1.4.0/menuselect/mxml'
gcc -Wall -o menuselect.o -g -c -D_GNU_SOURCE menuselect.c
gcc -Wall -o menuselect_curses.o -g -c -D_GNU_SOURCE menuselect_curses.c
gcc -Wall -o strcompat.o -g -c -D_GNU_SOURCE strcompat.c
gcc -g -Wall -o menuselect menuselect.o menuselect_curses.o strcompat.o mxml/libmxml.a -lncurses
make[2]: Leaving directory `/usr/src/zaptel-1.4.0/menuselect'
make[1]: Leaving directory `/usr/src/zaptel-1.4.0/menuselect'
gcc gendigits.c -lm -o gendigits
./gendigits > tones.h
gcc -o makefw makefw.c
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
make -C /lib/modules/2.6.20-1.2300.fc5/build SUBDIRS=/usr/src/zaptel-1.4.0 modules
make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2300.fc5-i686'
CC [M] /usr/src/zaptel-1.4.0/pciradio.o
CC [M] /usr/src/zaptel-1.4.0/tor2.o
CC [M] /usr/src/zaptel-1.4.0/torisa.o
/usr/src/zaptel-1.4.0/torisa.c:1141: aviso: se definió âset_tor_baseâ pero no se usa
CC [M] /usr/src/zaptel-1.4.0/wcfxo.o
CC [M] /usr/src/zaptel-1.4.0/wct1xxp.o
CC [M] /usr/src/zaptel-1.4.0/wctdm.o
CC [M] /usr/src/zaptel-1.4.0/wctdm24xxp.o
CC [M] /usr/src/zaptel-1.4.0/wcte11xp.o
CC [M] /usr/src/zaptel-1.4.0/wcusb.o
CC [M] /usr/src/zaptel-1.4.0/zaptel.o
/usr/src/zaptel-1.4.0/zaptel.c:226: aviso: se definió âfcstabâ pero no se usa
CC [M] /usr/src/zaptel-1.4.0/ztd-eth.o
/usr/src/zaptel-1.4.0/ztd-eth.c:199: aviso: inicialización desde un tipo de puntero incompatible
CC [M] /usr/src/zaptel-1.4.0/ztd-loc.o
CC [M] /usr/src/zaptel-1.4.0/ztdummy.o
CC [M] /usr/src/zaptel-1.4.0/ztdynamic.o
CC [M] /usr/src/zaptel-1.4.0/zttranscode.o
/usr/src/zaptel-1.4.0/zttranscode.c: En la función âzt_tc_openâ:
/usr/src/zaptel-1.4.0/zttranscode.c:192: error: uso inválido del tipo indefinido âstruct pageâ
/usr/src/zaptel-1.4.0/zttranscode.c:193: error: uso inválido del tipo indefinido âstruct pageâ
/usr/src/zaptel-1.4.0/zttranscode.c:194: error: incremento de puntero a estructura desconocida
/usr/src/zaptel-1.4.0/zttranscode.c:194: error: aritmética en puntero a un tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:195: error: declaración implícita de la función âSetPageReservedâ
/usr/src/zaptel-1.4.0/zttranscode.c: En la función âztc_releaseâ:
/usr/src/zaptel-1.4.0/zttranscode.c:208: error: uso inválido del tipo indefinido âstruct pageâ
/usr/src/zaptel-1.4.0/zttranscode.c:209: error: uso inválido del tipo indefinido âstruct pageâ
/usr/src/zaptel-1.4.0/zttranscode.c:210: error: incremento de puntero a estructura desconocida
/usr/src/zaptel-1.4.0/zttranscode.c:210: error: aritmética en puntero a un tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:211: error: declaración implícita de la función âClearPageReservedâ
/usr/src/zaptel-1.4.0/zttranscode.c: En la función âzt_tc_mmapâ:
/usr/src/zaptel-1.4.0/zttranscode.c:370: error: puntero deferenciado a tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:376: error: puntero deferenciado a tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:376: error: puntero deferenciado a tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:378: error: puntero deferenciado a tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:378: error: puntero deferenciado a tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: declaración implícita de la función âremap_pfn_rangeâ
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: puntero deferenciado a tipo de dato incompleto
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: âPAGE_SHAREDâ no se declaró aquí (primer uso en esta función)
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: (Cada identificador no declarado solamente se reporta una vez
/usr/src/zaptel-1.4.0/zttranscode.c:384: error: ara cada funcion en la que aparece.)
make[2]: *** [/usr/src/zaptel-1.4.0/zttranscode.o] Error 1
make[1]: *** [_module_/usr/src/zaptel-1.4.0] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2300.fc5-i686'
make: *** [linux26] Error 2


-----------------------
If any body can help me please i'll be very thank you

Juan Pablo Schürmann
petayem@vtr.net
ddd (ddd at ddd dot com)
17 March 2007 05:05:50
make linux26 is not used anymore.
try just using make
Ryan (ryan dot sajid at arctern dot com)
06 March 2007 17:17:02
Hi Guys,

Here I am trying to install the version 1.2.1 and when I type cd /path/to/source/libpri it says no such file or directory
souvik (souvik_sadhu at yahoo dot com)
05 March 2007 08:24:28
i think u have given cd/path/to/source/libpri
but..
u have to go to your libpri directory.
then check...
i think it mudt be i /usr/src/libpri....

so .. go like this and chech
souvik
Mardos (mar2s at hotmail dot com)
04 March 2007 08:01:34
I have just been trying to install the latest version of asterisk in a new machine:
Asterisk 1.2.16
Zaptel 1.2.15
Libpri 1.2.4
Addons 1.2.5
Sounds 1.2.1
But unfortunately zaptel does not compile. it fails sending the error:
[root@urpbx-1 zaptel-1.2.15]# make linux26
make: *** No rule to make target `linux26'. Stop.

This machine is a brand new AMD dual core processor running fc5
[root@urpbx-1 zaptel-1.2.15]# uname -a
Linux urpbx-1 2.6.19-1.2288.fc5smp #1 SMP Sat Feb 10 15:33:48 EST 2007 i686 athlon i386 GNU/Linux

I installed the same in another brand new normal AMD processor, also running fc5 without problems.
Any advice to overcome this issue, I would very much appreciate.
chrismate (chrismate at hotmail dot co dot uk)
28 February 2007 11:18:10
Hy Guys!!! When I tape the following command:

cd/path/to/source/libpri

The machine tels me that the folder or directory does not exist.
If anyone could have a solution, it would be very kind. Thanks in advance.
ghoz (aguzgozali at yahoo dot com dot au)
27 February 2007 08:51:34
Just install your kernel-devel-2.6.xxxxxx.rpm
because the zaptel want to search the source of our kernel.

Best Regards,

Your friend
souvik (souvik_sadhu at yahoo dot com)
20 February 2007 10:14:28
hi..
After all these steps i got this error..
Please help me out.


# make linux26
grep: /lib/modules/2.6.18-1.2798.fc6xen/build/include/linux/autoconf.h: No such file or directory
ZAPTELVERSION="" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else
mv version.h.tmp version.h ;
fi

rm -f version.h.tmp
/lib/modules/2.6.18-1.2798.fc6xen/build
You do not appear to have the sources for the 2.6.18-1.2798.fc6xen kernel installed.
make: *** [linux26] Error 1

souvik
Daniel (lctdaniel at hotmail dot com)
27 January 2007 21:36:00
[root@Servidor zaptel-1.2.11]# make linux26
grep: /lib/modules/2.6.19-1.2895.fc6/build/include/linux/autoconf.h: Arquivo ou diretório não encontrado
ZAPTELVERSION="1.2.11" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else
mv version.h.tmp version.h ;
fi

rm -f version.h.tmp
/lib/modules/2.6.19-1.2895.fc6/build
You do not appear to have the sources for the 2.6.19-1.2895.fc6 kernel installed.
make: ** [linux26] Erro 1
Amit (madhoriya_22 at yahoo dot com)
23 January 2007 13:13:21
Asterisk is allready installed on system. I need to know how it works...... Can anyone help me in this regard
Stefan Lekov (stefan dot lekov at securax dot org)
15 December 2006 14:12:12
Hi Guido Fernando Rojas,

You should install your kernel sources. Try to update your kernel and install your kernel sources. You can achive this by executing the command: `yum install kernel kernel-devel` (without the quotes)

Regards Stefan Lekov - Arcopix

Oh and by the way next time write in our forums (there is much greatest chance to recieve answer there)
Guido Fernando Rojas (gfrojas at hotmail dot com)
13 December 2006 05:39:25
Shady, i followed all the steps and it worked pretty fine for me. However, I run into a little proble when executing #make linux26. You might be having the same problem (perhaps you didn't realize it). It says something like i don't have the source code files for the current kernel version. Try this: Change to /lib/modules/2.6.17-1.2142_FC4 and then create a soft link to the sources in /usr/src/kernels/2.6.x-y.abcd_FC# (I made up the rest of the release since i do not know which one is installed in your machine). Then execute this commands (from /lib/modules/2.6.17-1.2142_FC4 ):
#mv build build.bak
#ln -s ../../../usr/src/kernels/2.6.x-y.abcd_FC build
# cd /usr/src/asterisk/zaptel
# make linux26

Follows the next steps. Should work
Hope this can help you. Let me know please
Marco Trujillo (marcotrujillo at hotmail dot com)
07 December 2006 15:03:07
Excelente guia.
Stefan Lekov (arcopix at gmail dot com)
07 December 2006 00:29:43
Ensure that you have /usr/sbin/ in your $PATH variable (run `echo $PATH' to show the contents of the $PATH)

You can try to run it that way:
/usr/sbin/safe_asterisk
/usr/sbin/asterisk -vvvvvr

By the way, when you have questions, please refer to our forums: http://asteriskguru.com/board/
shady (shady at jeemsolutions dot com)
06 December 2006 12:02:02
Hi,

I followed the instructions on this page (http://www.asteriskguru.com/tutorials/asterisk_installation_compilation_fedora.html) and got rid of all compilation errors.. all packages were installed alright with absolutely no errors yet I get "bash: asterisk: command not found" when i run the "asterisk" or "asterisk -rvvvv" or "safe_asterisk" on the console.

I have a GoDaddy dedicated server and here's the result for "uname -a" for you.

Linux ip-208-109-119-199.ip.secureserver.net 2.6.17-1.2142_FC4 #1 Tue Jul 11 22:41:14 EDT 2006 i686 i686 i386 GNU/Linux

"Uname -r" gives this "2.6.17-1.2142_FC4"

Kindly advise what could be wrong.

Thanks,
Shady
 
Add Comment
Name:
Email:
Comment:
In order to prevent automatic posting on our website, we kindly request you to type in the number you see in the picture below.
Image Verification:
 

Latest Headlines:

  • T.38 faxing with Zoiper 2.15 is now easier than ever
    section: voip software
  • Asterisk 1.4.21 Released
    section: Asterisk
  • Asterisk 1.4.20 Released
    section: Asterisk
  • Asterisk 1.4.20-rc2 Released
    section: Asterisk
  • Asterisk 1.4.20-rc1 Now Available
    section: Asterisk
  • News Archives (older news)

Latest Tutorials:

  • Sending Fax from Zoiper to Zoiper using T.38
    added 08/Dec/2008 18:16
  • VMAuthenticate (dialplan application)
    added 01/Mar/2008 15:57
  • Siptronic ST-530
    added 06/Nov/2007 17:57
  • Siemens C455 IP hardphone
    added 05/Nov/2007 10:24
  • Zoiper
    added 22/Oct/2007 17:53

Latest Comments:

  • nice...
    tutorial: X-Lite - SIP softphone
  • Badly need your help. Things are only im...
    tutorial: Grandstream HandyTone-486 - SIP Analog Telephone Adapter (ATA)
  • how do i rectify this problem? all incom...
    tutorial: Troubleshooting
  • How are you. Summer afternoon - Summer a...
    tutorial: Cisco 7960 IP Phone - SIP firmware version
  • where is the tar file you mention above ...
    tutorial: Cisco 7960 IP Phone - SIP firmware version
 
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™