Summary:ASTERISK-17194: Asterisk Remote Connection blocked while using with incoming IAX Fax (iaxmodem 2.x) and hylafax
Reporter:hobbystern (hobbystern)Labels:
Date Opened:2010-12-31 08:03:04.000-0600Date Closed:2011-06-07 14:05:17
Versions:Frequency of
Description:Hello Asterisk-Community,

while using asterisk -rx "command" for data exchange (setting asterisk database values remotely) AND receiving a iax fax with iaxmodem, faxgetty and hylafax the RX Function got blocked and cannot be recovered without killing asterisk nicely.

I am starting Asterisk with "safe_asterisk".

While blocked, the functionally of Asterisk is okay, asterisk receiving and making calls without any problems - but asterisk is "unable to connect to remote asterisk. asterisk.ctl exists?"

i checked asterisk.ctl and all the permissions user group as expected - asterisk:asterisk , i.e. permissions are 600 - this is the case before and after the blocked functionallity.

i wrote a script to check if the asterisk is able to connected remotely - if not, the script terminates asterisk nicely and restart it.

This Problem is reproduceable.

Any Data needed to check this?

System : Debian Lenny
Asterisk : Compiled from source
Other packages related : Dahdi(current), libpri(current), iax-0.2.2, hylafax 4.4.3, iaxmodem(current 2.x) AND for testing iaxmodem 1.x

I will make debugging output to give more details.

Thanks in advantage and a Happy New Year from Germany,



coming soon - what will be needed information?
Comments:By: Leif Madsen (lmadsen) 2011-01-05 09:42:33.000-0600

I'd suggest getting a 'core show locks' if at all possible and a backtrace from the running system when this happens.


By: hobbystern (hobbystern) 2011-01-06 03:35:34.000-0600

I will report this bug report - read the backtrace-howto. NoProblem.
My holiday starts in 5 days, so please give me 3 weeks of "sand'n'sun" - and hopefully - no blocking of rx in germany while i am enjoying a cocktail at the bar in africa :-)

More Infos coming soon - Problem is reproduciable while using iax AND rx.

BTW i cannot find a "core show locks" ? core show l(TAB) license..?!

By: Leif Madsen (lmadsen) 2011-01-06 14:08:38.000-0600

You need to enable DEBUG_THREADS in menuselect (Compiler Options). Also make sure DONT_OPTIMIZE is enabled.

I'm going to suspend this issue for now. Please re-open it upon your return and attachment of data.