Compiling asterisk with mysql support

Report
Question

I have a working asterisk test box that I'm rebuilding with mysql support
so that I can test cdr stats (http://www.cdr-stats.org/). When I run 'make memuselect', I select res_config_mysql, app_mysql,
cdr_mysql, and app_saycountpl components. The build/install process goes
fine i.e. no errors. However, I'm getting a seg fault error when starting
asterisk. # /usr/sbin/safe_asterisk: line 145: 27014 Segmentation fault (core
dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS}
> /dev/${TTY} 2>&1 < /dev/${TTY} CentOS release 5.7
asterisk-1.8.9.2
dahdi-linux-complete-2.6.0
libpri-1.4.12 What am I missing?

Asterisk Users 3.4 years ago 7 Answer

Should you "ever" use nat=no?

Report
Question

I've been lurking on the dev discussion on creating nat=auto. It all
leads me to think there's no reason to use nat=no. We have about 60 internal sip extensions connected to an multihomed
asterisk box where the external ip is not nat'ed. Each of the internal
sip contexts has nat=no. On startup I get a slew of warnings about
intruders being able to distinguish real extensions. But that isn't
right, is it? Or if it is, wouldn't the intruder have to be on the
"inside" 10.0.0.0 net? But so what? Does nat=no buy you…

Asterisk Users 3.4 years ago 6 Answer

AstLinux

Report
Question

AstLinux is a custom Linux distribution centered around Asterisk, the Open Source PBX. Although Asterisk remains the core focus, other VoIP applications such as FreeSWITCH are also available. AstLinux has many unique features that make it ideal for embedded and commercial Asterisk based solutions. AstLinux contains powerful networking features including:

Supported platforms include:

write system command output into a variable

Report
Question

Hey Guys, i would like to write the output from my bash script into a Variable, that is readable by Asterisk Using this:
Set(var1=${FILE(/dev/shm/tempfile.txt,0,6)}) is not very helpful because this command reading fixed character length. If i read 6 characters and in the file only 3 i get "123 "
Can anyone help me ? Thanx a lot for help Daniel

Asterisk Users 4.3 years ago 0 Answer

Failed To Open /dev/dahdi/transcode

Report
Question

This error is usually present when you try load "codec_dahdi.so" in your modules.conf file while not having a hardware transcoder. The solution for this error is simple, you can either ignore that error message or add “noload => codec_dahdi.so” to your modules.conf if you do not have a hardware transcoder installed in your system. You might face this error if, for example have Asterisk 1.8.2.3 + A102D Sangoma card 2 port T1.

Asterisk Users 4.3 years ago 2 Answer