-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
dunno y, but now it works .... regards helmut Helmut Kuper schrieb: > > The responsible code for this error message is in publish.c: > > /* process the body */ > if ( get_content_length(msg) == 0 ) > { > body.s = NULL; > if (etag_gen) > { > LM_ERR("No E-Tag and no body found\n"); > reply_code= 400; > reply_str= pu_400b_rpl; > goto error; > } > } > > > So this means that PUBLISH message's bidy is empty, but the correspondig > message looks like this: > > PUBLISH sip:[EMAIL PROTECTED] SIP/2.0 > Via: SIP/2.0/UDP > 212.6.95.113:52177;branch=z9hG4bK-d87543-a96123757a26245f-1--d87543-;rport > Max-Forwards: 70 > Contact: <sip:[EMAIL PROTECTED]:52177> > To: "v111"<sip:[EMAIL PROTECTED]> > From: "v111"<sip:[EMAIL PROTECTED]>;tag=89526440 > Call-ID: OTZhM2Y5ZjI5Yjk4ZDRlYjJjYzQ2ZmFlMmYwYjg3NWI. > CSeq: 2 PUBLISH > Expires: 3600 > Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, > SUBSCRIBE, INFO > Content-Type: application/pidf+xml > User-Agent: X-Lite release 1011s stamp 41150 > Event: presence > Content-Length: 487 > > <?xml version='1.0' encoding='UTF-8'?><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='sip:[EMAIL PROTECTED]'><tuple > id='tc556547e'><status><basic>open</basic></status><rpid:user-input>idle</rpid:user-input></tuple><dm:person > id='pe3123118'><rpid:activities><rpid:unknown/></rpid:activities><dm:note>Idle</dm:note></dm:person></presence> > _______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHVAa24tZeNddg3dwRAiWQAJ9JxNWswXxOm+xaoMgUxqA+49QQdQCfTqUD fe5HueAUWBtgIXVRfzn22m8= =eP31 -----END PGP SIGNATURE----- _______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users