[Asterisk-Dev] WAS: click-to-call cleint NOW: XML Manager I/F str
aw poll
Shidan
shidan at gmail.com
Wed Jan 18 09:59:10 MST 2006
> How hard would it
> be to turn the Manager into an RSS feed if XML were an option? (stupid
> example but you get my idea)
How hard is it now for a particular task, about 20 lines of code, in
less than an hour. Writing any sort of xml proxy to the manager
interface is really trivial for any particular task that is. Not in
general as its not structured data. So understand that the reason the
manager interface isn't nice to work with isn't that the messages are
a key:value pair, actually this makes it even easier than using XML.
Its not as nice to work with because its not structured uniformly.
If anything the manager interface doesnt need more limitations like
making it specifically xml, what would be cool tho is having it
replaced by a very simple socket interface with a really simple
protocol (even simpler than it is now, possibly binary) with a uniform
structure so that external processes can use it with no issues, that
way you can slap on a soap interface, an xml-rpc interface, json(which
is essentially key:value pairs as a javascript dictionary), DBUS, blah
blah, with no issues at all.
XML is good but lets not get all hyped up and lets use it correctly.
More information about the asterisk-dev
mailing list