Summary:ASTERISK-01351: *CLI> remove extension ? causes server to freeze instantly
Reporter:jesses (jesses)Labels:
Date Opened:2004-04-05 22:44:50Date Closed:2004-09-25 02:52:16
Versions:Frequency of
Description:in the console type
*CLI> remove extension ?
server freezes instantly
Comments:By: jesses (jesses) 2004-04-05 22:48:03

The crash happens as soon as you type ?, you dont have to hit enter. I'm using the latest head

By: heison (heison) 2004-04-05 23:59:02

What happens when you use asterisk -vvvr? Does it just exits from the remote console and the server keeps running?

By: heison (heison) 2004-04-06 00:12:33

Since you're trying to do command completion, it's likely that your extensions.conf is bigger than the buffer size used in the CLI.

Try a smaller extensions.conf.

By: twisted (twisted) 2004-04-06 01:33:39

Unable to reproduce with current cvs -head

*CLI> show version
Asterisk CVS-04/05/04-05:19:58 built by root@serenity.toastido.net on a i686 running Linux

Advice is that it is indeed the size of your extensions.conf file.  I tried both with

[root@serenity asterisk]# du -b extensions.conf
5762    extensions.conf

and a smaller version (2052bytes), and neither caused a problem.

By: James Golovich (jamesgolovich) 2004-04-06 03:43:13

Fixed in CVS