[Home]

Summary:ASTERISK-05302: Misc bugs in manager api
Reporter:Chris Ochs (snacktime)Labels:
Date Opened:2005-10-17 01:39:02Date Closed:2008-01-15 15:51:30.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:
1.  In the response to SIPshowpeer,  Callgroup and Pickupgroup end in CR instead of CR LF.  It looks like this is because of the way Callgroup and Pickupgroup are printed using print_group.  This starts in chan_sip.c on line 7867.

2.  The IAXpeers response has no ActionID nor does it use any formatting that can
be easily parsed or recognized (no key/value pairs in the response).  Maybe this can be changed so it works like SIPpeers which returns an event response for each peer.

3.  The Queues response is the same as IAXpeers.  Not easy to parse if you are writing an interface to the AMI.

On a general note, it might be nice if actions which generate a series of events could have the event tagged with the ActionID.  Some do this but a lot don't.  Or maybe send an initial response of 'Blah blah follows' like some actions do, and return the UniqueID in that response that the remaining corresponding events will be tagged with.

Comments:By: Mark Spencer (markster) 2005-10-17 18:32:45

Should be fixed in CVS head.

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

Repository: asterisk
Revision: 6811

U   trunk/apps/app_queue.c
U   trunk/channels/chan_iax2.c
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r6811 | markster | 2008-01-15 15:51:30 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix queue, iax and sip formatting issues (bug ASTERISK-5302)

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

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