Summary: | ASTERISK-00563: [patch] Manager Interface Protocol | ||
Reporter: | Anthony Minessale (anthm) | Labels: | |
Date Opened: | 2003-11-22 09:35:11.000-0600 | Date Closed: | 2011-06-07 14:05:21 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) AstMan_pm.txt ( 1) AstMan.pm | |
Description: | The manager interface is very useful and needs to be altered to have a more robust protocol. Responses need to be formated with formal headers includeing Content-Length The pipe should not be passed to the registering function rather the data should be fed to a preprocessor that turns your reply into a hearder / body pair. Multipart responses can be handled by sending a multipart start packet then severl mid section packets and finally an end_multipart packets. Events should not be delivered unless asked for that way the other end can prepare for it and sit back and listen. ****** ADDITIONAL INFORMATION ****** Attached is a perl mod I made for the current manager interface AstMan.pm to try and solve some bugs in Asterisk::Manager. I'd like to put this mod out of business with the above reccommendations. | ||
Comments: | By: mlh (mlh) 2004-03-26 17:10:02.000-0600 Disclamer? By: Anthony Minessale (anthm) 2004-03-28 20:08:43.000-0600 the patch is already in cvs now to turn events on and off there is a newer version of the perl mod too. By: twisted (twisted) 2004-04-29 09:24:35 Is this still relevant? With the post above I see that some of this has already been taken care of in cvs. By: heison (heison) 2004-05-05 17:12:30 closing bug due to lack of activities. reopen if needed. |