Presence problem

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Presence problem

Romanov Vladimir

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:[hidden email] SIP/2.0.

Via: SIP/2.0/UDP 10.2.41.227:5060;rport;branch=z9hG4bKPjLaJO1Wh79YgI70M6DTitndmV63rkQSVd.

Max-Forwards: 70.

From: <sip:[hidden email]>;tag=nLcp2myfWOJGOxaeaJYPAupvQymWJVSF.

To: <sip:[hidden email]>.

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:[hidden email]" 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:[hidden email]>;tag=nLcp2myfWOJGOxaeaJYPAupvQymWJVSF.

To: <sip:[hidden email]>;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:3000000311@10.2.42.139:5060 SIP/2.0.

Via: SIP/2.0/UDP 10.2.170.218;branch=z9hG4bKba2d.af11f987.0.

To: <sip:[hidden email]>;tag=nGKFnGW2tPQmtpG8pL32KU5kkzVsyu49.

From: <sip:[hidden email]>;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:[hidden email]" 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:[hidden email]>;tag=396d496be660f92cee9282162d986068-36d8.

To: <sip:[hidden email]>;tag=nGKFnGW2tPQmtpG8pL32KU5kkzVsyu49.

CSeq: 4 NOTIFY.

Contact: <sip:3000000311@10.2.42.139: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:[hidden email] SIP/2.0.

Via: SIP/2.0/UDP 10.2.41.227:5060;rport;branch=z9hG4bKPjVF8rIAAPCMhIVUoVtpmLFFGuHahioPHJ.

Max-Forwards: 70.

From: sip:[hidden email];tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.

To: sip:[hidden email].

Contact: <sip:3000000300@10.2.41.227: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:[hidden email];tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.

To: sip:[hidden email];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:3000000300@10.2.41.227:5060 SIP/2.0.

Via: SIP/2.0/UDP 10.2.170.218;branch=z9hG4bKa987.ede53722.0.

To: <sip:[hidden email]>;tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.

From: <sip:[hidden email]>;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:[hidden email]>;tag=396d496be660f92cee9282162d986068-1cbc.

To: <sip:[hidden email]>;tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.

CSeq: 1 NOTIFY.

Contact: <sip:3000000300@10.2.41.227: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
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Presence problem

Anca Vamanu-2
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:[hidden email] SIP/2.0.
>
> Via: SIP/2.0/UDP
> 10.2.41.227:5060;rport;branch=z9hG4bKPjLaJO1Wh79YgI70M6DTitndmV63rkQSVd.
>
> Max-Forwards: 70.
>
> From:
> <sip:[hidden email]>;tag=nLcp2myfWOJGOxaeaJYPAupvQymWJVSF.
>
> To: <sip:[hidden email]>.
>
> 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:[hidden email]"
> 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:[hidden email]>;tag=nLcp2myfWOJGOxaeaJYPAupvQymWJVSF.
>
> To:
> <sip:[hidden email]>;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:3000000311@10.2.42.139:5060 SIP/2.0.
>
> Via: SIP/2.0/UDP 10.2.170.218;branch=z9hG4bKba2d.af11f987.0.
>
> To:
> <sip:[hidden email]>;tag=nGKFnGW2tPQmtpG8pL32KU5kkzVsyu49.
>
> From:
> <sip:[hidden email]>;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:[hidden email]"
> 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:[hidden email]>;tag=396d496be660f92cee9282162d986068-36d8.
>
> To:
> <sip:[hidden email]>;tag=nGKFnGW2tPQmtpG8pL32KU5kkzVsyu49.
>
> CSeq: 4 NOTIFY.
>
> Contact: <sip:3000000311@10.2.42.139: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:[hidden email] SIP/2.0.
>
> Via: SIP/2.0/UDP
> 10.2.41.227:5060;rport;branch=z9hG4bKPjVF8rIAAPCMhIVUoVtpmLFFGuHahioPHJ.
>
> Max-Forwards: 70.
>
> From:
> sip:[hidden email];tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.
>
> To: sip:[hidden email].
>
> Contact: <sip:3000000300@10.2.41.227: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:[hidden email];tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.
>
> To:
> sip:[hidden email];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:3000000300@10.2.41.227:5060 SIP/2.0.
>
> Via: SIP/2.0/UDP 10.2.170.218;branch=z9hG4bKa987.ede53722.0.
>
> To:
> <sip:[hidden email]>;tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.
>
> From:
> <sip:[hidden email]>;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:[hidden email]>;tag=396d496be660f92cee9282162d986068-1cbc.
>
> To:
> <sip:[hidden email]>;tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.
>
> CSeq: 1 NOTIFY.
>
> Contact: <sip:3000000300@10.2.41.227: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
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Presence problem

Romanov Vladimir
Hi!
I attach SIP trace from server, opensips config file and log with debug level 7. I can send full packed logs.
In this log
1) 3000000311 PUBLISH open status
2) 3000000300 get valid NOTIFY (3000000300 subscribed to 3000000311 before)
3) 3000000311 subscribe to 3000000300 and get valid NOTIFY
4) 3000000311 subscribe to 3000000311 (itself) and get empty NOTIFY

-----------------
Vladimir Romanov
Scartel Star Lab
CTO
+7 (960) 239-0853


