* You are viewing Posts Tagged ‘linux’

Asterisk 11.6.0 Not Starting Up

Hello Friends:

I’ve just installed Asterisk 11 on my Linux (debian) server but it is not starting up when trying with “asterisk -vvvvvvvvvvc” and “service asterisk start”. Starting process just stop and shows: “Illegal instruction” as final output.

Looking at logs I fouind at /var/log/asterisk/messages :

[Nov 25 11:09:26] Asterisk 11.6.0 built by root @ (my-pbx-server) on a i686
running Linux on 2013-11-25 15:10:00 UTC
[Nov 25 11:09:26] NOTICE[24118] cdr.c: CDR simple logging enabled.
[Nov 25 11:09:26] NOTICE[24118] loader.c: 205 modules will be loaded.
[Nov 25 11:09:26] NOTICE[24118] res_odbc.c: res_odbc loaded.
[Nov 25 11:09:26] NOTICE[24118] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Nov 25 11:09:26] NOTICE[24118] config.c: Registered Config Engine curl
[Nov 25 11:09:26] NOTICE[24118] config.c: Registered Config Engine odbc
[Nov 25 11:09:26] NOTICE[24118] config.c: Registered Config Engine sqlite3

Any help would be welcome. My Linux distro is: Linux (my-ip-address)
3.11.6-x86-linode54 #1 SMP Wed Oct 23 15:22:49 EDT 2013 i686 GNU/Linux

Elder D. Arohuanca Lima – Peru

Asterisk and OpenVPN + SIP configuration

These are the instructions to configure OpenVPN + SIP configuration, based on a brainstorming discussion of the Asterisk Users Mailing List.

The server is running on a uClinux appliance, with /dev/net/tun, and OpenVPN is 2.0.9. The clients will be Windows hosts connecting through Ethernet in hotels or public wifi hotspots.

1. Install OpenVPN on Asterisk server. On appliance, there’s only a single binary /bin/openvpn, and configuration files are in /etc/openvpn/.

To be positive SIP/RTP packets go through the OpenVPN tunnel, make sure the firewall in front of the OpenVPN/Asterisk server only has OpenVPN port open (default: UDP 1194).

2. On client, from http://www.openvpn.net, download and install OpenVPN for Windows, which includes Service + GUI

3. If using an appliance with just the openvpn binary, use a workstation to install the OpenVPN package and create certificates + keys: apt-get install openvpn (more…)

BRI Installation

On 06/05/2012 12:39 AM, Klaverstyn, David C wrote:
> Hi Guys,
>
> All my installs are based on PRI ISDN. I now have a site that I need to
> install BRI. As I have not done a BRI install before I’m wanting to get
> some information from the people in the know if I need to do anything
> special.
>
> Typically I install libpri, dahdi Linux and tools, asterisk
>
> …and then configure dahdi as one does for the required hardware. Is
> the same true for BRI with the exception of the libpri? I have this
> feeling that I need to install some other Linux drivers or something for
> BRI.
>
> I’ve purchased a Digium HB8 card and I don’t see any mention of this in
> /etc/dahdi/modules. I’ve looked over the documentation at
> https://www.digium.com/en/supportcenter/documentation/viewdocs/H8 but
> there doesn’t seem to be anything there that tells me how to configure
> dahdi or asterisk.
>
> If someone could give me some direction that would be greatly appreciated.

The Hx8 User’s Manual (here:
http://docs.digium.com/H8/hx8_series_manual.pdf) has an entire chapter
on software installation and configuration, including DAHDI, libpri and
Asterisk.

chan_dahdi with asterisk 1.4 and new Linux versions

Hi All;

First of all, I am trying to install vicidial and actually vicidial requires asterisk 1.4 and can not work with asterisk 1.8, in addition there is a special version of asterisk 1.4 that is required for vicidial which is asterisk-1.4.39.1-vici.

The problem that it look like there is a problem with that asterisk 1.4 is not able to buld chan_dahdi if the linux version is new (like fedora core 16), while asterisk 1.8 can work fine with new linux versions.

What is happening with me that when I used fedora core 16, I compiled and installed dahdi 2.6 and then compiled and installed asterisk 1.4 and it did not create chan_dahdi. I tried to select it by running make menuselect and I discover that it is not possible !! By the way: this problem is not existed with old linux versions ..

How I can resolve this problem? How I can let asterisk 1.4 ables to build chan_dahdi with new fedora (or ubuntu) versions?

Again, I do not see this problem when I am using asterisk 1.8 with new linux versions.

Appreciate the kindly help.
Regards
Bilal

dahdi versions before 2.5 compilation error and ubuntu

Hi All;

It look like DAHDI versions that before 2.5 have a problem to be compiled on ubuntu, can someone check below and advise me how to fix this?

The output of the uname -a is:

Linux House 3.0.0-17-server #30-Ubuntu SMP Thu Mar 8 22:15:30 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

I am trying to install DAHDI on ubuntu and I faced a problem if I am compiling versions before 2.5, but if I tried 2.5 and newer then it is working fine.

The error is:

make[2]: Entering directory `/usr/src/linux-headers-3.0.0-17-server’
CC [M] /usr/src/dahdi-linux-complete-2.4.0+2.4.0/linux/drivers/dahdi/dahdi-base.o
/usr/src/dahdi-linux-complete-2.4.0+2.4.0/linux/drivers/dahdi/dahdi-base.c:52:28: fatal error: linux/smp_lock.h: No such file or directory
compilation terminated.
make[3]: *** [/usr/src/dahdi-linux-complete-2.4.0+2.4.0/linux/drivers/dahdi/dahdi-base.o] Error 1
make[2]: *** [_module_/usr/src/dahdi-linux-complete-2.4.0+2.4.0/linux/drivers/dahdi] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-3.0.0-17-server’
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/dahdi-linux-complete-2.4.0+2.4.0/linux’
make: *** [all] Error 2

Regards
Bilal

Problem installing asterisk 10.1.3 on SUSE

Hi gang,

I’ve put 10.X on about 15 different VM’s now, but I’ve run
into a buzzsaw on this one and my google-fu has failed me

Output of make

CC=”cc” CXX=”” LD=”” AR=”” RANLIB=”” CFLAGS=”” make -C menuselect
CONFIGURE_SILENT=”–silent” menuselect

make[1]: Entering directory `/usr/local/src/asterisk-10.1.3/menuselect’

make[1]: `menuselect’ is up to date.

make[1]: Leaving directory `/usr/local/src/asterisk-10.1.3/menuselect’

[LD] astdb2sqlite3.o db1-ast/libdb1.a -> astdb2sqlite3

/usr/lib64/gcc/x86_64-suse-linux/4.1.2/libstdc++.so: file not recognized:
File format not recognized

collect2: ld returned 1 exit status

make[1]: *** [astdb2sqlite3] Error 1

make: *** [utils] Error 2

uname -a

Linux xxxxxxxx 2.6.16.60-0.21-smp #1 SMP Tue May 6 12:41:02 UTC 2008 x86_64
x86_64 x86_64 GNU/Linux

Welcome to SUSE Linux Enterprise Server 10 SP2 (x86_64) – Kernel r (l).

Any suggestions?

Thanks in advance

Danny Nicholas