[OpenSIPS-Users] presence_xml error parsing xml body message
Anca Vamanu
anca.vamanu at gmail.com
Fri Jul 15 11:32:40 CEST 2011
Hi Steven,
You are right :) . I saw this some time ago and I though I fixed this in
upstream also, seems I haven't. I have committed a fix now on svn. You can
update the presence_xml module from svn or just take the patch -
http://opensips.svn.sourceforge.net/viewvc/opensips?view=revision&revision=8184
.
Regards,
Anca Vamanu
On Fri, Jul 15, 2011 at 11:32 AM, Steven Lam, KeenSystems B.V. <
s.lam at keensystems.eu> wrote:
> 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.
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110715/65ac1858/attachment.htm>
More information about the Users
mailing list