Hi Vladimir, This is strange. Can you please enable debug logging ( set the debug level to 7) and send me(privately) the part of the log starting with when the Subscribe that receives a Notify with empty body is received.
Thanks and regards, Anca Romanov Vladimir wrote: > > Hi all! > > From time to time we have strange problem with presence. Some user > publish status and another user or same user get NOTIFY with empty > body. Here you can see log. > > 1) User 3000000311 subscribed to 3000000300. (not in log) > > 2) User 3000000300 publish “closed” status (not in log) > > 3) User 3000000300 unregister/register (not in log) > > 4) User 3000000300 publish status > > 5) User 3000000311 get valid NOTIFY > > 6) User 3000000300 subscribe to 3000000300 > > 7) User 3000000300 get EMPTY NOTIFY. > > We see this problem in 1.3.2, 1.4.4 and now in 1.5. After service > restart problem gone. > > U 2009/03/31 20:17:53.670677 10.2.41.227:5060 -> 10.2.170.218:5060 > > PUBLISH sip:[email protected] SIP/2.0. > > Via: SIP/2.0/UDP > 10.2.41.227:5060;rport;branch=z9hG4bKPjLaJO1Wh79YgI70M6DTitndmV63rkQSVd. > > Max-Forwards: 70. > > From: > <sip:[email protected]>;tag=nLcp2myfWOJGOxaeaJYPAupvQymWJVSF. > > To: <sip:[email protected]>. > > Call-ID: 8MO4ZrusKdRT1Y1QsoFzXb0Htk9jBWfk. > > CSeq: 26315 PUBLISH. > > Event: presence. > > SIP-If-Match: a.1238498784.12060.238.4. > > Expires: 300. > > User-Agent: Scartel SIP Framework. > > Content-Type: application/pidf+xml. > > Content-Length: 243. > > . > > <?xml version="1.0" encoding="UTF-8"?> > > <presence entity="sip:[email protected]" > xmlns="urn:ietf:params:xml:ns:pidf"> > > <tuple id="cVd0GRUvYAUNy8TwGZLQJxFLZCOzCv9m"> > > <status> > > <basic>open</basic> > > </status> > > </tuple> > > </presence> > > # > > U 2009/03/31 20:17:53.672017 10.2.170.218:5060 -> 10.2.41.227:5060 > > SIP/2.0 200 OK. > > Via: SIP/2.0/UDP > 10.2.41.227:5060;rport=5060;branch=z9hG4bKPjLaJO1Wh79YgI70M6DTitndmV63rkQSVd. > > From: > <sip:[email protected]>;tag=nLcp2myfWOJGOxaeaJYPAupvQymWJVSF. > > To: > <sip:[email protected]>;tag=396d496be660f92cee9282162d986068-73b4. > > Call-ID: 8MO4ZrusKdRT1Y1QsoFzXb0Htk9jBWfk. > > CSeq: 26315 PUBLISH. > > Expires: 300. > > SIP-ETag: a.1238498784.12064.246.5. > > Server: OpenSIPS (1.5.0-notls (x86_64/linux)). > > Content-Length: 0. > > . > > # > > U 2009/03/31 20:17:53.672185 10.2.170.218:5060 -> 10.2.42.139:5060 > > NOTIFY sip:[email protected]:5060 SIP/2.0. > > Via: SIP/2.0/UDP 10.2.170.218;branch=z9hG4bKba2d.af11f987.0. > > To: > <sip:[email protected]>;tag=nGKFnGW2tPQmtpG8pL32KU5kkzVsyu49. > > From: > <sip:[email protected]>;tag=396d496be660f92cee9282162d986068-36d8. > > CSeq: 4 NOTIFY. > > Call-ID: TejtOZr.-cCCTnp9ZWS5.kXY0fpI9YMX. > > Content-Length: 243. > > User-Agent: OpenSIPS (1.5.0-notls (x86_64/linux)). > > Max-Forwards: 70. > > Event: presence. > > Contact: <sip:10.2.170.218:5060>. > > Subscription-State: active;expires=263. > > Content-Type: application/pidf+xml. > > . > > <?xml version="1.0" encoding="UTF-8"?> > > <presence entity="sip:[email protected]" > xmlns="urn:ietf:params:xml:ns:pidf"> > > <tuple id="cVd0GRUvYAUNy8TwGZLQJxFLZCOzCv9m"> > > <status> > > <basic>open</basic> > > </status> > > </tuple> > > </presence> > > # > > U 2009/03/31 20:17:53.745153 10.2.42.139:5060 -> 10.2.170.218:5060 > > SIP/2.0 200 OK. > > Via: SIP/2.0/UDP > 10.2.170.218;received=10.2.170.218;branch=z9hG4bKba2d.af11f987.0. > > Call-ID: TejtOZr.-cCCTnp9ZWS5.kXY0fpI9YMX. > > From: > <sip:[email protected]>;tag=396d496be660f92cee9282162d986068-36d8. > > To: > <sip:[email protected]>;tag=nGKFnGW2tPQmtpG8pL32KU5kkzVsyu49. > > CSeq: 4 NOTIFY. > > Contact: <sip:[email protected]:5060>. > > Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, > REFER, OPTIONS. > > Supported: replaces, 100rel, norefersub, P-SSO-Token. > > Content-Length: 0. > > . > > # > > U 2009/03/31 20:17:53.880098 10.2.41.227:5060 -> 10.2.170.218:5060 > > SUBSCRIBE sip:[email protected] SIP/2.0. > > Via: SIP/2.0/UDP > 10.2.41.227:5060;rport;branch=z9hG4bKPjVF8rIAAPCMhIVUoVtpmLFFGuHahioPHJ. > > Max-Forwards: 70. > > From: > sip:[email protected];tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2. > > To: sip:[email protected]. > > Contact: <sip:[email protected]:5060>. > > Call-ID: vbjkFc0yWtQvdVJjeh1ikIYlcjPJBPLv. > > CSeq: 10353 SUBSCRIBE. > > Event: presence. > > Expires: 600. > > Accept: application/pidf+xml, application/xpidf+xml. > > Allow-Events: presence, refer. > > User-Agent: Scartel SIP Framework. > > Content-Length: 0. > > . > > # > > U 2009/03/31 20:17:53.881794 10.2.170.218:5060 -> 10.2.41.227:5060 > > SIP/2.0 200 OK. > > Via: SIP/2.0/UDP > 10.2.41.227:5060;rport=5060;branch=z9hG4bKPjVF8rIAAPCMhIVUoVtpmLFFGuHahioPHJ. > > From: > sip:[email protected];tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2. > > To: > sip:[email protected];tag=396d496be660f92cee9282162d986068-1cbc. > > Call-ID: vbjkFc0yWtQvdVJjeh1ikIYlcjPJBPLv. > > CSeq: 10353 SUBSCRIBE. > > Expires: 600. > > Contact: <sip:10.2.170.218:5060>. > > Server: OpenSIPS (1.5.0-notls (x86_64/linux)). > > Content-Length: 0. > > . > > # > > U 2009/03/31 20:17:53.882053 10.2.170.218:5060 -> 10.2.41.227:5060 > > NOTIFY sip:[email protected]:5060 SIP/2.0. > > Via: SIP/2.0/UDP 10.2.170.218;branch=z9hG4bKa987.ede53722.0. > > To: > <sip:[email protected]>;tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2. > > From: > <sip:[email protected]>;tag=396d496be660f92cee9282162d986068-1cbc. > > CSeq: 1 NOTIFY. > > Call-ID: vbjkFc0yWtQvdVJjeh1ikIYlcjPJBPLv. > > Content-Length: 0. > > User-Agent: OpenSIPS (1.5.0-notls (x86_64/linux)). > > Max-Forwards: 70. > > Event: presence. > > Contact: <sip:10.2.170.218:5060>. > > Subscription-State: active;expires=600. > > . > > # > > U 2009/03/31 20:17:54.285596 10.2.41.227:5060 -> 10.2.170.218:5060 > > SIP/2.0 200 OK. > > Via: SIP/2.0/UDP > 10.2.170.218;received=10.2.170.218;branch=z9hG4bKa987.ede53722.0. > > Call-ID: vbjkFc0yWtQvdVJjeh1ikIYlcjPJBPLv. > > From: > <sip:[email protected]>;tag=396d496be660f92cee9282162d986068-1cbc. > > To: > <sip:[email protected]>;tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2. > > CSeq: 1 NOTIFY. > > Contact: <sip:[email protected]:5060>. > > Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, > REFER, OPTIONS. > > Supported: replaces, 100rel, norefersub, P-SSO-Token. > > Content-Length: 0. > > . > > ----------------- > > Vladimir Romanov > > Scartel Star Lab > > CTO > > +7 (960) 239-0853 > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
