Hi Anca,

WOW, what a fast reply.
I checkt svn versio 8186 and indeed the problem is solved now.

Thank you!

Steven.

________________________________

        From: [email protected] 
[mailto:[email protected]] On Behalf Of Anca Vamanu
        Sent: vrijdag 15 juli 2011 11:33
        To: OpenSIPS users mailling list
        Subject: Re: [OpenSIPS-Users] presence_xml error parsing xml body 
message
        
        
        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. 
<[email protected]> 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:[email protected] 
<mailto:pres%[email protected]> " 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:[email protected] 
<mailto:pres%[email protected]> " 
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
                [email protected]
                http://lists.opensips.org/cgi-bin/mailman/listinfo/users
                
                



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to