[Home]

Summary:ASTERISK-03937: empty name in agents.conf causes rubbish in 'show agents'
Reporter:gdhgdh (gdhgdh)Labels:
Date Opened:2005-04-14 07:53:17Date Closed:2008-01-15 15:31:44.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) agentname.rev0.txt
Description:as it says, if I have this in agents.conf:
agent => 1600,,

then do a 'show agents' - I will see something like this

1600         (Q@.P?@?Q@
                      ?IzQ@?) available at '1010@internal' (musiconhold is 'default')

The contents of the brackets will change each time... putting a real name in agents.conf causes all to be well :)
Comments:By: Russell Bryant (russell) 2005-04-14 11:58:44

This issue also affects CVS HEAD.

I have uploaded a patch to fix this on CVS HEAD.  Once a patch is accepted into head for this issue, I will fix it in 1.0

disclaimer is on file

By: Mark Spencer (markster) 2005-04-15 00:59:40

Fixed in CVS head, thanks!

By: Russell Bryant (russell) 2005-04-15 02:07:23

fixed (a bit differently due to API differences) in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:31:41.000-0600

Repository: asterisk
Revision: 5470

U   trunk/channels/chan_agent.c

------------------------------------------------------------------------
r5470 | markster | 2008-01-15 15:31:40 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix "show agents" when name is not present (bug ASTERISK-3937)

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

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

By: Digium Subversion (svnbot) 2008-01-15 15:31:44.000-0600

Repository: asterisk
Revision: 5474

U   branches/v1-0/channels/chan_agent.c

------------------------------------------------------------------------
r5474 | russell | 2008-01-15 15:31:44 -0600 (Tue, 15 Jan 2008) | 2 lines

fix bogus output from 'show agents' with no name (bug ASTERISK-3937)

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

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