[Asterisk-Dev] Manager XML
Olle E. Johansson
oej at edvina.net
Tue Mar 1 14:44:34 MST 2005
Kevin P. Fleming wrote:
> Olle E. Johansson wrote:
>
>> * New CLI commands: sip xshow peer, iax2 xshow peer
>> * New manager commands: SIPpeers, SIPshowpeer, IAXshowpeer
>> * Improved manager command: IAXpeers
>
>
> Definitely a step in the right direction.
>
> However, you are going to need to add a function to take a string value
> and XML-escape it, so that it doesn't contain characters that must be
> entities in XML. These include:
>
> " - "
> ' - '
> < - <
> > - >
>
> non-printing characters - &#(hex value);
>
> There may be others.
Right, perfect. Thank you for that input.
/O
More information about the asterisk-dev
mailing list