Really strange Hans I got the same problems. I reinstall all (asterisk + the libraries packages) from your repository. I used an Asus WL-500GP.
Topic: Need help on building kamikaze + asterisk
The content of this topic has been archived between 18 Apr 2018 and 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
but you compiled your own image from SVN; you should do it as in:
http://forum.openwrt.org/viewtopic.php?pid=64746#p64746
What is much better for you (and actually the only thing that is supported) :
install a distribution/tarball from:
http://downloads.openwrt.org/kamikaze/7.09/
and only _then_ install self-compiled packages/asterisk, as described above; that is what non-developers should do
Hans.
(Last edited by zandbelt on 13 Mar 2008, 08:39)
I did like zandbelt suggested (plain kamikaze) and everything runs fine. By the way, thank you for your work zandbelt.
t.
Hans, I can simply use the image provide by "http://downloads.openwrt.org/kamikaze/7.09/" but with this release I met a lot "segmentation fault". I had already used it with your asterisk.1.4.9 build, and asterisk ran perfectly although there were a lot of "segmentation fault".
I am going to make another image following your recommandation.
Hans, I can simply use the image provide by "http://downloads.openwrt.org/kamikaze/7.09/" but with this release I met a lot "segmentation fault". I had already used it with your asterisk.1.4.9 build, and asterisk ran perfectly although there were a lot of "segmentation fault".
I am going to make another image following your recommandation.
don't make an image yourself; put the pre-built image from http://downloads.openwrt.org/kamikaze/7.09/ on your router and then install asterisk 1.4.18 from my repository => no problems; I guess the segmentation faults in asterisk 1.4.9 are solved in 1.4.18
only when that works try compiling _packages_ yourself using the procedure described above
Hans.
I remember that even without installing asterisk on my asus wl-500gp box, I had "segmentation fault" with the pre-built "openwrt-brcm47xx-2.6-squashfs.trx " downloaded from http://downloads.openwrt.org/kamikaze/7.09/. See http://wiki.openwrt.org/OpenWrtDocs/Har … %28asus%29. I am afraid that this is a specific problem with the asus box. Any way, thanks a lot Hans.
If only one can give me his own pre-built image, so that I can test what's wrong in my openwrt building process.
I just install x-wrt + whiterussian + SD card
SD card is working and env. is setup correctly:
/etc/profile
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/mnt/sd/bin:/mnt/sd/sbin:/mnt/sd/usr/bin:/mnt/sd/usr/sbin
export LD_LIBRARY_PATH=/lib:/usr/lib:/mnt/sd/lib:/mnt/sd/usr/lib
I've installed asterisk-bc 1.0.3-1 from: http://12.176.248.4/ipkg on SD card
but when I try to start it:
/mnt/sd/etc/init.d/asterisk start
/mnt/sd/etc/init.d/asterisk: /mnt/sd/etc/init.d/asterisk: 20: /usr/sbin/asterisk: not found
Is it possible to run asterisk from SD card?
#Joseph
I have the same problem as palexy91.
I have build it from svn (10603) with asterisk 1.4.11 including the addons on clean ubuntu 7.04 with the latest updates.
There were some path errors in the files. I found development paths in my startup files on my router. I removed the paths from the config files. (S50asterisk, asterisk.conf)
If I start asterisk I have 3 processen. I got the same errors as palexy91.
I do not have a asterisk.ctl file in /var/run
I've had a few problems with asterisk14 - and I'm mostly there. The problem with the missing asterisk.ctl can be worked around - just need to modify init.d/asterisk to have this:
$DEST/usr/sbin/asterisk $OPTIONS -f 2>&1> /dev/null &
(or redirect to a file if you want to see debugging)
Don't forget the ampersand to put it in the background.
I also had to modify the makefile to include support for gsm codec - seeing as all the voicemail files are in gsm - it seems a bit strange not to include the gsm codec. I'll post a patch for this to dev.
I also had to modify the makefile to include support for gsm codec - seeing as all the voicemail files are in gsm - it seems a bit strange not to include the gsm codec. I'll post a patch for this to dev.
no need for that: it was already fixed for 1.4.18-2; see also:
http://forum.openwrt.org/viewtopic.php?pid=64720#p64720
the patch is in:
https://dev.openwrt.org/ticket/3196
try this and report if the init.d hack is still needed
Hans.
Hi Zandbelt.
Are you planning to make packages for asterisk-1.4.18.1 regarding the security issues?
http://www.asterisk.org/node/48466
cheers
t.
Are you planning to make packages for asterisk-1.4.18.1 regarding the security issues?
Patches put out by Hans for asterisk-1.4.18 is compatible with asterisk-1.4.18.1. In other words, you just need to modify the feed/packages/net/asterisk-1.4.x/Makefile to reflect the following:
PKG_VERSION:=1.4.18.1
PKG_MD5SUM:=a0d7ee4054a04529b745e60dd4e750c4
I've had a few problems with asterisk14 - and I'm mostly there. The problem with the missing asterisk.ctl can be worked around - just need to modify init.d/asterisk to have this:
$DEST/usr/sbin/asterisk $OPTIONS -f 2>&1> /dev/null &
(or redirect to a file if you want to see debugging)
I had to change the output re-direction as shown below:
$DEST/usr/sbin/asterisk $OPTIONS -f 2>&1 /dev/null &
Thanks mazilo. Everything worked fine. Allthough i had to remove libgcrypt.so from the hostsystem before the build compiled successfull.
root@OpenWrt:~# asterisk -C /usb/etc/asterisk/asterisk.conf -r
Asterisk 1.4.18.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 1.4.18.1 currently running on OpenWrt (pid = 784)
No entry for terminal type "xterm";
using dumb terminal settings.
Edit: tried to build chan_ooh323.so
But:
install -d -m0755 /home/thomas/kamikaze/build_mipsel/asterisk-addons-1.4.6/ipkg/asterisk14-chan-ooh323/usr/lib/asterisk/modules
install -m0755 /home/thomas/kamikaze/build_mipsel/asterisk-addons-1.4.6/ipkg-install/usr/lib/asterisk/modules/chan_ooh323.so /home/thomas/kamikaze/build_mipsel/asterisk-addons-1.4.6/ipkg/asterisk14-chan-ooh323/usr/lib/asterisk/modules/
install: cannot stat `/home/thomas/kamikaze/build_mipsel/asterisk-addons-1.4.6/ipkg-install/usr/lib/asterisk/modules/chan_ooh323.so': No such file or directory
make[3]: *** [/home/thomas/kamikaze/bin/packages/asterisk14-chan-ooh323_1.4.6-2_mipsel.ipk] Error 1
make[3]: Leaving directory `/home/thomas/packages/net/asterisk-addons-1.4.x'
make[2]: *** [asterisk-addons-1.4.x-compile] Error 2
make[2]: Leaving directory `/home/thomas/kamikaze/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/home/thomas/kamikaze'
make: *** [world] Error 2
Actual none off the asterisk-addons seems to build or to be more specific they don't seem to install because all of the modules exist in the package directory.
(Last edited by himbeere on 30 Mar 2008, 15:10)
I had to disable meetme (no libzonetone or whatever it's called) but I got it compiling.
The patch certainly fixes the forking/ asterisk.ctl problem.
However, still no-go on the gsm though - fails to register hooks when you load the code_gsm module. I've got something to try ('cause I had it working) - which is to specify a directly with --with-gsm
Ah - small problem. You need to add a dependency on libgsm! Thankyou for that.
Thanks mazilo. Everything worked fine. Allthough i had to remove libgcrypt.so from the hostsystem before the build compiled successfull.
If you had to remove libgrypt.so from the host system that was used to compile your OpenWRT + asterisk source, then something isn't right unless you were trying to do a native compilation.
Everything compiled fine now. I had a /etc/asteriskaddons.makeopts file. This obviously prevented the modules from being installed. Well if someone needs the packages you can download them from:
Hi,
Are the problems of only 3 asterisk process running solved ?
Palexy91.
Are the problems of only 3 asterisk process running solved ?
Have a look here.
The discussion might have continued from here.