Summary:ASTERISK-18128: It started to crash several times x day 3 to 4 days ago
Reporter:Private Name (falves11)Labels:
Date Opened:2011-07-12 09:36:06Date Closed:2011-09-07 10:51:42
Versions: Frequency of
Environment:Red Hat 6.1 fully patched. Not Centos, real Red Hat.Attachments:( 0) crash1.txt
( 1) crash2.txt
( 2) sip.conf
Description:I use multi-asterisk, several independent processes each one reading its configuration from a separate directory, and using a separate /var/run/aswteriskx directory. All of them work as root.
Comments:By: Private Name (falves11) 2011-07-12 09:36:49.625-0500

I cannot understand what is going on.

By: Private Name (falves11) 2011-07-12 09:50:12.976-0500

my sip.conf
Is there a way to discard all "REGISTER" packets? I guess I might be under attack, since my app does not require registration, and the crash is when handling a REGISTER  attempt. In any case, it should not crash.

By: Private Name (falves11) 2011-07-12 10:22:41.989-0500

I guess that the problem is that I am using multi-asterisk, but I only individualize two directories, and keep all the rest common. Can somebody shed some light on the point?
My asterisk.conf has this shape:

astetcdir => /etc/asterisk2
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdbdir => /var/lib/asterisk
astkeydir => /var/lib/asterisk
astdatadir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk2
astlogdir => /var/log/asterisk

By: Private Name (falves11) 2011-07-14 01:09:16.900-0500

I am using now a separate directory for each line in asteriks.conf, and it crashed again. It means it was unrelated. It seems to be the same REGISTER packet.

By: Leif Madsen (lmadsen) 2011-08-11 14:27:56.039-0500

Does it still do it if you remove the 'a' option from Dial() ?

By: Private Name (falves11) 2011-08-11 14:39:25.085-0500

No, I removed the (a) and it stopped crashing.

By: Leif Madsen (lmadsen) 2011-09-07 10:51:42.423-0500

This should be fixed in as I Qwell committed a fix for bit overlap.