[Home]

Summary:ASTERISK-11378: Remote Console Freezes on TAB completion
Reporter:Preston Marshall (bbhoss)Labels:
Date Opened:2008-02-05 06:25:54.000-0600Date Closed:2008-02-05 09:07:39.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The remote console (asterisk -r) will freeze if you do the following:
originate SIP/6000 application echo
(while the extension is still ringing, do this)
so<TAB>
You will be unable to do anything so long as the extension is ringing.  When the call is answered, it unfreezes the console, and will run any commands you typed in while it was frozen.

****** ADDITIONAL INFORMATION ******

I am using 1.6.0-beta2, but I have also tested this on 1.4.17.
Comments:By: Tzafrir Cohen (tzafrir) 2008-02-05 06:31:14.000-0600

A simpler way to replicate this for me (assuming you have a context called "demo". replace it with any other context name)

in the CLI:

dialplan add extension noanswer
originate Local/noanswer@demo application echo
so<tab>

When the tab is pressed there to complete, the remote asterisk console hangs. Asterisk seems to continue running as usual.

(Tested here is a patched 1.4.17)

By: Tilghman Lesher (tilghman) 2008-02-05 08:33:19.000-0600

So the actual issue, as you see it, is that the CLI Originate command doesn't return until the line is answered?

By: Digium Subversion (svnbot) 2008-02-05 09:06:29.000-0600

Repository: asterisk
Revision: 102378

U   branches/1.4/res/res_clioriginate.c

------------------------------------------------------------------------
r102378 | file | 2008-02-05 09:06:27 -0600 (Tue, 05 Feb 2008) | 4 lines

Perform dialing asynchronously when using the originate CLI command so the CLI does not appear to block.
(closes issue ASTERISK-11378)
Reported by: bbhoss

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=102378

By: Digium Subversion (svnbot) 2008-02-05 09:07:39.000-0600

Repository: asterisk
Revision: 102379

_U  trunk/
U   trunk/res/res_clioriginate.c

------------------------------------------------------------------------
r102379 | file | 2008-02-05 09:07:36 -0600 (Tue, 05 Feb 2008) | 12 lines

Merged revisions 102378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102378 | file | 2008-02-05 11:09:29 -0400 (Tue, 05 Feb 2008) | 4 lines

Perform dialing asynchronously when using the originate CLI command so the CLI does not appear to block.
(closes issue ASTERISK-11378)
Reported by: bbhoss

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=102379