Summary:ASTERISK-07858: Sip Peers and IAX Peers via mxml produce invalid xml
Reporter:Rene Mendoza (renemendoza)Labels:
Date Opened:2006-10-02 16:13:18Date Closed:2006-10-30 14:52:13.000-0600
Versions:Frequency of
Environment:Attachments:( 0) PATCH
Description:When using the http AMI  Sip Peers will produce invalid XML since attribute names should not have spaces in them so
chan_sip.c line 9333 reads:
                       "Video Support: %s\r\n"
but should read
                       "VideoSupport: %s\r\n"

Iax Peers produces entirely garbled output. i havent tracked that one Iax Peers over rawman (text) works fine.


change is very small to warrant a patch
Comments:By: Rene Mendoza (renemendoza) 2006-10-03 13:15:44

the problem also happens in trunk

By: Joshua C. Colp (jcolp) 2006-10-03 13:38:05

Put into 1.4 as of revision 44284 and trunk as of revision 44285. Thanks!

By: Michael Jerris (mikej) 2006-10-30 14:11:07.000-0600

reopened at op request

By: Rene Mendoza (renemendoza) 2006-10-30 14:14:53.000-0600

manager IAX peers output is CLI formatted where SIP peers output has no special format which makes it easier to read using scripting tools...  also the xml generated by cli formatted text is hideous and difficult to use...  this is a patch for SVN.. my first real patch, it makes IAX peers output similar to the SIP peers output.
It compiles with current trunk, hopefully it wont break anything nor it will unleash the forces of evil or bring the world to an end

By: Serge Vecher (serge-v) 2006-10-30 14:52:00.000-0600

renemendoza: I think this feature patch qualifies for a bug new report: please open a new bug report and attach your patch there. Thanks!