[Home]

Summary:ASTERISK-04945: The "ringing" device state is not displayed in show queue
Reporter:Cyril VELTER (velter)Labels:
Date Opened:2005-08-31 13:45:57Date Closed:2008-01-15 15:46:30.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:While a device is in the state AST_DEVICE_RINGING the status in show queue is reported as "unknown status 6". Adding the status name in status2str would be nice.
Comments:By: Michael Jerris (mikej) 2005-08-31 13:51:22

Can you submit a disclaimed patch for this?

By: Kevin P. Fleming (kpfleming) 2005-08-31 14:42:15

Don't bother, it's simple to add, I'll take care of it.

By: Kevin P. Fleming (kpfleming) 2005-08-31 16:15:56

Fixed in CVS HEAD.

By: Cyril VELTER (velter) 2005-09-01 07:31:31

there is a small glitch in your fix, nothing is displayed any more in the maxcall field and memeber status. This is cause by the use of the max pointer instead of max_buf. Using max_buf on lines 3209 and 3228 fix the issue.

By: Kevin P. Fleming (kpfleming) 2005-09-01 18:31:44

Fixed, sorry for the thinko...

By: Digium Subversion (svnbot) 2008-01-15 15:46:30.000-0600

Repository: asterisk
Revision: 6473

U   trunk/apps/app_queue.c

------------------------------------------------------------------------
r6473 | kpfleming | 2008-01-15 15:46:29 -0600 (Tue, 15 Jan 2008) | 3 lines

don't duplicate devicestate-to-string function (issue ASTERISK-4945)
use ast_build_string() for building output string

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

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