[asterisk-bugs] [Asterisk 0012851]: accessing the console using the "-rx" option causes a significant delay

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jun 13 10:41:50 CDT 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=12851 
====================================================================== 
Reported By:                johnlange
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12851
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.20 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 won't fix
Fixed in Version:           
====================================================================== 
Date Submitted:             06-13-2008 09:46 CDT
Last Modified:              06-13-2008 10:41 CDT
====================================================================== 
Summary:                    accessing the console using the "-rx" option causes
a significant delay
Description: 
Using the command line to access the console such as in the command
'asterisk -rx "sip show peers"' now results in a significant (about 1/2
second) delay when exiting the console.

This causes serious delays for scripts that need to access the asterisk
command line in a time sensitive manor (such as before call setup).

This appears to have started only since 1.4.20 and newer though I didn't
test 1.4.19, it did not happen in 1.4.18.
====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 06-13-08 10:41  
---------------------------------------------------------------------- 
The Asterisk remote console is not intended for use with scripts.  We
recommend that you convert your automated scripts into using the Asterisk
Manager Interface, as it is explicitly designed for that purpose.  Please
note that there is a sample script called astcli in contrib/scripts that
performs this same purpose, and could be used in an automated script as a
replacement for 'asterisk -rx'. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-13-08 10:41  Corydon76      Note Added: 0088672                          
06-13-08 10:41  Corydon76      Status                   new => closed       
06-13-08 10:41  Corydon76      Resolution               open => won't fix   
======================================================================




More information about the asterisk-bugs mailing list