[OpenSIPS-Users] presence_xml error parsing xml body message

Steven Lam, KeenSystems B.V. s.lam at keensystems.eu
Fri Jul 15 10:32:45 CEST 2011


Hi list,

I'm new to OpenSIPS, so don't shoot me when i'm wrong ;-)

I think i found a problem in presence_xml on both 1.6.4-2-notls and 1.7.0-beta-notls.

When a PUBLISH message with "Expires: 0" created by pua_userloc is received, presence_xml generates the following error:

Jul 15 10:07:46 [4971] DBG:presence_xml:event_agg_nbody: [user]=102  [domain]= 192.168.254.161
Entity: line 2: parser error : Attribute xmlns redefined
idf:cipid" entity="pres:102 at 192.168.254.161" xmlns="urn:ietf:params:xml:ns:pidf"
                                                                               ^
Jul 15 10:07:46 [4971] DBG:presence_xml:agregate_xmls: i = [0] - body: <?xml version="1.0"?>
<presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" xmlns:c="urn:ietf:params:xml:ns:pidf:cipid" entity="pres:102 at 192.168.254.161" xmlns="urn:ietf:params:xml:ns:pidf"><tuple xmlns="urn:ietf:params:xml:ns:pidf" id="0x7fff92c0d560"><status xmlns="urn:ietf:params:xml:ns:pidf"><basic>closed</basic></status></tuple></presence>

Jul 15 10:07:46 [4971] ERROR:presence_xml:agregate_xmls: while parsing xml body message
Jul 15 10:07:46 [4971] ERROR:presence_xml:event_agg_nbody: while aggregating body
Jul 15 10:07:46 [4971] ERROR:presence:get_p_notify_body: Failed to aggregate notify body

I also included a attachment with the complete CLI debug output.

Hope someone can give me some advice on this.

Steven.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: presence_xml-error-log.txt
URL: <http://lists.opensips.org/pipermail/users/attachments/20110715/d396de01/attachment-0001.txt>


More information about the Users mailing list