[Home]

Summary:ASTERISK-07138: asterisk -rx "EXTENSIONS RELOAD" locks up
Reporter:Tim Kelly (timkelly1980)Labels:
Date Opened:2006-06-09 16:21:37Date Closed:2006-06-12 22:58:09
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:If I run asterisk -rx "extensions reload" on my box which has just been rebooted I find that asterisk never returns (very annoying as I want a hotkey to reload the extensions during development), I have to hit CTRL-C.... not sure if it ever did reload the extensions.

As a workaround I find that if I increase the verbosity first so that the command produces output then it does return:

ie: asterisk -vvvvvvvvvvvvr <enter> <ctrl-C>
   asterisk -rx "EXTENSIONS RELOAD" <enter>

Although I am not interested in the output I have also noticed that when I run it with the verbosity work-around, the output is not as expected (see bug: 0007305).

Finally I found that the q switch does not behave as expected:

asterisk -vvvvvvvvvvvvr <ctrl-C>
asterisk -rqx "EXTENSIONS RELOAD" -> Produces verbose output still.
Comments:By: Tim Kelly (timkelly1980) 2006-06-09 16:26:03

Note: If your extensions file contains errors that might appear on console then you may not be able to reproduce this bug.

By: Russell Bryant (russell) 2006-06-11 16:34:52

Can you please try the patch suggested in 7305 and see if that affects this issue?

By: Tim Kelly (timkelly1980) 2006-06-11 18:01:33

Yay! thankyou so much the patch fixed this issue and also fixed the 7305 problem I was experiencing too.

The -q option is still is not behaving as expected though as it still creates output.... not that it really bothers me :)

By: Russell Bryant (russell) 2006-06-12 22:58:08

fixed in 1.2 and trunk in revisions 33753 and 33754