-----Original Message-----
From: Anca Vamanu [mailto:[hidden email]]
Sent: Wednesday, April 01, 2009 4:52 PM
To: Romanov Vladimir
Cc: [hidden email]
Subject: Re: [OpenSIPS-Users] Presence problem

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:[hidden email] SIP/2.0.
>
> Via: SIP/2.0/UDP
> 10.2.41.227:5060;rport;branch=z9hG4bKPjLaJO1Wh79YgI70M6DTitndmV63rkQSVd.
>
> Max-Forwards: 70.
>
> From:
> <sip:[hidden email]>;tag=nLcp2myfWOJGOxaeaJYPAupvQymWJVSF.
>
> To: <sip:[hidden email]>.
>
> 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:[hidden email]"
> 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:[hidden email]>;tag=nLcp2myfWOJGOxaeaJYPAupvQymWJVSF.
>
> To:
> <sip:[hidden email]>;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:3000000311@10.2.42.139:5060 SIP/2.0.
>
> Via: SIP/2.0/UDP 10.2.170.218;branch=z9hG4bKba2d.af11f987.0.
>
> To:
> <sip:[hidden email]>;tag=nGKFnGW2tPQmtpG8pL32KU5kkzVsyu49.
>
> From:
> <sip:[hidden email]>;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:[hidden email]"
> 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:[hidden email]>;tag=396d496be660f92cee9282162d986068-36d8.
>
> To:
> <sip:[hidden email]>;tag=nGKFnGW2tPQmtpG8pL32KU5kkzVsyu49.
>
> CSeq: 4 NOTIFY.
>
> Contact: <sip:3000000311@10.2.42.139: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:[hidden email] SIP/2.0.
>
> Via: SIP/2.0/UDP
> 10.2.41.227:5060;rport;branch=z9hG4bKPjVF8rIAAPCMhIVUoVtpmLFFGuHahioPHJ.
>
> Max-Forwards: 70.
>
> From:
> sip:[hidden email];tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.
>
> To: sip:[hidden email].
>
> Contact: <sip:3000000300@10.2.41.227: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:[hidden email];tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.
>
> To:
> sip:[hidden email];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:3000000300@10.2.41.227:5060 SIP/2.0.
>
> Via: SIP/2.0/UDP 10.2.170.218;branch=z9hG4bKa987.ede53722.0.
>
> To:
> <sip:[hidden email]>;tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.
>
> From:
> <sip:[hidden email]>;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:[hidden email]>;tag=396d496be660f92cee9282162d986068-1cbc.
>
> To:
> <sip:[hidden email]>;tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.
>
> CSeq: 1 NOTIFY.
>
> Contact: <sip:3000000300@10.2.41.227: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
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  

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

error.sip-log (10K) Download Attachment
error.log (88K) Download Attachment
opensips.cfg (13K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Presence problem

Romanov Vladimir
In reply to this post by Anca Vamanu-2
Hi!
I attach SIP trace from server, opensips config file and log with debug level 7. I can send full packed logs.
In this log
1) 3000000311 PUBLISH open status
2) 3000000300 get valid NOTIFY (3000000300 subscribed to 3000000311 before)
3) 3000000311 subscribe to 3000000300 and get valid NOTIFY
4) 3000000311 subscribe to 3000000311 (itself) and get empty NOTIFY

This is second try to send message. Now I send packed logs.

-----------------
Vladimir Romanov
Scartel Star Lab
CTO
+7 (960) 239-0853


-----Original Message-----
From: Anca Vamanu [mailto:[hidden email]]
Sent: Wednesday, April 01, 2009 4:52 PM
To: Romanov Vladimir
Cc: [hidden email]
Subject: Re: [OpenSIPS-Users] Presence problem

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:[hidden email] SIP/2.0.
>
> Via: SIP/2.0/UDP
> 10.2.41.227:5060;rport;branch=z9hG4bKPjLaJO1Wh79YgI70M6DTitndmV63rkQSVd.
>
> Max-Forwards: 70.
>
> From:
> <sip:[hidden email]>;tag=nLcp2myfWOJGOxaeaJYPAupvQymWJVSF.
>
> To: <sip:[hidden email]>.
>
> 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:[hidden email]"
> 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:[hidden email]>;tag=nLcp2myfWOJGOxaeaJYPAupvQymWJVSF.
>
> To:
> <sip:[hidden email]>;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:3000000311@10.2.42.139:5060 SIP/2.0.
>
> Via: SIP/2.0/UDP 10.2.170.218;branch=z9hG4bKba2d.af11f987.0.
>
> To:
> <sip:[hidden email]>;tag=nGKFnGW2tPQmtpG8pL32KU5kkzVsyu49.
>
> From:
> <sip:[hidden email]>;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:[hidden email]"
> 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:[hidden email]>;tag=396d496be660f92cee9282162d986068-36d8.
>
> To:
> <sip:[hidden email]>;tag=nGKFnGW2tPQmtpG8pL32KU5kkzVsyu49.
>
> CSeq: 4 NOTIFY.
>
> Contact: <sip:3000000311@10.2.42.139: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:[hidden email] SIP/2.0.
>
> Via: SIP/2.0/UDP
> 10.2.41.227:5060;rport;branch=z9hG4bKPjVF8rIAAPCMhIVUoVtpmLFFGuHahioPHJ.
>
> Max-Forwards: 70.
>
> From:
> sip:[hidden email];tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.
>
> To: sip:[hidden email].
>
> Contact: <sip:3000000300@10.2.41.227: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:[hidden email];tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.
>
> To:
> sip:[hidden email];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:3000000300@10.2.41.227:5060 SIP/2.0.
>
> Via: SIP/2.0/UDP 10.2.170.218;branch=z9hG4bKa987.ede53722.0.
>
> To:
> <sip:[hidden email]>;tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.
>
> From:
> <sip:[hidden email]>;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:[hidden email]>;tag=396d496be660f92cee9282162d986068-1cbc.
>
> To:
> <sip:[hidden email]>;tag=KRiTvvVB-nTFGqHzxw5A4Q5T7Idi6uf2.
>
> CSeq: 1 NOTIFY.
>
> Contact: <sip:3000000300@10.2.41.227: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
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>  

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

logs.zip (16K) Download Attachment