[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] AMI 2.0 ?
From:       Lee Jenkins <lee () datatrakpos ! com>
Date:       2007-10-26 2:24:14
Message-ID: 47214FCE.5020108 () datatrakpos ! com
[Download RAW message or body]

Philipp Kempgen wrote:
> Lee Jenkins wrote:
> 
>> What I would like to see is some more standardization with the AMI.  XML would 
>> be wonderful to see in replace of the current output which seems more designed 
>> for character display.
> 
> XML parsing needs more processing power if done properly,
> so why do that?
> 
> If you need XML have a look at the AJAM which can send its output
> in JSON format. Convert that to XML if you absolutely have to.
> 
> What I'd like to see is the ability to subscribe to specific
> events on the AMI and to mute others (like NewExten).
> 

OK, but if not xml then certainly something a bit more parser friendly should be 
in order...

Personally, I don't see that much more overhead with XML assuming liberal use of 
attributes on elements.  Then again, I don't mind a little bloat for small 
requests like AMI in favor of XML.  XML is superb for representing complex 
structures that are difficult to represent with name/value pair packets.

I too, would like to be able to selectively subscribe to AMI events.  Doing 
this, we'd still have bandwidth savings even using XML. ;)

--
Warm Regards,

Lee




_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic